Classes | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
roboclaw_driver.roboclaw.Roboclaw Class Reference

Classes

class  Cmd
 

Public Member Functions

def __init__ (self, comport, rate, timeout=0.01, retries=3)
 
def BackwardM1 (self, address, val)
 
def BackwardM2 (self, address, val)
 
def BackwardMixed (self, address, val)
 
def crc_clear (self)
 
def crc_update (self, data)
 
def DutyAccelM1 (self, address, accel, duty)
 
def DutyAccelM1M2 (self, address, accel1, duty1, accel2, duty2)
 
def DutyAccelM2 (self, address, accel, duty)
 
def DutyM1 (self, address, val)
 
def DutyM1M2 (self, address, m1, m2)
 
def DutyM2 (self, address, val)
 
def ForwardBackwardM1 (self, address, val)
 
def ForwardBackwardM2 (self, address, val)
 
def ForwardBackwardMixed (self, address, val)
 
def ForwardM1 (self, address, val)
 
def ForwardM2 (self, address, val)
 
def ForwardMixed (self, address, val)
 
def GetConfig (self, address)
 
def GetDeadBand (self, address)
 
def LeftRightMixed (self, address, val)
 
def Open (self)
 
def ReadBuffers (self, address)
 
def ReadCurrents (self, address)
 
def ReadEeprom (self, address, ee_address)
 
def ReadEncM1 (self, address)
 
def ReadEncM2 (self, address)
 
def ReadEncoderModes (self, address)
 
def ReadError (self, address)
 
def ReadISpeedM1 (self, address)
 
def ReadISpeedM2 (self, address)
 
def ReadLogicBatteryVoltage (self, address)
 
def ReadM1MaxCurrent (self, address)
 
def ReadM1PositionPID (self, address)
 
def ReadM1VelocityPID (self, address)
 
def ReadM2MaxCurrent (self, address)
 
def ReadM2PositionPID (self, address)
 
def ReadM2VelocityPID (self, address)
 
def ReadMainBatteryVoltage (self, address)
 
def ReadMinMaxLogicVoltages (self, address)
 
def ReadMinMaxMainVoltages (self, address)
 
def ReadNVM (self, address)
 
def ReadPinFunctions (self, address)
 
def ReadPWMMode (self, address)
 
def ReadPWMs (self, address)
 
def ReadSpeedM1 (self, address)
 
def ReadSpeedM2 (self, address)
 
def ReadTemp (self, address)
 
def ReadTemp2 (self, address)
 
def ReadVersion (self, address)
 
def ResetEncoders (self, address)
 
def RestoreDefaults (self, address)
 
def SendRandomData (self, cnt)
 
def SetConfig (self, address, config)
 
def SetDeadBand (self, address, min, max)
 
def SetEncM1 (self, address, cnt)
 
def SetEncM2 (self, address, cnt)
 
def SetLogicVoltages (self, address, min, max)
 
def SetM1DefaultAccel (self, address, accel)
 
def SetM1EncoderMode (self, address, mode)
 
def SetM1MaxCurrent (self, address, max)
 
def SetM1PositionPID (self, address, kp, ki, kd, kimax, deadzone, min, max)
 
def SetM1VelocityPID (self, address, p, i, d, qpps)
 
def SetM2DefaultAccel (self, address, accel)
 
def SetM2EncoderMode (self, address, mode)
 
def SetM2MaxCurrent (self, address, max)
 
def SetM2PositionPID (self, address, kp, ki, kd, kimax, deadzone, min, max)
 
def SetM2VelocityPID (self, address, p, i, d, qpps)
 
def SetMainVoltages (self, address, min, max)
 
def SetMaxVoltageLogicBattery (self, address, val)
 
def SetMaxVoltageMainBattery (self, address, val)
 
def SetMinVoltageLogicBattery (self, address, val)
 
def SetMinVoltageMainBattery (self, address, val)
 
