The struct for requesting navigation requests for a sequence of waypoints.
Used in CWaypointsNavigator::navigateWaypoints(). Users can directly fill in the list of waypoints manipulating the public field waypoints
.
Definition at line 71 of file TWaypoint.h.
#include <mrpt/nav/reactive/TWaypoint.h>
Public Member Functions | |
void | clear () |
TWaypointSequence () | |
Ctor with default values. More... | |
std::string | getAsText () const |
Gets navigation params as a human-readable format. More... | |
void | getAsOpenglVisualization (mrpt::opengl::CSetOfObjects &obj, const mrpt::nav::TWaypointsRenderingParams ¶ms=mrpt::nav::TWaypointsRenderingParams()) const |
Renders the sequence of waypoints (previous contents of obj are cleared) More... | |
void | save (mrpt::utils::CConfigFileBase &c, const std::string &s) const |
Saves waypoints to a config file section. More... | |
void | load (const mrpt::utils::CConfigFileBase &c, const std::string &s) |
Loads waypoints to a config file section. More... | |
Public Attributes | |
std::vector< TWaypoint > | waypoints |
mrpt::nav::TWaypointSequence::TWaypointSequence | ( | ) |
Ctor with default values.
|
inline |
Definition at line 75 of file TWaypoint.h.
void mrpt::nav::TWaypointSequence::getAsOpenglVisualization | ( | mrpt::opengl::CSetOfObjects & | obj, |
const mrpt::nav::TWaypointsRenderingParams & | params = mrpt::nav::TWaypointsRenderingParams() |
||
) | const |
Renders the sequence of waypoints (previous contents of obj
are cleared)
std::string mrpt::nav::TWaypointSequence::getAsText | ( | ) | const |
Gets navigation params as a human-readable format.
void mrpt::nav::TWaypointSequence::load | ( | const mrpt::utils::CConfigFileBase & | c, |
const std::string & | s | ||
) |
Loads waypoints to a config file section.
void mrpt::nav::TWaypointSequence::save | ( | mrpt::utils::CConfigFileBase & | c, |
const std::string & | s | ||
) | const |
Saves waypoints to a config file section.
std::vector<TWaypoint> mrpt::nav::TWaypointSequence::waypoints |
Definition at line 73 of file TWaypoint.h.
Page generated by Doxygen 1.8.13 for MRPT 1.5.3 at Mon Oct 30 10:27:08 UTC 2017 |