#include <dubinsSolver.h>
Public Member Functions | |
DubinsS (PathPoint wp0, double d) | |
Path * | copy () |
Returns a pointer that is a new instance of this object. | |
PathPoint | getPathPoint (double d) const |
Returns the waypoint at distance d. | |
double | getLength () const |
Returns the total path length. |
DubinsS::DubinsS | ( | PathPoint | wp0, | |
double | d | |||
) |
PathPoint DubinsS::getPathPoint | ( | double | d | ) | const [virtual] |
Returns the waypoint at distance d.
Returns the initial waypoint if d is less than zero and the final waypoint if d greater than the path length.
length | along the path |
Implements navlib::Path.
References navlib::Path::_wp0, getLength(), and navlib::Pose::globalize().