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
RevLine 
[45]1#####################################################################
2# Puzzlebox Brainstorms Configuration
3#####################################################################
4
[73]5NXT_BLUETOOTH_DEVICE = 'COM1'
[45]6
[83]7BRAINSTORMS_DISCRETE_CONTROL_COMMANDS = False
[45]8
9#####################################################################
10# Network addresses
11#####################################################################
12
[83]13BRAINSTORMS_SERVER_INTERFACE = '' # listen on all network interfaces
[73]14BRAINSTORMS_SERVER_HOST = '127.0.0.1' # localhost
15#BRAINSTORMS_SERVER_HOST = '172.16.1.1'
16BRAINSTORMS_SERVER_PORT = 8194
[45]17
[83]18BRAINSTORMS_SERVER_INTERFACE = '' # listen on all network interfaces
[48]19THINKGEAR_SERVER_HOST = '127.0.0.1'
20THINKGEAR_SERVER_PORT = 13854
[45]21
[48]22
[45]23#####################################################################
24# LEGO Mindstorms NXT robot configuration
25#####################################################################
26
[84]27DEFAULT_NXT_POWER_LEVEL = 80
28
[73]29NXT_MOTORS_MOUNTED_BACKWARDS = True
30NXT_MOTOR_PORT_RIGHT = 'a'
31NXT_MOTOR_PORT_LEFT = 'b'
[45]32
33
34#####################################################################
[62]35# ThinkGear Connect configuration
36#####################################################################
37
[73]38THINKGEAR_AUTHORIZATION_ENABLED = False
[62]39
40THINKGEAR_AUTHORIZATION_REQUEST = { "appName": "Puzzlebox Brainstorms", "appKey": "2e285d7bd5565c0ea73e7e265c73f0691d932408" }
41
[73]42
[62]43#####################################################################
[73]44# Client Interface configuration
[45]45#####################################################################
46
[73]47THINKGEAR_POWER_THRESHOLDS = {}
[45]48
[73]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.