source: remote_control/puzzlebox_brainstorms_configuration.ini @ 84

Last change on this file since 84 was 84, checked in by sc, 11 years ago

remote_control/puzzlebox_brainstorms_network_client.py:

  • power transmission settings added

remote_control/puzzlebox_brainstorms_remote_control.py:

  • custom power settings added

remote_control/puzzlebox_brainstorms_client_interface.py:

  • power transmission settings added
  • udpateSpeed method tracks and calculates power settings
  • power transmission settings added

remote_control/puzzlebox_brainstorms_configuration.ini:

  • DEFAULT_NXT_POWER_LEVEL added and set to 80

remote_control/interface/qt4_form.py:

  • font sizes tweaked

remote_control/puzzlebox_brainstorms_configuration.py:

  • DEFAULT_NXT_POWER_LEVEL added and set to 80

remote_control/puzzlebox_brainstorms_network_server.py

  • power transmission settings added
File size: 1.9 KB
Line 
1#####################################################################
2# Puzzlebox Brainstorms Configuration
3#####################################################################
4
5NXT_BLUETOOTH_DEVICE = 'COM1'
6
7BRAINSTORMS_DISCRETE_CONTROL_COMMANDS = False
8
9#####################################################################
10# Network addresses
11#####################################################################
12
13BRAINSTORMS_SERVER_INTERFACE = '' # listen on all network interfaces
14BRAINSTORMS_SERVER_HOST = '127.0.0.1' # localhost
15#BRAINSTORMS_SERVER_HOST = '172.16.1.1'
16BRAINSTORMS_SERVER_PORT = 8194
17
18BRAINSTORMS_SERVER_INTERFACE = '' # listen on all network interfaces
19THINKGEAR_SERVER_HOST = '127.0.0.1'
20THINKGEAR_SERVER_PORT = 13854
21
22
23#####################################################################
24# LEGO Mindstorms NXT robot configuration
25#####################################################################
26
27DEFAULT_NXT_POWER_LEVEL = 80
28
29NXT_MOTORS_MOUNTED_BACKWARDS = True
30NXT_MOTOR_PORT_RIGHT = 'a'
31NXT_MOTOR_PORT_LEFT = 'b'
32
33
34#####################################################################
35# ThinkGear Connect configuration
36#####################################################################
37
38THINKGEAR_AUTHORIZATION_ENABLED = False
39
40THINKGEAR_AUTHORIZATION_REQUEST = { "appName": "Puzzlebox Brainstorms", "appKey": "2e285d7bd5565c0ea73e7e265c73f0691d932408" }
41
42
43#####################################################################
44# Client Interface configuration
45#####################################################################
46
47THINKGEAR_POWER_THRESHOLDS = {}
48
49THINKGEAR_POWER_THRESHOLDS['concentration'] = { 0: 0, 10: 0, 20: 0, 30: 0, 40: 0, 50: 0, 60: 60, 70: 70, 75: 75, 80: 80, 90: 85, 100: 90 }
50
51THINKGEAR_POWER_THRESHOLDS['relaxation'] = { 0: 0, 10: 0, 20: 0, 30: 0, 40: 0, 50: 0, 60: 0, 70: 0, 80: 10, 90: 15, 100: 20 }
52
Note: See TracBrowser for help on using the repository browser.