def SetPinFunctions (self, address, S3mode, S4mode, S5mode)
 
def SetPWMMode (self, address, mode)
 
def SpeedAccelDeccelPositionM1 (self, address, accel, speed, deccel, position, buffer)
 
def SpeedAccelDeccelPositionM1M2 (self, address, accel1, speed1, deccel1, position1, accel2, speed2, deccel2, position2, buffer)
 
def SpeedAccelDeccelPositionM2 (self, address, accel, speed, deccel, position, buffer)
 
def SpeedAccelDistanceM1 (self, address, accel, speed, distance, buffer)
 
def SpeedAccelDistanceM1M2 (self, address, accel, speed1, distance1, speed2, distance2, buffer)
 
def SpeedAccelDistanceM1M2_2 (self, address, accel1, speed1, distance1, accel2, speed2, distance2, buffer)
 
def SpeedAccelDistanceM2 (self, address, accel, speed, distance, buffer)
 
def SpeedAccelM1 (self, address, accel, speed)
 
def SpeedAccelM1M2 (self, address, accel, speed1, speed2)
 
def SpeedAccelM1M2_2 (self, address, accel1, speed1, accel2, speed2)
 
def SpeedAccelM2 (self, address, accel, speed)
 
def SpeedDistanceM1 (self, address, speed, distance, buffer)
 
def SpeedDistanceM1M2 (self, address, speed1, distance1, speed2, distance2, buffer)
 
def SpeedDistanceM2 (self, address, speed, distance, buffer)
 
def SpeedM1 (self, address, val)
 
def SpeedM1M2 (self, address, m1, m2)
 
def SpeedM2 (self, address, val)
 
def TurnLeftMixed (self, address, val)
 
def TurnRightMixed (self, address, val)
 
def WriteEeprom (self, address, ee_address, ee_word)
 
def WriteNVM (self, address)
 

Public Attributes

 comport
 
 rate
 
 timeout
 

Private Member Functions

def _read1 (self, address, cmd)
 
def _read2 (self, address, cmd)
 
def _read4 (self, address, cmd)
 
def _read4_1 (self, address, cmd)
 
def _read_n (self, address, cmd, args)
 
def _readbyte (self)
 
def _readchecksumword (self)
 
def _readlong (self)
 
def _readslong (self)
 
def _readword (self)
 
def _sendcommand (self, address, command)
 
def _write0 (self, address, cmd)
 
def _write1 (self, address, cmd, val)
 
def _write11 (self, address, cmd, val1, val2)
 
def _write111 (self, address, cmd, val1, val2, val3)
 
def _write2 (self, address, cmd, val)
 
def _write22 (self, address, cmd, val1, val2)
 
def _write4 (self, address, cmd, val)
 
def _write44 (self, address, cmd, val1, val2)
 
def _write441 (self, address, cmd, val1, val2, val3)
 
def _write4444 (self, address, cmd, val1, val2, val3, val4)
 
def _write44441 (self, address, cmd, val1, val2, val3, val4, val5)
 
def _write4444444 (self, address, cmd, val1, val2, val3, val4, val5, val6, val7)
 
def _write444444441 (self, address, cmd, val1, val2, val3, val4, val5, val6, val7, val8, val9)
 
def _write4S4 (self, address, cmd, val1, val2)
 
def _write4S441 (self, address, cmd, val1, val2, val3, val4)
 
def _write4S444S441 (self, address, cmd, val1, val2, val3, val4, val5, val6, val7)
 
def _write4S44S4 (self, address, cmd, val1, val2, val3, val4)
 
def _write4S44S441 (self, address, cmd, val1, val2, val3, val4, val5, val6)
 
def _write4S4S4 (self, address, cmd, val1, val2, val3)
 
def _writebyte (self, val)
 
def _writechecksum (self)
 
def _writelong (self, val)
 
def _writeS2 (self, address, cmd, val)
 
def _writeS22 (self, address, cmd, val1, val2)
 
def _writeS24 (self, address, cmd, val1, val2)
 
def _writeS24S24 (self, address, cmd, val1, val2, val3, val4)
 
def _writeS2S2 (self, address, cmd, val1, val2)
 
def _writeS4 (self, address, cmd, val)
 
def _writeS441 (self, address, cmd, val1, val2, val3)
 
def _writeS44S441 (self, address, cmd, val1, val2, val3, val4, val5)
 
def _writeS4S4 (self, address, cmd, val1, val2)
 
def _writesbyte (self, val)
 
def _writeslong (self, val)
 
def _writesword (self, val)
 
def _writeword (self, val)
 

Private Attributes

 _crc
 
 _port
 
 _trystimeout
 

Detailed Description

Definition at line 6 of file roboclaw.py.

Constructor & Destructor Documentation

def roboclaw_driver.roboclaw.Roboclaw.__init__ (   self,
  comport,
  rate,
  timeout = 0.01,
  retries = 3 
)

Definition at line 9 of file roboclaw.py.

Member Function Documentation

def roboclaw_driver.roboclaw.Roboclaw._read1 (   self,
  address,
  cmd 
)
private

Definition at line 199 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._read2 (   self,
  address,
  cmd 
)
private

Definition at line 216 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._read4 (   self,
  address,
  cmd 
)
private

Definition at line 233 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._read4_1 (   self,
  address,
  cmd 
)
private

Definition at line 250 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._read_n (   self,
  address,
  cmd,
  args 
)
private

Definition at line 269 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._readbyte (   self)
private

Definition at line 140 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._readchecksumword (   self)
private

Definition at line 133 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._readlong (   self)
private

Definition at line 156 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._readslong (   self)
private

Definition at line 168 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._readword (   self)
private

Definition at line 148 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._sendcommand (   self,
  address,
  command 
)
private

Definition at line 125 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write0 (   self,
  address,
  cmd 
)
private

Definition at line 301 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write1 (   self,
  address,
  cmd,
  val 
)
private

Definition at line 310 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write11 (   self,
  address,
  cmd,
  val1,
  val2 
)
private

Definition at line 320 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write111 (   self,
  address,
  cmd,
  val1,
  val2,
  val3 
)
private

Definition at line 331 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write2 (   self,
  address,
  cmd,
  val 
)
private

Definition at line 343 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write22 (   self,
  address,
  cmd,
  val1,
  val2 
)
private

Definition at line 363 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write4 (   self,
  address,
  cmd,
  val 
)
private

Definition at line 420 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write44 (   self,
  address,
  cmd,
  val1,
  val2 
)
private

Definition at line 440 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write441 (   self,
  address,
  cmd,
  val1,
  val2,
  val3 
)
private

Definition at line 473 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write4444 (   self,
  address,
  cmd,
  val1,
  val2,
  val3,
  val4 
)
private

Definition at line 522 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write44441 (   self,
  address,
  cmd,
  val1,
  val2,
  val3,
  val4,
  val5 
)
private

Definition at line 548 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write4444444 (   self,
  address,
  cmd,
  val1,
  val2,
  val3,
  val4,
  val5,
  val6,
  val7 
)
private

Definition at line 607 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write444444441 (   self,
  address,
  cmd,
  val1,
  val2,
  val3,
  val4,
  val5,
  val6,
  val7,
  val8,
  val9 
)
private

Definition at line 623 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write4S4 (   self,
  address,
  cmd,
  val1,
  val2 
)
private

Definition at line 451 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write4S441 (   self,
  address,
  cmd,
  val1,
  val2,
  val3,
  val4 
)
private

Definition at line 509 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write4S444S441 (   self,
  address,
  cmd,
  val1,
  val2,
  val3,
  val4,
  val5,
  val6,
  val7 
)
private

