71 this->getWaypointNavStatus(nav_status);
106 virtual bool impl_waypoint_is_reachable(
const mrpt::math::TPoint2D &wp_local_wrt_robot)
const = 0;
111 virtual
bool checkHasReachedTarget(const
double targetDist) const
MRPT_OVERRIDE;
112 virtual
void waypoints_navigationStep();
114 bool waypoints_isAligning()
const {
return m_is_aligning; }
Recursive mutex: allow recursive locks by the owner thread.
uint64_t TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1...
bool m_was_aligning
Whether the last timestep was "is_aligning" in a waypoint with heading.
TWaypointStatusSequence m_waypoint_nav_status
The latest waypoints navigation command and the up-to-date control status.
std::vector< mrpt::nav::CAbstractNavigator::TargetInfo > multiple_targets
If not empty, this will prevail over the base class single goal target.
double waypoint_angle_tolerance
[rad] Angular error tolerance for waypoints with an assigned heading (Default: 5 deg) ...
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
Base for all high-level navigation commands.
TWaypointsNavigatorParams params_waypoints_navigator
This class extends CAbstractNavigator with the capability of following a list of waypoints.
The struct for requesting navigation requests for a sequence of waypoints.
The struct for configuring navigation requests to CWaypointsNavigator and derived classes...
This class allows loading and storing values and vectors of different types from a configuration text...
double max_distance_to_allow_skip_waypoint
In meters. <0: unlimited.
The struct for configuring navigation requests.
The struct for querying the status of waypoints navigation.
mrpt::system::TTimeStamp m_last_alignment_cmd
mrpt::synch::CCriticalSectionRecursive m_nav_waypoints_cs
GLsizei const GLchar ** string
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
int min_timesteps_confirm_skip_waypoints
How many times shall a future waypoint be seen as reachable to skip to it (Default: 1) ...
The pure virtual interface between a real or simulated robot and any CAbstractNavigator-derived class...
double rel_speed_for_stop_waypoints
[0,1] Relative speed when aiming at a stop-point waypoint (Default=0.10)
This is the base class for any reactive/planned navigation system.
int multitarget_look_ahead
>=0 number of waypoints to forward to the underlying navigation engine, to ease obstacles avoidance w...
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...