|
selfdriving
|
#include <mpp/data/Waypoints.h>
Public Member Functions | |
| WaypointStatusSequence ()=default | |
| WaypointSequence | withoutStatus () const |
| std::string | getAsText () const |
| void | getAsOpenglVisualization (mrpt::opengl::CSetOfObjects &obj, const WaypointsRenderingParams ¶ms={}) const |
Public Attributes | |
| std::vector< WaypointStatus > | waypoints |
| mrpt::system::TTimeStamp | timestamp_nav_started = INVALID_TIMESTAMP |
| bool | final_goal_reached = false |
| std::optional< waypoint_idx_t > | waypoint_index_current_goal |
The struct for querying the status of waypoints navigation.
|
default |
| void mpp::WaypointStatusSequence::getAsOpenglVisualization | ( | mrpt::opengl::CSetOfObjects & | obj, |
| const WaypointsRenderingParams & | params = {} |
||
| ) | const |
Renders the sequence of waypoints (previous contents of obj are cleared)
| std::string mpp::WaypointStatusSequence::getAsText | ( | ) | const |
Robot pose at last time step (has INVALID_NUM fields upon initialization) Ctor with default values Gets navigation params as a human-readable format
|
inline |
Extracts a copy of the waypoints, without status information.
| bool mpp::WaypointStatusSequence::final_goal_reached = false |
Whether the final waypoint has been reached successfuly.
| mrpt::system::TTimeStamp mpp::WaypointStatusSequence::timestamp_nav_started = INVALID_TIMESTAMP |
Timestamp of user navigation command.
| std::optional<waypoint_idx_t> mpp::WaypointStatusSequence::waypoint_index_current_goal |
Index in waypoints of the waypoint the navigator is currently trying to reach. This will point to the last waypoint after navigation ends successfully. It has no value if navigation has not started yet
| std::vector<WaypointStatus> mpp::WaypointStatusSequence::waypoints |
Waypoints parameters and status (reached, skipped, etc.)
1.8.13