Changeset 86


Ignore:
Timestamp:
07/07/10 08:00:24 (11 years ago)
Author:
sc
Message:

remote_control/puzzlebox_brainstorms_client_interface.py:

  • preparing to connect forward button to detections
File:
1 edited

Legend:

Unmodified
Added
Removed
  • remote_control/puzzlebox_brainstorms_client_interface.py

    r85 r86  
    248248         
    249249        def driveForward(self): 
    250                 self.updateSpeed(new_speed=DEFAULT_NXT_POWER_LEVEL) 
     250                if (self.drive_state != 'drive_forward'): 
     251                        self.updateSpeed(new_speed=DEFAULT_NXT_POWER_LEVEL) 
    251252                self.brainstormsClient.sendCommand('drive_forward', power=self.current_speed) 
    252253                self.drive_state = 'drive_forward' 
Note: See TracChangeset for help on using the changeset viewer.