Go to the documentation of this file.
38 : xv_(0.0), yv_(0.0), thetav_(0.0), cost_(-1.0)
43 : xv_(xv), yv_(yv), thetav_(thetav), cost_(-1.0), time_delta_(time_delta), x_pts_(num_pts), y_pts_(num_pts), th_pts_(num_pts)
void resetPoints()
Clear the trajectory's points.
void addPoint(double x, double y, double th)
Add a point to the end of a trajectory.
void setPoint(unsigned int index, double x, double y, double th)
Set a point within the trajectory.
std::vector< double > x_pts_
The x points in the trajectory.
void getEndpoint(double &x, double &y, double &th) const
Get the last point of the trajectory.
void getPoint(unsigned int index, double &x, double &y, double &th) const
Get a point within the trajectory.
unsigned int getPointsSize() const
Return the number of points in the trajectory.
std::vector< double > th_pts_
The theta points in the trajectory.
Trajectory()
Default constructor.
std::vector< double > y_pts_
The y points in the trajectory.
base_local_planner
Author(s): Eitan Marder-Eppstein, Eric Perko, contradict@gmail.com
autogenerated on Mon Mar 6 2023 03:50:24