source: trunk/brainstorms/puzzlebox_brainstorms_configuration.ini @ 219

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

trunk/synapse/interface/puzzlebox_synapse_interface_design.ui:

  • cleaner alignment of border lines

trunk/brainstorms/interface/puzzlebox_brainstorms_interface_design.ui:

  • RC Helicopter tab added
  • NXT device selection dropdown added
  • LEGO NXT Configuration section added to Control Panel
  • Message Sending buttons added

trunk/brainstorms/Puzzlebox/Brainstorms/Configuration.py:

  • AUTOCONNECT_TO_NXT_DEVICE added

trunk/brainstorms/brainstorms-local.py:

  • AUTOCONNECT_TO_NXT_DEVICE added

trunk/brainstorms/puzzlebox_brainstorms_configuration.ini:

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