Public Member Functions | |
def | __init__ |
def | commandCb |
def | getDiagnostics |
def | interpolate |
def | update |
Public Attributes | |
angle | |
controller | |
device | |
dirty | |
id | |
invert | |
level | |
max_angle | |
max_speed | |
min_angle | |
name | |
neutral | |
rad_per_tick | |
readable | |
status | |
ticks | |
velocity |
Class to handle services and updates for a single Hobby Servo, connected to an ArbotiX robocontroller.
Definition at line 230 of file servos.py.
def arbotix_python::servos::HobbyServo::__init__ | ( | self, | ||
device, | ||||
params | ||||
) |
Reimplemented from arbotix_python::servos::Servo.
def arbotix_python::servos::HobbyServo::commandCb | ( | self, | ||
req | ||||
) |
Callback to set position to angle, in radians.
Reimplemented from arbotix_python::servos::Servo.
def arbotix_python::servos::HobbyServo::getDiagnostics | ( | self | ) |
Get a diagnostics status.
Reimplemented from arbotix_python::servos::Servo.
def arbotix_python::servos::HobbyServo::interpolate | ( | self, | ||
frame | ||||
) |
Get the new position to move to, in ticks.
Reimplemented from arbotix_python::servos::Servo.
def arbotix_python::servos::HobbyServo::update | ( | self, | ||
value | ||||
) |
If dirty, update value of servo at device.
Reimplemented from arbotix_python::servos::Servo.
Reimplemented from arbotix_python::servos::Servo.
Reimplemented from arbotix_python::servos::Servo.
Reimplemented from arbotix_python::servos::Servo.
Reimplemented from arbotix_python::servos::Servo.
Reimplemented from arbotix_python::servos::Servo.
Reimplemented from arbotix_python::servos::Servo.
Reimplemented from arbotix_python::servos::Servo.
Reimplemented from arbotix_python::servos::Servo.
Reimplemented from arbotix_python::servos::Servo.
Reimplemented from arbotix_python::servos::Servo.
Reimplemented from arbotix_python::servos::Servo.
Reimplemented from arbotix_python::servos::Servo.
Reimplemented from arbotix_python::servos::Servo.
Reimplemented from arbotix_python::servos::Servo.
Reimplemented from arbotix_python::servos::Servo.
Reimplemented from arbotix_python::servos::Servo.
Reimplemented from arbotix_python::servos::Servo.