Definition at line 591 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write4S44S4 (   self,
  address,
  cmd,
  val1,
  val2,
  val3,
  val4 
)
private

Definition at line 535 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write4S44S441 (   self,
  address,
  cmd,
  val1,
  val2,
  val3,
  val4,
  val5,
  val6 
)
private

Definition at line 576 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._write4S4S4 (   self,
  address,
  cmd,
  val1,
  val2,
  val3 
)
private

Definition at line 497 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._writebyte (   self,
  val 
)
private

Definition at line 176 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._writechecksum (   self)
private

Definition at line 293 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._writelong (   self,
  val 
)
private

Definition at line 190 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._writeS2 (   self,
  address,
  cmd,
  val 
)
private

Definition at line 353 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._writeS22 (   self,
  address,
  cmd,
  val1,
  val2 
)
private

Definition at line 374 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._writeS24 (   self,
  address,
  cmd,
  val1,
  val2 
)
private

Definition at line 396 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._writeS24S24 (   self,
  address,
  cmd,
  val1,
  val2,
  val3,
  val4 
)
private

Definition at line 407 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._writeS2S2 (   self,
  address,
  cmd,
  val1,
  val2 
)
private

Definition at line 385 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._writeS4 (   self,
  address,
  cmd,
  val 
)
private

Definition at line 430 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._writeS441 (   self,
  address,
  cmd,
  val1,
  val2,
  val3 
)
private

Definition at line 485 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._writeS44S441 (   self,
  address,
  cmd,
  val1,
  val2,
  val3,
  val4,
  val5 
)
private

Definition at line 562 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._writeS4S4 (   self,
  address,
  cmd,
  val1,
  val2 
)
private

Definition at line 462 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._writesbyte (   self,
  val 
)
private

Definition at line 180 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._writeslong (   self,
  val 
)
private

Definition at line 196 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._writesword (   self,
  val 
)
private

Definition at line 187 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw._writeword (   self,
  val 
)
private

Definition at line 183 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.BackwardM1 (   self,
  address,
  val 
)

Definition at line 651 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.BackwardM2 (   self,
  address,
  val 
)

Definition at line 663 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.BackwardMixed (   self,
  address,
  val 
)

Definition at line 675 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.crc_clear (   self)

Definition at line 112 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.crc_update (   self,
  data 
)

Definition at line 116 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.DutyAccelM1 (   self,
  address,
  accel,
  duty 
)

Definition at line 846 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.DutyAccelM1M2 (   self,
  address,
  accel1,
  duty1,
  accel2,
  duty2 
)

Definition at line 852 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.DutyAccelM2 (   self,
  address,
  accel,
  duty 
)

Definition at line 849 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.DutyM1 (   self,
  address,
  val 
)

Definition at line 765 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.DutyM1M2 (   self,
  address,
  m1,
  m2 
)

Definition at line 771 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.DutyM2 (   self,
  address,
  val 
)

Definition at line 768 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ForwardBackwardM1 (   self,
  address,
  val 
)

Definition at line 666 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ForwardBackwardM2 (   self,
  address,
  val 
)

Definition at line 669 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ForwardBackwardMixed (   self,
  address,
  val 
)

Definition at line 684 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ForwardM1 (   self,
  address,
  val 
)

Definition at line 648 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ForwardM2 (   self,
  address,
  val 
)

Definition at line 660 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ForwardMixed (   self,
  address,
  val 
)

Definition at line 672 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.GetConfig (   self,
  address 
)

Definition at line 1005 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.GetDeadBand (   self,
  address 
)

Definition at line 960 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.LeftRightMixed (   self,
  address,
  val 
)

Definition at line 687 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.Open (   self)

Definition at line 1066 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadBuffers (   self,
  address 
)

Definition at line 810 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadCurrents (   self,
  address 
)

Definition at line 828 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadEeprom (   self,
  address,
  ee_address 
)

