Ignore:
Timestamp:
07/10/10 04:24:13 (11 years ago)
Author:
sc
Message:
  • DISCRETE_CONTROL_COMMANDS renamed VARIABLE_CONTROL_DURATION
File:
1 edited

Legend:

Unmodified
Added
Removed
  • remote_control/puzzlebox_brainstorms_remote_control.py

    r98 r101  
    2727DEBUG = 2 
    2828 
    29 DISCRETE_CONTROL_COMMANDS = configuration.BRAINSTORMS_DISCRETE_CONTROL_COMMANDS 
     29VARIABLE_CONTROL_DURATION = configuration.BRAINSTORMS_VARIABLE_CONTROL_DURATION 
    3030 
    3131DEFAULT_NXT_POWER_LEVEL = configuration.DEFAULT_NXT_POWER_LEVEL 
     
    167167                 
    168168                # Continue operating motors while control program pauses 
    169                 if DISCRETE_CONTROL_COMMANDS: 
     169                if not VARIABLE_CONTROL_DURATION: 
    170170                        time.sleep(duration) 
    171171                         
Note: See TracChangeset for help on using the changeset viewer.