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

#include <ProfileSinusoid.hpp>

Inheritance diagram for robot_utils::ProfileSinusoid< Value_ >:
Inheritance graph

Public Types

typedef Value_ Value
 
typedef Profile< Value_ > Base
 
- Public Types inherited from robot_utils::Profile< Value_ >
typedef Value_ Value
 

Public Member Functions

 ProfileSinusoid (const Value &amplitude, const Value &offset, double frequency, double initialPhase, double duration)
 
virtual ~ProfileSinusoid ()
 
virtual void setStartTime (double startTime)
 
virtual Value getValue (double time)
 
virtual Value getValueFirstDerivative (double time)
 
virtual Value getValueSecondDerivative (double time)
 
const ValuegetAmplitude () const
 
const ValuegetOffset () const
 
double getFrequency () const
 
double getInitialPhase () const
 
- Public Member Functions inherited from robot_utils::Profile< Value_ >
 Profile (double duration)
 
 Profile (double startTime, double duration)
 
virtual ~Profile ()
 
double getStartTime () const
 
double getEndTime () const
 
void setDuration (double duration)
 
double getDuration () const
 

Protected Attributes

Value amplitude_
 
Value offset_
 
double frequency_
 
double initialPhase_
 
- Protected Attributes inherited from robot_utils::Profile< Value_ >
double startTime_
 
double duration_
 

Member Typedef Documentation

template<typename Value_ >
typedef Profile<Value_> robot_utils::ProfileSinusoid< Value_ >::Base
template<typename Value_ >
typedef Value_ robot_utils::ProfileSinusoid< Value_ >::Value

Constructor & Destructor Documentation

template<typename Value_ >
robot_utils::ProfileSinusoid< Value_ >::ProfileSinusoid ( const Value amplitude,
const Value offset,
double  frequency,
double  initialPhase,
double  duration 
)
inline
template<typename Value_ >
virtual robot_utils::ProfileSinusoid< Value_ >::~ProfileSinusoid ( )
inlinevirtual

Member Function Documentation

template<typename Value_ >
const Value& robot_utils::ProfileSinusoid< Value_ >::getAmplitude ( ) const
inline
template<typename Value_ >
double robot_utils::ProfileSinusoid< Value_ >::getFrequency ( ) const
inline
template<typename Value_ >
double robot_utils::ProfileSinusoid< Value_ >::getInitialPhase ( ) const
inline
template<typename Value_ >
const Value& robot_utils::ProfileSinusoid< Value_ >::getOffset ( ) const
inline
template<typename Value_ >
virtual Value robot_utils::ProfileSinusoid< Value_ >::getValue ( double  time)
inlinevirtual
template<typename Value_ >
virtual Value robot_utils::ProfileSinusoid< Value_ >::getValueFirstDerivative ( double  time)
inlinevirtual
template<typename Value_ >
virtual Value robot_utils::ProfileSinusoid< Value_ >::getValueSecondDerivative ( double  time)
inlinevirtual

Reimplemented from robot_utils::Profile< Value_ >.

template<typename Value_ >
virtual void robot_utils::ProfileSinusoid< Value_ >::setStartTime ( double  startTime)
inlinevirtual

Reimplemented from robot_utils::Profile< Value_ >.

Member Data Documentation

template<typename Value_ >
Value robot_utils::ProfileSinusoid< Value_ >::amplitude_
protected
template<typename Value_ >
double robot_utils::ProfileSinusoid< Value_ >::frequency_
protected
template<typename Value_ >
double robot_utils::ProfileSinusoid< Value_ >::initialPhase_
protected
template<typename Value_ >
Value robot_utils::ProfileSinusoid< Value_ >::offset_
protected

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