Definition at line 1032 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadEncM1 (   self,
  address 
)

Definition at line 690 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadEncM2 (   self,
  address 
)

Definition at line 693 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadEncoderModes (   self,
  address 
)

Definition at line 979 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadError (   self,
  address 
)

Definition at line 976 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadISpeedM1 (   self,
  address 
)

Definition at line 759 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadISpeedM2 (   self,
  address 
)

Definition at line 762 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadLogicBatteryVoltage (   self,
  address 
)

Definition at line 744 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadM1MaxCurrent (   self,
  address 
)

Definition at line 1014 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadM1PositionPID (   self,
  address 
)

Definition at line 901 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadM1VelocityPID (   self,
  address 
)

Definition at line 855 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadM2MaxCurrent (   self,
  address 
)

Definition at line 1020 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadM2PositionPID (   self,
  address 
)

Definition at line 910 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadM2VelocityPID (   self,
  address 
)

Definition at line 864 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadMainBatteryVoltage (   self,
  address 
)

Definition at line 741 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadMinMaxLogicVoltages (   self,
  address 
)

Definition at line 887 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadMinMaxMainVoltages (   self,
  address 
)

Definition at line 879 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadNVM (   self,
  address 
)

Definition at line 997 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadPinFunctions (   self,
  address 
)

Definition at line 937 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadPWMMode (   self,
  address 
)

Definition at line 1029 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadPWMs (   self,
  address 
)

Definition at line 816 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadSpeedM1 (   self,
  address 
)

Definition at line 696 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadSpeedM2 (   self,
  address 
)

Definition at line 699 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadTemp (   self,
  address 
)

Definition at line 970 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadTemp2 (   self,
  address 
)

Definition at line 973 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ReadVersion (   self,
  address 
)

Definition at line 705 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.ResetEncoders (   self,
  address 
)

Definition at line 702 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.RestoreDefaults (   self,
  address 
)

Definition at line 967 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SendRandomData (   self,
  cnt 
)

Definition at line 642 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetConfig (   self,
  address,
  config 
)

Definition at line 1002 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetDeadBand (   self,
  address,
  min,
  max 
)

Definition at line 957 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetEncM1 (   self,
  address,
  cnt 
)

Definition at line 735 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetEncM2 (   self,
  address,
  cnt 
)

Definition at line 738 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetLogicVoltages (   self,
  address,
  min,
  max 
)

Definition at line 876 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetM1DefaultAccel (   self,
  address,
  accel 
)

Definition at line 928 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetM1EncoderMode (   self,
  address,
  mode 
)

Definition at line 985 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetM1MaxCurrent (   self,
  address,
  max 
)

Definition at line 1008 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetM1PositionPID (   self,
  address,
  kp,
  ki,
  kd,
  kimax,
  deadzone,
  min,
  max 
)

Definition at line 895 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetM1VelocityPID (   self,
  address,
  p,
  i,
  d,
  qpps 
)

Definition at line 753 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetM2DefaultAccel (   self,
  address,
  accel 
)

Definition at line 931 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetM2EncoderMode (   self,
  address,
  mode 
)

Definition at line 988 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetM2MaxCurrent (   self,
  address,
  max 
)

Definition at line 1011 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetM2PositionPID (   self,
  address,
  kp,
  ki,
  kd,
  kimax,
  deadzone,
  min,
  max 
)

Definition at line 898 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetM2VelocityPID (   self,
  address,
  p,
  i,
  d,
  qpps 
)

Definition at line 756 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetMainVoltages (   self,
  address,
  min,
  max 
)

Definition at line 873 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetMaxVoltageLogicBattery (   self,
  address,
  val 
)

Definition at line 750 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetMaxVoltageMainBattery (   self,
  address,
  val 
)

Definition at line 657 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetMinVoltageLogicBattery (   self,
  address,
  val 
)

Definition at line 747 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetMinVoltageMainBattery (   self,
  address,
  val 
)

