Public Member Functions | |
def | __init__ |
def | cmdVelCb |
def | getDiagnostics |
def | setup |
def | shutdown |
def | startup |
def | status |
def | update |
def | write |
Public Attributes | |
accel_limit | |
base_width | |
device | |
dr | |
dx | |
enc_left | |
enc_right | |
fake | |
joint_names | |
joint_positions | |
joint_velocities | |
Kd | |
Ki | |
Ko | |
Kp | |
last_cmd | |
max_accel | |
name | |
odomBroadcaster | |
odomPub | |
rate | |
t_delta | |
t_next | |
th | |
then | |
ticks_meter | |
timeout | |
v_des_left | |
v_des_right | |
v_left | |
v_right | |
x | |
y |
Controller to handle movement & odometry feedback for a differential drive mobile base.
Definition at line 43 of file diff_controller.py.
def arbotix_python::diff_controller::DiffController::__init__ | ( | self, | ||
device, | ||||
name | ||||
) |
Definition at line 46 of file diff_controller.py.
def arbotix_python::diff_controller::DiffController::cmdVelCb | ( | self, | ||
req | ||||
) |
Handle movement requests.
Definition at line 202 of file diff_controller.py.
def arbotix_python::diff_controller::DiffController::getDiagnostics | ( | self | ) |
Get a diagnostics status.
Definition at line 213 of file diff_controller.py.
def arbotix_python::diff_controller::DiffController::setup | ( | self, | ||
kp, | ||||
kd, | ||||
ki, | ||||
ko | ||||
) |
Definition at line 236 of file diff_controller.py.
def arbotix_python::diff_controller::DiffController::shutdown | ( | self | ) |
Definition at line 198 of file diff_controller.py.
def arbotix_python::diff_controller::DiffController::startup | ( | self | ) |
Definition at line 96 of file diff_controller.py.
def arbotix_python::diff_controller::DiffController::status | ( | self | ) |
read 32-bit (signed) encoder values.
Definition at line 246 of file diff_controller.py.
def arbotix_python::diff_controller::DiffController::update | ( | self | ) |
Definition at line 100 of file diff_controller.py.
def arbotix_python::diff_controller::DiffController::write | ( | self, | ||
left, | ||||
right | ||||
) |
Send a closed-loop speed. Base PID loop runs at 30Hz, these values are therefore in ticks per 1/30 second.
Definition at line 239 of file diff_controller.py.
Definition at line 67 of file diff_controller.py.
Definition at line 58 of file diff_controller.py.
Definition at line 48 of file diff_controller.py.
Definition at line 86 of file diff_controller.py.
Definition at line 85 of file diff_controller.py.
Definition at line 80 of file diff_controller.py.
Definition at line 81 of file diff_controller.py.
Definition at line 49 of file diff_controller.py.
Definition at line 71 of file diff_controller.py.
Definition at line 72 of file diff_controller.py.
Definition at line 73 of file diff_controller.py.
Definition at line 62 of file diff_controller.py.
Definition at line 63 of file diff_controller.py.
Definition at line 64 of file diff_controller.py.
Definition at line 61 of file diff_controller.py.
Definition at line 50 of file diff_controller.py.
Definition at line 68 of file diff_controller.py.
Definition at line 47 of file diff_controller.py.
Definition at line 92 of file diff_controller.py.
Definition at line 91 of file diff_controller.py.
Definition at line 53 of file diff_controller.py.
Definition at line 55 of file diff_controller.py.
Definition at line 56 of file diff_controller.py.
Definition at line 84 of file diff_controller.py.
Definition at line 87 of file diff_controller.py.
Definition at line 57 of file diff_controller.py.
Definition at line 54 of file diff_controller.py.
Definition at line 78 of file diff_controller.py.
Definition at line 79 of file diff_controller.py.
Definition at line 76 of file diff_controller.py.
Definition at line 77 of file diff_controller.py.
Definition at line 82 of file diff_controller.py.
Definition at line 83 of file diff_controller.py.