Public Member Functions | Private Member Functions | List of all members
robot_controllers::TrajectorySampler Class Referenceabstract

Base class for samplers of trajectories. More...

#include <trajectory.h>

Inheritance diagram for robot_controllers::TrajectorySampler:
Inheritance graph
[legend]

Public Member Functions

virtual double end_time ()=0
 Get the end time of our trajectory. More...
 
virtual Trajectory getTrajectory ()=0
 Get the trajectory that we are sampling from. More...
 
virtual TrajectoryPoint sample (double time)=0
 Sample from this trajectory. More...
 
 TrajectorySampler ()
 Construct a trajectory sampler. More...
 
virtual ~TrajectorySampler ()
 

Private Member Functions

TrajectorySampleroperator= (const TrajectorySampler &)
 
 TrajectorySampler (const TrajectorySampler &)
 

Detailed Description

Base class for samplers of trajectories.

Definition at line 307 of file trajectory.h.

Constructor & Destructor Documentation

◆ TrajectorySampler() [1/2]

robot_controllers::TrajectorySampler::TrajectorySampler ( )
inline

Construct a trajectory sampler.

Definition at line 311 of file trajectory.h.

◆ ~TrajectorySampler()

virtual robot_controllers::TrajectorySampler::~TrajectorySampler ( )
inlinevirtual

Definition at line 312 of file trajectory.h.

◆ TrajectorySampler() [2/2]

robot_controllers::TrajectorySampler::TrajectorySampler ( const TrajectorySampler )
private

Member Function Documentation

◆ end_time()

virtual double robot_controllers::TrajectorySampler::end_time ( )
pure virtual

Get the end time of our trajectory.

Implemented in robot_controllers::SplineTrajectorySampler.

◆ getTrajectory()

virtual Trajectory robot_controllers::TrajectorySampler::getTrajectory ( )
pure virtual

Get the trajectory that we are sampling from.

Implemented in robot_controllers::SplineTrajectorySampler.

◆ operator=()

TrajectorySampler& robot_controllers::TrajectorySampler::operator= ( const TrajectorySampler )
private

◆ sample()

virtual TrajectoryPoint robot_controllers::TrajectorySampler::sample ( double  time)
pure virtual

Sample from this trajectory.

Implemented in robot_controllers::SplineTrajectorySampler.


The documentation for this class was generated from the following file:


robot_controllers
Author(s): Michael Ferguson
autogenerated on Mon Feb 28 2022 23:26:09