Ignore:
Timestamp:
07/07/10 16:20:24 (11 years ago)
Author:
sc
Message:

remote_control/puzzlebox_brainstorms_network_client_thinkgear.py:

  • adjustment to debug output for clarity

remote_control/puzzlebox_brainstorms_network_client.py:

  • warning output on timeout waiting for server connections
  • adjustment to debug output for clarity

remote_control/puzzlebox_brainstorms_remote_control.py:

  • adjustment to debug output for clarity

remote_control/puzzlebox_brainstorms_client_interface.py:

  • forward driving halted when disconnected from ThinkGear? server
  • keyboard shortcuts added to direction buttons
  • virtual button presses drawn when driving activated by direction
  • better handling of speed changes in updateSpeed
  • speed dropped to 100 if NXT power threshold exceeded

remote_control/puzzlebox_brainstorms_configuration.ini:

  • ThinkGear? Connect Server Emulator configuration added
  • default Relaxation speed boosts tweaked

remote_control/interface/qt4_form.py:

  • faulty keyboard shortcuts removed

remote_control/puzzlebox_brainstorms_configuration.py:

  • ThinkGear? Connect Server Emulator configuration
  • default Relaxation speed boosts tweaked

remote_control/puzzlebox_brainstorms_client_interface_network.py:

  • initial checkin

remote_control/puzzlebox_brainstorms_client_interface_local.py:

  • initial checking
  • not properly establishing client/server communications

remote_control/puzzlebox_brainstorms_network_server_thinkgear.py

  • adjustment to debug output for clarity
  • some configuration settings moved to configuration module

remote_control/puzzlebox_brainstorms_network_server.py:

  • adjustment to debug output for clarity
File:
1 edited

Legend:

Unmodified
Added
Removed
  • remote_control/puzzlebox_brainstorms_configuration.ini

    r84 r87  
    33##################################################################### 
    44 
    5 NXT_BLUETOOTH_DEVICE = 'COM1' 
     5#NXT_BLUETOOTH_DEVICE = 'COM1' 
     6NXT_BLUETOOTH_DEVICE = '/dev/rfcomm0' 
    67 
     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 
    711BRAINSTORMS_DISCRETE_CONTROL_COMMANDS = False 
    812 
     
    1317BRAINSTORMS_SERVER_INTERFACE = '' # listen on all network interfaces 
    1418BRAINSTORMS_SERVER_HOST = '127.0.0.1' # localhost 
    15 #BRAINSTORMS_SERVER_HOST = '172.16.1.1' 
    1619BRAINSTORMS_SERVER_PORT = 8194 
    1720 
     
    4245 
    4346##################################################################### 
     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##################################################################### 
    4463# Client Interface configuration 
    4564##################################################################### 
     
    4968THINKGEAR_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 } 
    5069 
    51 THINKGEAR_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 } 
     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 } 
    5271 
Note: See TracChangeset for help on using the changeset viewer.