|
def | __init__ (self, device, name, ns="~joints") |
|
def | angleToTicks (self, angle) |
|
def | commandCb (self, req) |
|
def | enableCb (self, req) |
|
def | getDiagnostics (self) |
|
def | interpolate (self, frame) |
|
def | relaxCb (self, req) |
|
def | setControlOutput (self, position) |
|
def | setCurrentFeedback (self, reading) |
|
def | setSpeedCb (self, req) |
|
def | speedToTicks (self, rads_per_sec) |
|
def | ticksToAngle (self, ticks) |
|
def | __init__ (self, device, name) |
| Constructs a Joint instance. More...
|
|
def | getDiagnostics (self) |
| Get a diagnostics message for this joint. More...
|
|
def | interpolate (self, frame) |
| Get new output, in raw data format. More...
|
|
def | setControlOutput (self, position) |
| Set the goal position. More...
|
|
def | setCurrentFeedback (self, raw_data) |
| Set the current position from feedback data. More...
|
|
Definition at line 41 of file servo_controller.py.
def arbotix_python.servo_controller.DynamixelServo.__init__ |
( |
|
self, |
|
|
|
device, |
|
|
|
name, |
|
|
|
ns = "~joints" |
|
) |
| |
def arbotix_python.servo_controller.DynamixelServo.angleToTicks |
( |
|
self, |
|
|
|
angle |
|
) |
| |
def arbotix_python.servo_controller.DynamixelServo.commandCb |
( |
|
self, |
|
|
|
req |
|
) |
| |
def arbotix_python.servo_controller.DynamixelServo.enableCb |
( |
|
self, |
|
|
|
req |
|
) |
| |
def arbotix_python.servo_controller.DynamixelServo.getDiagnostics |
( |
|
self | ) |
|
def arbotix_python.servo_controller.DynamixelServo.interpolate |
( |
|
self, |
|
|
|
frame |
|
) |
| |
def arbotix_python.servo_controller.DynamixelServo.relaxCb |
( |
|
self, |
|
|
|
req |
|
) |
| |
def arbotix_python.servo_controller.DynamixelServo.setControlOutput |
( |
|
self, |
|
|
|
position |
|
) |
| |
Set the position that controller is moving to.
Returns output value in ticks.
Definition at line 143 of file servo_controller.py.
def arbotix_python.servo_controller.DynamixelServo.setCurrentFeedback |
( |
|
self, |
|
|
|
reading |
|
) |
| |
Update angle in radians by reading from servo, or by
using position passed in from a sync read (in ticks).
Definition at line 123 of file servo_controller.py.
def arbotix_python.servo_controller.DynamixelServo.setSpeedCb |
( |
|
self, |
|
|
|
req |
|
) |
| |
Set servo speed. Requested speed is in radians per second.
Don't allow 0 which means "max speed" to a Dynamixel in joint mode.
Definition at line 244 of file servo_controller.py.
def arbotix_python.servo_controller.DynamixelServo.speedToTicks |
( |
|
self, |
|
|
|
rads_per_sec |
|
) |
| |
Convert speed in radians per second to ticks, applying limits.
Definition at line 204 of file servo_controller.py.
def arbotix_python.servo_controller.DynamixelServo.ticksToAngle |
( |
|
self, |
|
|
|
ticks |
|
) |
| |
arbotix_python.servo_controller.DynamixelServo.active |
arbotix_python.servo_controller.DynamixelServo.desired |
arbotix_python.servo_controller.DynamixelServo.dirty |
arbotix_python.servo_controller.DynamixelServo.enabled |
arbotix_python.servo_controller.DynamixelServo.errors |
arbotix_python.servo_controller.DynamixelServo.id |
arbotix_python.servo_controller.DynamixelServo.invert |
arbotix_python.servo_controller.DynamixelServo.last |
arbotix_python.servo_controller.DynamixelServo.last_cmd |
arbotix_python.servo_controller.DynamixelServo.level |
arbotix_python.servo_controller.DynamixelServo.max_angle |
arbotix_python.servo_controller.DynamixelServo.max_speed |
arbotix_python.servo_controller.DynamixelServo.min_angle |
arbotix_python.servo_controller.DynamixelServo.neutral |
arbotix_python.servo_controller.DynamixelServo.position |
arbotix_python.servo_controller.DynamixelServo.rad_per_tick |
arbotix_python.servo_controller.DynamixelServo.range |
arbotix_python.servo_controller.DynamixelServo.readable |
arbotix_python.servo_controller.DynamixelServo.reads |
arbotix_python.servo_controller.DynamixelServo.speed |
arbotix_python.servo_controller.DynamixelServo.status |
arbotix_python.servo_controller.DynamixelServo.temperature |
arbotix_python.servo_controller.DynamixelServo.ticks |
arbotix_python.servo_controller.DynamixelServo.total_errors |
arbotix_python.servo_controller.DynamixelServo.total_reads |
arbotix_python.servo_controller.DynamixelServo.velocity |
arbotix_python.servo_controller.DynamixelServo.voltage |
The documentation for this class was generated from the following file: