
Public Member Functions | |
| def | __init__ |
| def | angleToTicks |
| def | commandCb |
| def | getDiagnostics |
| def | interpolate |
| def | setControlOutput |
| def | setCurrentFeedback |
| def | ticksToAngle |
Public Attributes | |
| desired | |
| dirty | |
| id | |
| invert | |
| last | |
| last_cmd | |
| max_angle | |
| max_speed | |
| min_angle | |
| neutral | |
| position | |
| rad_per_tick | |
| range | |
| speed | |
| ticks | |
| velocity | |
Definition at line 208 of file servo_controller.py.
| def arbotix_python.servo_controller.HobbyServo.__init__ | ( | self, | |
| device, | |||
| name, | |||
ns = "~joints" |
|||
| ) |
Definition at line 210 of file servo_controller.py.
| def arbotix_python.servo_controller.HobbyServo.angleToTicks | ( | self, | |
| angle | |||
| ) |
Convert an angle to ticks, applying limits.
Definition at line 282 of file servo_controller.py.
| def arbotix_python.servo_controller.HobbyServo.commandCb | ( | self, | |
| req | |||
| ) |
Float64 style command input.
Definition at line 300 of file servo_controller.py.
Get a diagnostics status.
Reimplemented from arbotix_python.joints.Joint.
Definition at line 273 of file servo_controller.py.
| def arbotix_python.servo_controller.HobbyServo.interpolate | ( | self, | |
| frame | |||
| ) |
Get the new position to move to, in ticks.
Reimplemented from arbotix_python.joints.Joint.
Definition at line 237 of file servo_controller.py.
| def arbotix_python.servo_controller.HobbyServo.setControlOutput | ( | self, | |
| position | |||
| ) |
Set the position that controller is moving to.
Returns output value in ticks. Reimplemented from arbotix_python.joints.Joint.
Definition at line 265 of file servo_controller.py.
| 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). Reimplemented from arbotix_python.joints.Joint.
Definition at line 260 of file servo_controller.py.
| def arbotix_python.servo_controller.HobbyServo.ticksToAngle | ( | self, | |
| ticks | |||
| ) |
Convert an ticks to angle, applying limits.
Definition at line 293 of file servo_controller.py.
Definition at line 210 of file servo_controller.py.
Definition at line 210 of file servo_controller.py.
Definition at line 210 of file servo_controller.py.
Definition at line 210 of file servo_controller.py.
Reimplemented from arbotix_python.joints.Joint.
Definition at line 210 of file servo_controller.py.
Definition at line 210 of file servo_controller.py.
Definition at line 210 of file servo_controller.py.
Definition at line 210 of file servo_controller.py.
Definition at line 210 of file servo_controller.py.
Definition at line 210 of file servo_controller.py.
Reimplemented from arbotix_python.joints.Joint.
Definition at line 210 of file servo_controller.py.
Definition at line 210 of file servo_controller.py.
Definition at line 210 of file servo_controller.py.
Definition at line 237 of file servo_controller.py.
Definition at line 210 of file servo_controller.py.
Reimplemented from arbotix_python.joints.Joint.
Definition at line 210 of file servo_controller.py.