source: trunk/brainstorms/puzzlebox_brainstorms_configuration.ini @ 218

Last change on this file since 218 was 218, checked in by sc, 12 years ago

brainstorms/interface/puzzlebox_brainstorms_interface_design.ui:

  • Send Message buttons updated

brainstorms/Puzzlebox/Brainstorms/Interface.py:

  • Signals and handling added for Send Message buttons

brainstorms/Puzzlebox/Brainstorms/Configuration.py:

  • ENABLE_CONTROL_PANEL added
  • whitespace/comment cleanup

brainstorms/puzzlebox_brainstorms_configuration.ini:

  • ENABLE_CONTROL_PANEL added
File size: 2.9 KB
Line 
1#####################################################################
2# Puzzlebox Brainstorms Configuration
3#####################################################################
4
5ENABLE_CONTROL_PANEL = False
6
7NXT_BLUETOOTH_DEVICE = ''
8# NXT_BLUETOOTH_DEVICE = 'COM1' # Windows example setting
9# NXT_BLUETOOTH_DEVICE = '/dev/rfcomm0' # Linux example setting
10
11# Discrete control drives the robot for a set time period per detection.
12# Setting Variable control to "True" will drive the robot in a
13# particular direction for as long as the detection occurs
14BRAINSTORMS_VARIABLE_CONTROL_DURATION = True
15
16#####################################################################
17# Network addresses
18#####################################################################
19
20BRAINSTORMS_SERVER_INTERFACE = '' # listen on all network interfaces
21BRAINSTORMS_SERVER_HOST = '127.0.0.1' # localhost
22BRAINSTORMS_SERVER_PORT = 8194
23
24BRAINSTORMS_SERVER_INTERFACE = '' # listen on all network interfaces
25THINKGEAR_SERVER_HOST = '127.0.0.1'
26THINKGEAR_SERVER_PORT = 13854
27
28
29#####################################################################
30# LEGO Mindstorms NXT robot configuration
31#####################################################################
32
33DEFAULT_NXT_POWER_LEVEL = 80
34
35NXT_MOTORS_MOUNTED_BACKWARDS = True
36NXT_MOTOR_PORT_RIGHT = 'a'
37NXT_MOTOR_PORT_LEFT = 'b'
38
39
40#####################################################################
41# ThinkGear Connect configuration
42#####################################################################
43
44THINKGEAR_AUTHORIZATION_ENABLED = False
45
46THINKGEAR_AUTHORIZATION_REQUEST = { "appName": "Puzzlebox Brainstorms", "appKey": "2e285d7bd5565c0ea73e7e265c73f0691d932408" }
47
48
49#####################################################################
50# ThinkGear Connect Server Emulator configuration
51#####################################################################
52
53THINKGEAR_ENABLE_SIMULATE_HEADSET_DATA = True
54
55THINKGEAR_BLINK_FREQUENCY_TIMER = 6 # blink every 6 seconds
56                                    # (6 seconds is listed by Wikipedia
57                                    # as being the average number of times
58                                    # an adult blinks in a laboratory setting)
59
60THINKGEAR_DEFAULT_SAMPLE_WAVELENGTH = 30 # number of seconds from 0 to max
61                                         # and back to 0 for any given
62                                         # detection value below
63
64
65#####################################################################
66# Client Interface configuration
67#####################################################################
68
69THINKGEAR_POWER_THRESHOLDS = {}
70
71THINKGEAR_POWER_THRESHOLDS['concentration'] = { 0: 0, 10: 0, 20: 0, 30: 0, 40: 60, 50: 65, 60: 70, 70: 75, 75: 80, 80: 85, 90: 90, 100: 90 }
72
73THINKGEAR_POWER_THRESHOLDS['relaxation'] = { 0: 0, 10: 0, 20: 0, 30: 0, 40: 0, 50: 10, 60: 10, 70: 15, 80: 15, 90: 20, 100: 20 }
74
Note: See TracBrowser for help on using the repository browser.