|
def | __init__ (self, device, name, ns="~joints") |
|
def | angleToTicks (self, angle) |
|
def | commandCb (self, req) |
|
def | getDiagnostics (self) |
|
def | interpolate (self, frame) |
|
def | setControlOutput (self, position) |
|
def | setCurrentFeedback (self, raw_data) |
|
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 252 of file servo_controller.py.
◆ __init__()
def arbotix_python.servo_controller.HobbyServo.__init__ |
( |
|
self, |
|
|
|
device, |
|
|
|
name, |
|
|
|
ns = "~joints" |
|
) |
| |
◆ angleToTicks()
def arbotix_python.servo_controller.HobbyServo.angleToTicks |
( |
|
self, |
|
|
|
angle |
|
) |
| |
◆ commandCb()
def arbotix_python.servo_controller.HobbyServo.commandCb |
( |
|
self, |
|
|
|
req |
|
) |
| |
◆ getDiagnostics()
def arbotix_python.servo_controller.HobbyServo.getDiagnostics |
( |
|
self | ) |
|
◆ interpolate()
def arbotix_python.servo_controller.HobbyServo.interpolate |
( |
|
self, |
|
|
|
frame |
|
) |
| |
◆ setControlOutput()
def arbotix_python.servo_controller.HobbyServo.setControlOutput |
( |
|
self, |
|
|
|
position |
|
) |
| |
Set the position that controller is moving to.
Returns output value in ticks.
Definition at line 309 of file servo_controller.py.
◆ setCurrentFeedback()
def arbotix_python.servo_controller.HobbyServo.setCurrentFeedback |
( |
|
self, |
|
|
|
raw_data |
|
) |
| |
Update angle in radians by reading from servo, or by
using position passed in from a sync read (in ticks).
Definition at line 304 of file servo_controller.py.
◆ ticksToAngle()
def arbotix_python.servo_controller.HobbyServo.ticksToAngle |
( |
|
self, |
|
|
|
ticks |
|
) |
| |
◆ desired
arbotix_python.servo_controller.HobbyServo.desired |
◆ dirty
arbotix_python.servo_controller.HobbyServo.dirty |
◆ id
arbotix_python.servo_controller.HobbyServo.id |
◆ invert
arbotix_python.servo_controller.HobbyServo.invert |
◆ last
arbotix_python.servo_controller.HobbyServo.last |
◆ last_cmd
arbotix_python.servo_controller.HobbyServo.last_cmd |
◆ max_angle
arbotix_python.servo_controller.HobbyServo.max_angle |
◆ max_speed
arbotix_python.servo_controller.HobbyServo.max_speed |
◆ min_angle
arbotix_python.servo_controller.HobbyServo.min_angle |
◆ neutral
arbotix_python.servo_controller.HobbyServo.neutral |
◆ position
arbotix_python.servo_controller.HobbyServo.position |
◆ rad_per_tick
arbotix_python.servo_controller.HobbyServo.rad_per_tick |
◆ range
arbotix_python.servo_controller.HobbyServo.range |
◆ speed
arbotix_python.servo_controller.HobbyServo.speed |
◆ ticks
arbotix_python.servo_controller.HobbyServo.ticks |
◆ velocity
arbotix_python.servo_controller.HobbyServo.velocity |
The documentation for this class was generated from the following file: