Sampler that uses splines. More...
#include <trajectory_spline_sampler.h>
Classes | |
struct | Segment |
Public Member Functions | |
virtual double | end_time () |
Get the end time of our trajectory. | |
virtual Trajectory | getTrajectory () |
Get the trajectory that we are sampling from. | |
virtual TrajectoryPoint | sample (double time) |
Sample from this trajectory. | |
SplineTrajectorySampler (const Trajectory &trajectory) | |
Construct a trajectory sampler. | |
Private Attributes | |
TrajectoryPoint | result |
int | seg_ |
std::vector< Segment > | segments_ |
Trajectory | trajectory_ |
Sampler that uses splines.
Definition at line 203 of file trajectory_spline_sampler.h.
robot_controllers::SplineTrajectorySampler::SplineTrajectorySampler | ( | const Trajectory & | trajectory | ) | [inline] |
Construct a trajectory sampler.
Definition at line 215 of file trajectory_spline_sampler.h.
virtual double robot_controllers::SplineTrajectorySampler::end_time | ( | ) | [inline, virtual] |
Get the end time of our trajectory.
Implements robot_controllers::TrajectorySampler.
Definition at line 358 of file trajectory_spline_sampler.h.
virtual Trajectory robot_controllers::SplineTrajectorySampler::getTrajectory | ( | ) | [inline, virtual] |
Get the trajectory that we are sampling from.
Implements robot_controllers::TrajectorySampler.
Definition at line 364 of file trajectory_spline_sampler.h.
virtual TrajectoryPoint robot_controllers::SplineTrajectorySampler::sample | ( | double | time | ) | [inline, virtual] |
Sample from this trajectory.
Implements robot_controllers::TrajectorySampler.
Definition at line 316 of file trajectory_spline_sampler.h.
Definition at line 372 of file trajectory_spline_sampler.h.
int robot_controllers::SplineTrajectorySampler::seg_ [private] |
Definition at line 373 of file trajectory_spline_sampler.h.
std::vector<Segment> robot_controllers::SplineTrajectorySampler::segments_ [private] |
Definition at line 370 of file trajectory_spline_sampler.h.
Definition at line 371 of file trajectory_spline_sampler.h.