Module neato_driver :: Class xv11
[frames] | no frames]

Class xv11

source code

Instance Methods
 
__init__(self, port="/dev/ttyUSB0") source code
 
exit(self) source code
 
setTestMode(self, value)
Turn test mode on/off.
source code
 
setLDS(self, value) source code
 
requestScan(self)
Ask neato for an array of scan reads.
source code
 
getScanRanges(self)
Read values of a scan -- call requestScan first!
source code
 
setMotors(self, l, r, s)
Set motors, distance left & right + speed
source code
 
getMotors(self)
Update values for motors in the self.state dictionary.
source code
 
getAnalogSensors(self)
Update values for analog sensors in the self.state dictionary.
source code
 
getDigitalSensors(self)
Update values for digital sensors in the self.state dictionary.
source code
 
getCharger(self)
Update values for charger/battery related info in self.state dictionary.
source code
 
setBacklight(self, value) source code
Method Details

getMotors(self)

source code 

Update values for motors in the self.state dictionary. Returns current left, right encoder values.