Aikido
aikido::trajectory::Interpolated::Waypoint Struct Reference

Waypoint in the trajectory. More...

Public Member Functions

 Waypoint (double _t, statespace::StateSpace::State *_state)
 
bool operator< (const Waypoint &rhs) const
 Comparator to allow sorting waypoints based on time. More...
 
bool operator< (double rhs) const
 Comparator to allow sorting waypoints based on time. More...
 
void free (const statespace::ConstStateSpacePtr &stateSpace)
 Free state. More...
 

Public Attributes

double t
 
statespace::StateSpace::Statestate
 

Detailed Description

Waypoint in the trajectory.

Constructor & Destructor Documentation

◆ Waypoint()

aikido::trajectory::Interpolated::Waypoint::Waypoint ( double  _t,
statespace::StateSpace::State _state 
)

Member Function Documentation

◆ free()

void aikido::trajectory::Interpolated::Waypoint::free ( const statespace::ConstStateSpacePtr stateSpace)

Free state.

Should be used for destruction.

Parameters
[in]stateSpaceStateSpace for the state this Waypoint contains.

◆ operator<() [1/2]

bool aikido::trajectory::Interpolated::Waypoint::operator< ( const Waypoint rhs) const

Comparator to allow sorting waypoints based on time.

◆ operator<() [2/2]

bool aikido::trajectory::Interpolated::Waypoint::operator< ( double  rhs) const

Comparator to allow sorting waypoints based on time.

Member Data Documentation

◆ state

statespace::StateSpace::State* aikido::trajectory::Interpolated::Waypoint::state

◆ t

double aikido::trajectory::Interpolated::Waypoint::t