Kinematic model of 4 mecanum wheel robot. More...
#include <omni.hpp>
Public Member Functions | |
mat | fdu (const vec x) const |
Jacobian of the model with respect to the control. More... | |
mat | fdx (const vec x, const vec u) const |
Jacobian of the model with respect to the state. More... | |
Mecanum (double wheel_radius, double wheel_base_x, double wheel_base_y) | |
Constructor. More... | |
vec | operator() (const vec x, const vec u) const |
Kinematic model of 4 mecanum wheel robot. More... | |
vec | wheels2Twist (const vec u) const |
Convert wheel velocities to a body frame twist. More... | |
Public Attributes | |
unsigned int | state_space |
double | wheel_base_x |
double | wheel_base_y |
double | wheel_radius |
Kinematic model of 4 mecanum wheel robot.
The state is [x, y, theta] and controls are the angular velocities of each wheel [u0, u1, u2, u3] corresponding to (front left, front right, rear right, rear left). Assumes the mecanum wheel rollers are at +/- 45 degrees
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
unsigned int ergodic_exploration::models::Mecanum::state_space |