source: remote_control/puzzlebox_brainstorms_configuration.ini @ 94

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

all files:

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