- Timestamp:
- 12/04/10 15:50:04 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/brainstorms/Puzzlebox/Brainstorms/Wheelchair_Control.py
r241 r242 193 193 194 194 195 self.send _command(self.wheelchair_speed, self.wheelchair_command)195 self.sendCommand(self.wheelchair_speed, self.wheelchair_command) 196 196 197 197 time.sleep(ARDUINO_INITIALIZATION_TIME) 198 199 return(device) 200 201 202 ################################################################## 203 204 def send_command(self, speed, command): 198 199 200 ################################################################## 201 202 def sendCommand(self, speed, command): 205 203 206 204 self.device.write('%s%s' % (COMMAND_CHARACTER, \ … … 263 261 ################################################################## 264 262 265 def console _control(self):263 def consoleControl(self): 266 264 267 265 if (sys.platform == 'win32'): … … 297 295 ################################################################## 298 296 299 #def gui _control(self):297 #def guiControl(self): 300 298 301 299 #while self.keep_running: … … 309 307 310 308 if (self.command == 'console'): 311 self.console _control()309 self.consoleControl() 312 310 313 311 #elif (self.command == 'gui'):
Note: See TracChangeset
for help on using the changeset viewer.