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

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename Value_ >
void robot_utils::Schedule< Value_ >::addProfile ( Profile< Value > *  profile)
inline
template<typename Value_ >
void robot_utils::Schedule< Value_ >::addProfile ( std::shared_ptr< Profile< Value >>  profile)
inline
template<typename Value_ >
void robot_utils::Schedule< Value_ >::clear ( )
inline
template<typename Value_ >
double robot_utils::Schedule< Value_ >::getDuration ( ) const
inline
template<typename Value_ >
double robot_utils::Schedule< Value_ >::getEndTime ( ) const
inline
template<typename Value_ >
std::shared_ptr<Profile<Value> >& robot_utils::Schedule< Value_ >::getProfile ( double  time)
inline
template<typename Value_ >
Value robot_utils::Schedule< Value_ >::getValue ( double  time)
inline
template<typename Value_ >
Value robot_utils::Schedule< Value_ >::getValueFirstDerivative ( double  time)
inline
template<typename Value_ >
Value robot_utils::Schedule< Value_ >::getValueSecondDerivative ( double  time)
inline

Member Data Documentation

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

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