rpos::features::motion_planner::Path Class

A Path Object is a collection container of rpos::core::Location objects.

Header File

rpos/features/motion_planner.h

Applies to

  • Slamware

Constructors

/**
*  Construct a path object with a set of points.
*/
Path(const std::vector<core::Location>& points);

please refer to core::Location.

/**
*  Copy Constructor.
*/
Path(const Path&);

Operators

/**
*  Assignment operator.
*/
Path& operator=(const Path&);

Methods

/**
*  Get all the points of the path.
*/
std::vector<rpos::core::Location>& getPoints();

For details, please refer to rpos::core::Location.

/**
*  Truncate the path with points exceed the size limit to be removed.
*/
rpos::features::motion_planner::Path truncate(unsigned int size);