71 this->getWaypointNavStatus(nav_status);
110 virtual
bool checkHasReachedTarget(const
double targetDist) const
MRPT_OVERRIDE;
111 virtual
void waypoints_navigationStep();
113 bool waypoints_isAligning()
const {
return m_is_aligning; }
This is the base class for any reactive/planned navigation system.
The pure virtual interface between a real or simulated robot and any CAbstractNavigator-derived class...
This class extends CAbstractNavigator with the capability of following a list of waypoints.
mrpt::system::TTimeStamp m_last_alignment_cmd
TWaypointsNavigatorParams params_waypoints_navigator
bool m_was_aligning
Whether the last timestep was "is_aligning" in a waypoint with heading.
mrpt::synch::CCriticalSectionRecursive m_nav_waypoints_cs
virtual bool impl_waypoint_is_reachable(const mrpt::math::TPoint2D &wp_local_wrt_robot) const =0
Implements the way to waypoint is free function in children classes: true must be returned if,...
TWaypointStatusSequence m_waypoint_nav_status
The latest waypoints navigation command and the up-to-date control status.
Recursive mutex: allow recursive locks by the owner thread.
This class allows loading and storing values and vectors of different types from a configuration text...
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...
GLsizei const GLchar ** string
uint64_t TTimeStamp
A system independent time type, it holds the the number of 100-nanosecond intervals since January 1,...
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Base for all high-level navigation commands.
The struct for configuring navigation requests.
The struct for configuring navigation requests to CWaypointsNavigator and derived classes.
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)
int min_timesteps_confirm_skip_waypoints
How many times shall a future waypoint be seen as reachable to skip to it (Default: 1)
double max_distance_to_allow_skip_waypoint
In meters. <0: unlimited.
int multitarget_look_ahead
>=0 number of waypoints to forward to the underlying navigation engine, to ease obstacles avoidance w...
The struct for requesting navigation requests for a sequence of waypoints.
The struct for querying the status of waypoints navigation.