Public Member Functions | Public Attributes | Private Member Functions | List of all members
futaba_serial_servo.RS30X.RS304MD Class Reference
Inheritance diagram for futaba_serial_servo.RS30X.RS304MD:
Inheritance graph
[legend]

Public Member Functions

def __del__ (self)
 
def __init__ (self, port="/dev/ttyUSB0")
 
def readAngle (self, servo_id)
 
def readCurrent (self, servo_id)
 
def readSpeed (self, servo_id)
 
def readTemperature (self, servo_id)
 
def readTime (self, servo_id)
 
def readTorqueStatus (self, servo_id)
 
def readVoltage (self, servo_id)
 
def reboot (self, servo_id)
 
def setAngle (self, servo_id, set_angle)
 
def setAngleInTime (self, servo_id, set_angle, set_goal_time)
 
def setBreak (self, servo_id, onoff)
 
def setMaxTorque (self, servo_id, max_torque)
 
def setServoId (self, servo_id, dest)
 
def setTorque (self, servo_id, onoff)
 

Public Attributes

 ser
 

Private Member Functions

def __bytecreateid (self, id)
 
def __checksum (self, checklist)
 
def __flash (self, servo_id)
 
def __requestStatus (self, servo_id)
 
def __write (self, servolist)
 

Detailed Description

Definition at line 33 of file RS30X.py.

Constructor & Destructor Documentation

def futaba_serial_servo.RS30X.RS304MD.__init__ (   self,
  port = "/dev/ttyUSB0" 
)

Definition at line 34 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.__del__ (   self)

Definition at line 43 of file RS30X.py.

Member Function Documentation

def futaba_serial_servo.RS30X.RS304MD.__bytecreateid (   self,
  id 
)
private

Definition at line 46 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.__checksum (   self,
  checklist 
)
private

Definition at line 49 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.__flash (   self,
  servo_id 
)
private

Definition at line 64 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.__requestStatus (   self,
  servo_id 
)
private

Definition at line 59 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.__write (   self,
  servolist 
)
private

Definition at line 56 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.readAngle (   self,
  servo_id 
)

Definition at line 105 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.readCurrent (   self,
  servo_id 
)

Definition at line 120 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.readSpeed (   self,
  servo_id 
)

Definition at line 115 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.readTemperature (   self,
  servo_id 
)

Definition at line 125 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.readTime (   self,
  servo_id 
)

Definition at line 110 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.readTorqueStatus (   self,
  servo_id 
)

Definition at line 135 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.readVoltage (   self,
  servo_id 
)

Definition at line 130 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.reboot (   self,
  servo_id 
)

Definition at line 142 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.setAngle (   self,
  servo_id,
  set_angle 
)

Definition at line 69 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.setAngleInTime (   self,
  servo_id,
  set_angle,
  set_goal_time 
)

Definition at line 76 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.setBreak (   self,
  servo_id,
  onoff 
)

Definition at line 89 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.setMaxTorque (   self,
  servo_id,
  max_torque 
)

Definition at line 99 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.setServoId (   self,
  servo_id,
  dest 
)

Definition at line 93 of file RS30X.py.

def futaba_serial_servo.RS30X.RS304MD.setTorque (   self,
  servo_id,
  onoff 
)

Definition at line 84 of file RS30X.py.

Member Data Documentation

futaba_serial_servo.RS30X.RS304MD.ser

Definition at line 41 of file RS30X.py.


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


futaba_serial_servo
Author(s): Daisuke Sato
autogenerated on Mon Jun 10 2019 14:27:10