Definition at line 654 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetPinFunctions (   self,
  address,
  S3mode,
  S4mode,
  S5mode 
)

Definition at line 934 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SetPWMMode (   self,
  address,
  mode 
)

Definition at line 1026 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SpeedAccelDeccelPositionM1 (   self,
  address,
  accel,
  speed,
  deccel,
  position,
  buffer 
)

Definition at line 919 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SpeedAccelDeccelPositionM1M2 (   self,
  address,
  accel1,
  speed1,
  deccel1,
  position1,
  accel2,
  speed2,
  deccel2,
  position2,
  buffer 
)

Definition at line 925 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SpeedAccelDeccelPositionM2 (   self,
  address,
  accel,
  speed,
  deccel,
  position,
  buffer 
)

Definition at line 922 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SpeedAccelDistanceM1 (   self,
  address,
  accel,
  speed,
  distance,
  buffer 
)

Definition at line 801 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SpeedAccelDistanceM1M2 (   self,
  address,
  accel,
  speed1,
  distance1,
  speed2,
  distance2,
  buffer 
)

Definition at line 807 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SpeedAccelDistanceM1M2_2 (   self,
  address,
  accel1,
  speed1,
  distance1,
  accel2,
  speed2,
  distance2,
  buffer 
)

Definition at line 843 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SpeedAccelDistanceM2 (   self,
  address,
  accel,
  speed,
  distance,
  buffer 
)

Definition at line 804 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SpeedAccelM1 (   self,
  address,
  accel,
  speed 
)

Definition at line 783 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SpeedAccelM1M2 (   self,
  address,
  accel,
  speed1,
  speed2 
)

Definition at line 789 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SpeedAccelM1M2_2 (   self,
  address,
  accel1,
  speed1,
  accel2,
  speed2 
)

Definition at line 840 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SpeedAccelM2 (   self,
  address,
  accel,
  speed 
)

Definition at line 786 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SpeedDistanceM1 (   self,
  address,
  speed,
  distance,
  buffer 
)

Definition at line 792 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SpeedDistanceM1M2 (   self,
  address,
  speed1,
  distance1,
  speed2,
  distance2,
  buffer 
)

Definition at line 798 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SpeedDistanceM2 (   self,
  address,
  speed,
  distance,
  buffer 
)

Definition at line 795 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SpeedM1 (   self,
  address,
  val 
)

Definition at line 774 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SpeedM1M2 (   self,
  address,
  m1,
  m2 
)

Definition at line 780 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.SpeedM2 (   self,
  address,
  val 
)

Definition at line 777 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.TurnLeftMixed (   self,
  address,
  val 
)

Definition at line 681 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.TurnRightMixed (   self,
  address,
  val 
)

Definition at line 678 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.WriteEeprom (   self,
  address,
  ee_address,
  ee_word 
)

Definition at line 1051 of file roboclaw.py.

def roboclaw_driver.roboclaw.Roboclaw.WriteNVM (   self,
  address 
)

Definition at line 992 of file roboclaw.py.

Member Data Documentation

roboclaw_driver.roboclaw.Roboclaw._crc
private

Definition at line 14 of file roboclaw.py.

roboclaw_driver.roboclaw.Roboclaw._port
private

Definition at line 1068 of file roboclaw.py.

roboclaw_driver.roboclaw.Roboclaw._trystimeout
private

Definition at line 13 of file roboclaw.py.

roboclaw_driver.roboclaw.Roboclaw.comport

Definition at line 10 of file roboclaw.py.

roboclaw_driver.roboclaw.Roboclaw.rate

Definition at line 11 of file roboclaw.py.

roboclaw_driver.roboclaw.Roboclaw.timeout

Definition at line 12 of file roboclaw.py.


The documentation for this class was generated from the following file:


rr_rover_zero_driver
Author(s):
autogenerated on Thu Sep 10 2020 03:38:42