|
__init__(self,
device,
baud,
readTimeout,
writeTimeout,
log)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
_genTimeoutList(self,
const)
Generates a dict of the valid timeout values for the given const .
The const value may change for different versions or types of
Pololu boards. |
source code
|
|
|
findConnectedDevices(self)
Find all the devices on the serial buss and store the results in a
class member object. |
source code
|
|
|
|
|
|
|
|
|
|
|
setCompactProtocol(self)
Set the compact protocol. |
source code
|
|
|
|
|
setPololuProtocol(self)
Set the pololu protocol. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
_getError(self,
device,
message)
Get the error message or value stored in the Qik hardware. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
_setConfig(self,
num,
value,
device,
message)
Low level method used for all set config commands. |
source code
|
|
|
_setDeviceID(self,
value,
device,
message)
Set the hardware device number. This is only needed if more that one
device is on the same serial buss. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
_setSpeed(self,
speed,
motor,
device)
Set motor speed. This method takes into consideration the PWM frequency
that the hardware is currently running at and limits the values passed
to the hardware accordingly. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|