arbotix_python::servos::Servo Class Reference

Inheritance diagram for arbotix_python::servos::Servo:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def angleToTicks
def commandCb
def getDiagnostics
def interpolate
def relaxCb
def setControl
def ticksToAngle
def update
def updateTemp
def updateVoltage

Public Attributes

 angle
 controller
 desired
 device
 dirty
 errors
 id
 invert
 last
 last_cmd
 level
 max_angle
 max_speed
 min_angle
 name
 neutral
 rad_per_tick
 readable
 reads
 relaxed
 speed
 status
 temperature
 ticks
 total_errors
 total_reads
 velocity
 voltage

Detailed Description

Class to handle services and updates for a single Servo, 
    on an ArbotiX robocontroller's AX/RX-bus. 

Definition at line 42 of file servos.py.


Member Function Documentation

def arbotix_python::servos::Servo::__init__ (   self,
  device,
  name 
)

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 46 of file servos.py.

def arbotix_python::servos::Servo::angleToTicks (   self,
  angle 
)
Convert an angle to ticks, applying limits. 

Definition at line 87 of file servos.py.

def arbotix_python::servos::Servo::commandCb (   self,
  req 
)
Float64 style command input. 

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 117 of file servos.py.

def arbotix_python::servos::Servo::getDiagnostics (   self  ) 
Get a diagnostics status. 

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 206 of file servos.py.

def arbotix_python::servos::Servo::interpolate (   self,
  frame 
)
Get the new position to move to, in ticks. 

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 172 of file servos.py.

def arbotix_python::servos::Servo::relaxCb (   self,
  req 
)
Turn off servo torque, so that it is pose-able. 

Definition at line 109 of file servos.py.

def arbotix_python::servos::Servo::setControl (   self,
  position 
)
Set the position that controller is moving to. 
    Returns output value in ticks. 

Definition at line 198 of file servos.py.

def arbotix_python::servos::Servo::ticksToAngle (   self,
  ticks 
)
Convert an ticks to angle, applying limits. 

Definition at line 98 of file servos.py.

def arbotix_python::servos::Servo::update (   self,
  reading = None 
)
Update angle in radians by reading from servo, or by 
    using position passed in from a sync read (in ticks). 

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 124 of file servos.py.

def arbotix_python::servos::Servo::updateTemp (   self,
  reading = None 
)
Update temperature by reading from servo, or by passing value from a sync read. 

Definition at line 147 of file servos.py.

def arbotix_python::servos::Servo::updateVoltage (   self,
  reading = None 
)
Update voltage by reading from servo, or by passing value from a sync read. 

Definition at line 164 of file servos.py.


Member Data Documentation

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 68 of file servos.py.

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 63 of file servos.py.

Definition at line 69 of file servos.py.

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 47 of file servos.py.

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 67 of file servos.py.

Definition at line 76 of file servos.py.

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 51 of file servos.py.

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 60 of file servos.py.

Definition at line 73 of file servos.py.

Definition at line 70 of file servos.py.

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 65 of file servos.py.

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 56 of file servos.py.

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 58 of file servos.py.

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 57 of file servos.py.

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 48 of file servos.py.

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 52 of file servos.py.

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 54 of file servos.py.

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 61 of file servos.py.

Definition at line 75 of file servos.py.

Definition at line 72 of file servos.py.

Definition at line 187 of file servos.py.

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 64 of file servos.py.

Definition at line 81 of file servos.py.

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 53 of file servos.py.

Definition at line 78 of file servos.py.

Definition at line 77 of file servos.py.

Reimplemented in arbotix_python::servos::HobbyServo.

Definition at line 71 of file servos.py.

Definition at line 80 of file servos.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables


arbotix_python
Author(s): Michael Ferguson
autogenerated on Fri Jan 11 09:52:12 2013