LocalGuidance
A library that generates velocity references to follow a path.
robot_utils::Schedule< Value_ > Class Template Reference

#include <Schedule.hpp>

Public Types

typedef Value_ Value
 

Public Member Functions

 Schedule (double startTime=0.0)
 
virtual ~Schedule ()
 
void addProfile (Profile< Value > *profile)
 
void addProfile (std::shared_ptr< Profile< Value >> profile)
 
std::shared_ptr< Profile< Value > > & getProfile (double time)
 
void clear ()
 
Value getValue (double time)
 
Value getValueFirstDerivative (double time)
 
Value getValueSecondDerivative (double time)
 
double getDuration () const
 
double getEndTime () const
 

Protected Attributes

double startTime_
 
std::vector< std::shared_ptr< Profile< Value > > > profiles_
 

Member Typedef Documentation

◆ Value

template<typename Value_ >
typedef Value_ robot_utils::Schedule< Value_ >::Value

Constructor & Destructor Documentation

◆ Schedule()

template<typename Value_ >
robot_utils::Schedule< Value_ >::Schedule ( double  startTime = 0.0)
inline

◆ ~Schedule()

template<typename Value_ >
virtual robot_utils::Schedule< Value_ >::~Schedule ( )
inlinevirtual

Member Function Documentation

◆ addProfile() [1/2]

template<typename Value_ >
void robot_utils::Schedule< Value_ >::addProfile ( Profile< Value > *  profile)
inline

◆ addProfile() [2/2]

template<typename Value_ >
void robot_utils::Schedule< Value_ >::addProfile ( std::shared_ptr< Profile< Value >>  profile)
inline

◆ clear()

template<typename Value_ >
void robot_utils::Schedule< Value_ >::clear ( )
inline

◆ getDuration()

template<typename Value_ >
double robot_utils::Schedule< Value_ >::getDuration ( ) const
inline

◆ getEndTime()

template<typename Value_ >
double robot_utils::Schedule< Value_ >::getEndTime ( ) const
inline

◆ getProfile()

template<typename Value_ >
std::shared_ptr<Profile<Value> >& robot_utils::Schedule< Value_ >::getProfile ( double  time)
inline

◆ getValue()

template<typename Value_ >
Value robot_utils::Schedule< Value_ >::getValue ( double  time)
inline

◆ getValueFirstDerivative()

template<typename Value_ >
Value robot_utils::Schedule< Value_ >::getValueFirstDerivative ( double  time)
inline

◆ getValueSecondDerivative()

template<typename Value_ >
Value robot_utils::Schedule< Value_ >::getValueSecondDerivative ( double  time)
inline

Member Data Documentation

◆ profiles_

template<typename Value_ >
std::vector<std::shared_ptr<Profile<Value> > > robot_utils::Schedule< Value_ >::profiles_
protected

◆ startTime_

template<typename Value_ >
double robot_utils::Schedule< Value_ >::startTime_
protected

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