
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 | |
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.
| def arbotix_python::servos::Servo::__init__ | ( | self, | ||
| device, | ||||
| name | ||||
| ) |
Reimplemented in arbotix_python::servos::HobbyServo.
| def arbotix_python::servos::Servo::angleToTicks | ( | self, | ||
| angle | ||||
| ) |
| def arbotix_python::servos::Servo::commandCb | ( | self, | ||
| req | ||||
| ) |
Float64 style command input.
Reimplemented in arbotix_python::servos::HobbyServo.
| def arbotix_python::servos::Servo::getDiagnostics | ( | self | ) |
Get a diagnostics status.
Reimplemented in arbotix_python::servos::HobbyServo.
| def arbotix_python::servos::Servo::interpolate | ( | self, | ||
| frame | ||||
| ) |
Get the new position to move to, in ticks.
Reimplemented in arbotix_python::servos::HobbyServo.
| def arbotix_python::servos::Servo::relaxCb | ( | self, | ||
| req | ||||
| ) |
| def arbotix_python::servos::Servo::setControl | ( | self, | ||
| position | ||||
| ) |
| def arbotix_python::servos::Servo::ticksToAngle | ( | self, | ||
| ticks | ||||
| ) |
| 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.
| def arbotix_python::servos::Servo::updateTemp | ( | self, | ||
reading = None | ||||
| ) |
| def arbotix_python::servos::Servo::updateVoltage | ( | self, | ||
reading = None | ||||
| ) |
Reimplemented in arbotix_python::servos::HobbyServo.
Reimplemented in arbotix_python::servos::HobbyServo.
Reimplemented in arbotix_python::servos::HobbyServo.
Reimplemented in arbotix_python::servos::HobbyServo.
Reimplemented in arbotix_python::servos::HobbyServo.
Reimplemented in arbotix_python::servos::HobbyServo.
Reimplemented in arbotix_python::servos::HobbyServo.
Reimplemented in arbotix_python::servos::HobbyServo.
Reimplemented in arbotix_python::servos::HobbyServo.
Reimplemented in arbotix_python::servos::HobbyServo.
Reimplemented in arbotix_python::servos::HobbyServo.
Reimplemented in arbotix_python::servos::HobbyServo.
Reimplemented in arbotix_python::servos::HobbyServo.
Reimplemented in arbotix_python::servos::HobbyServo.
Reimplemented in arbotix_python::servos::HobbyServo.
Reimplemented in arbotix_python::servos::HobbyServo.
Reimplemented in arbotix_python::servos::HobbyServo.