A dynamically reconfigurable class containing one representation of the robot's kinematics.
More...
#include <kinematic_parameters.h>
|
void | reconfigureCB (KinematicParamsConfig &config, uint32_t level) |
|
A dynamically reconfigurable class containing one representation of the robot's kinematics.
Definition at line 49 of file kinematic_parameters.h.
dwb_plugins::KinematicParameters::KinematicParameters |
( |
| ) |
|
double dwb_plugins::KinematicParameters::getAccTheta |
( |
| ) |
|
|
inline |
double dwb_plugins::KinematicParameters::getAccX |
( |
| ) |
|
|
inline |
double dwb_plugins::KinematicParameters::getAccY |
( |
| ) |
|
|
inline |
double dwb_plugins::KinematicParameters::getDecelTheta |
( |
| ) |
|
|
inline |
double dwb_plugins::KinematicParameters::getDecelX |
( |
| ) |
|
|
inline |
double dwb_plugins::KinematicParameters::getDecelY |
( |
| ) |
|
|
inline |
double dwb_plugins::KinematicParameters::getMaxTheta |
( |
| ) |
|
|
inline |
double dwb_plugins::KinematicParameters::getMaxX |
( |
| ) |
|
|
inline |
double dwb_plugins::KinematicParameters::getMaxY |
( |
| ) |
|
|
inline |
double dwb_plugins::KinematicParameters::getMinSpeedTheta |
( |
| ) |
|
|
inline |
double dwb_plugins::KinematicParameters::getMinSpeedXY |
( |
| ) |
|
|
inline |
double dwb_plugins::KinematicParameters::getMinTheta |
( |
| ) |
|
|
inline |
double dwb_plugins::KinematicParameters::getMinX |
( |
| ) |
|
|
inline |
double dwb_plugins::KinematicParameters::getMinY |
( |
| ) |
|
|
inline |
void dwb_plugins::KinematicParameters::initialize |
( |
const ros::NodeHandle & |
nh | ) |
|
bool dwb_plugins::KinematicParameters::isValidSpeed |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
theta |
|
) |
| |
Check to see whether the combined x/y/theta velocities are valid.
- Returns
- True if the magnitude hypot(x,y) and theta are within the robot's absolute limits
This is based on three parameters: min_speed_xy, max_speed_xy and min_speed_theta. The speed is valid if 1) The combined magnitude hypot(x,y) is less than max_speed_xy (or max_speed_xy is negative) AND 2) min_speed_xy is negative or min_speed_theta is negative or hypot(x,y) is greater than min_speed_xy or fabs(theta) is greater than min_speed_theta.
In English, it makes sure the diagonal motion is not too fast, and that the velocity is moving in some meaningful direction.
In Latin, quod si motus sit signum quaerit et movere ieiunium et significantissime comprehendite.
Definition at line 115 of file kinematic_parameters.cpp.
void dwb_plugins::KinematicParameters::reconfigureCB |
( |
KinematicParamsConfig & |
config, |
|
|
uint32_t |
level |
|
) |
| |
|
protected |
double dwb_plugins::KinematicParameters::acc_lim_theta_ |
|
protected |
double dwb_plugins::KinematicParameters::acc_lim_x_ |
|
protected |
double dwb_plugins::KinematicParameters::acc_lim_y_ |
|
protected |
double dwb_plugins::KinematicParameters::decel_lim_theta_ |
|
protected |
double dwb_plugins::KinematicParameters::decel_lim_x_ |
|
protected |
double dwb_plugins::KinematicParameters::decel_lim_y_ |
|
protected |
std::shared_ptr<dynamic_reconfigure::Server<KinematicParamsConfig> > dwb_plugins::KinematicParameters::dsrv_ |
|
protected |
double dwb_plugins::KinematicParameters::max_speed_xy_ |
|
protected |
double dwb_plugins::KinematicParameters::max_speed_xy_sq_ |
|
protected |
double dwb_plugins::KinematicParameters::max_vel_theta_ |
|
protected |
double dwb_plugins::KinematicParameters::max_vel_x_ |
|
protected |
double dwb_plugins::KinematicParameters::max_vel_y_ |
|
protected |
double dwb_plugins::KinematicParameters::min_speed_theta_ |
|
protected |
double dwb_plugins::KinematicParameters::min_speed_xy_ |
|
protected |
double dwb_plugins::KinematicParameters::min_speed_xy_sq_ |
|
protected |
double dwb_plugins::KinematicParameters::min_vel_x_ |
|
protected |
double dwb_plugins::KinematicParameters::min_vel_y_ |
|
protected |
The documentation for this class was generated from the following files: