#include <ndPlanner.h>
Public Member Functions | |
NDPlanner (TpbvpSolver *solver) | |
Path * | getPath (const PathPoint &wp0, const PathPoint &wpf, Shape *body, const std::vector< Point > &obstacles) |
Returns a path that goes from one waypoint to another. |
NDPlanner::NDPlanner | ( | TpbvpSolver * | solver | ) |
solver | two point boundary value solver. |
Path * NDPlanner::getPath | ( | const PathPoint & | wp0, | |
const PathPoint & | wpf, | |||
Shape * | body, | |||
const std::vector< Point > & | obstacles | |||
) | [virtual] |
Returns a path that goes from one waypoint to another.
wp0 | initial waypoint | |
wpf | final waypoint | |
body | vehicle shape | |
obstacles | point cloud of obstacles |
Implements navlib::PathPlanner.
References navlib::PathChain::append(), navlib::Path::collides(), navlib::Path::getFinalPathPoint(), navlib::Path::getLength(), navlib::PathChain::getLength(), and navlib::TpbvpSolver::getPath().