Nav2 Navigation Stack - humble
humble
ROS 2 Navigation Stack
|
Protected Member Functions | |
bool | isValidSpeed (double x, double y, double theta) |
Check to see whether the combined x/y/theta velocities are valid. More... | |
virtual bool | isValidVelocity () |
void | iterateToValidVelocity () |
Protected Attributes | |
int | vx_samples_ |
int | vy_samples_ |
int | vtheta_samples_ |
KinematicsHandler::Ptr | kinematics_handler_ |
std::shared_ptr< OneDVelocityIterator > | x_it_ |
std::shared_ptr< OneDVelocityIterator > | y_it_ |
std::shared_ptr< OneDVelocityIterator > | th_it_ |
Definition at line 47 of file xy_theta_iterator.hpp.
|
protected |
Check to see whether the combined x/y/theta velocities are valid.
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.
Definition at line 95 of file xy_theta_iterator.cpp.