Ignore:
Timestamp:
06/02/10 09:20:26 (11 years ago)
Author:
sc
Message:

server:

  • import of remote_control by server to execute in order

to avoid pathing issues for Python under Windows

configuration:

  • sane platform dependent defaults for Bluetooth communications

port

py2exe:

  • preparation for 0.1.1 release
File:
1 edited

Legend:

Unmodified
Added
Removed
  • remote_control/puzzlebox_brainstorms_configuration.py

    r42 r43  
    99# For more information please refer to http://www.gnu.org/copyleft/gpl.html 
    1010# 
    11 # Last Update: 2010.05.03 
     11# Last Update: 2010.06.01 
    1212# 
    1313##################################################################### 
    1414 
    15 import os 
     15import os, sys 
    1616import pygame 
    1717 
     
    2222DEBUG = 1 
    2323 
    24 DISCRETE_CONTROL_COMMANDS = False 
     24DISCRETE_CONTROL_COMMANDS = True 
    2525 
    2626##################################################################### 
     
    6161##################################################################### 
    6262 
    63 BLUETOOTH_DEVICE = '/dev/rfcomm0' 
     63if (sys.platform == 'win32'): 
     64        BLUETOOTH_DEVICE = 'COM1' 
     65else: 
     66        BLUETOOTH_DEVICE = '/dev/rfcomm0' 
     67 
    6468MOTORS_MOUNTED_BACKWARDS = True 
    6569MOTOR_PORT_RIGHT = 'a' 
Note: See TracChangeset for help on using the changeset viewer.