LocalGuidance
A library that generates velocity references to follow a path.
robot_utils::FunctionGeneratorBase Class Referenceabstract

#include <FunctionGeneratorBase.hpp>

Inheritance diagram for robot_utils::FunctionGeneratorBase:
Inheritance graph

Public Member Functions

 FunctionGeneratorBase ()
 
virtual ~FunctionGeneratorBase ()
 
virtual double getUpAndDownSweepValue (double time)=0
 
virtual double getUpSweepValue (double time)=0
 
virtual void setParamAmplitude (double paramAmplitude)
 
virtual void setParamMinFrequencyHz (double minFreq)
 
virtual void setParamMaxFrequencyHz (double maxFreq)
 
virtual void setParamTimeInteval (double timeInterval)
 
virtual void setCurrentFrequencyHz (double currentFreq)
 
virtual void setComputedTimeInteval (double computedTimeInterval)
 
virtual const double getParamAmplitude () const
 
virtual const double getParamMinFrequencyHz () const
 
virtual const double getParamMaxFrequencyHz () const
 
virtual const double getParamTimeInteval () const
 
virtual const double getCurrentFrequencyHz () const
 
virtual const double getComputedTimeInteval () const
 
virtual double & getCurrentFrequencyHz ()
 

Protected Attributes

double paramAmplitude_
 amplitude of sine More...
 
double paramMinFrequencyHz_
 minimum frequency [Hz] More...
 
double paramMaxFrequencyHz_
 maximum frequency [Hz] More...
 
double paramTimeInteval_
 time interval of the sweep (estimated time interval for up and down sweep) More...
 
double currentFrequencyHz_
 current frequency for logging More...
 
double computedTimeInteval_
 exact time interval for up and down sweep More...
 

Constructor & Destructor Documentation

robot_utils::FunctionGeneratorBase::FunctionGeneratorBase ( )
virtual robot_utils::FunctionGeneratorBase::~FunctionGeneratorBase ( )
virtual

Member Function Documentation

virtual const double robot_utils::FunctionGeneratorBase::getComputedTimeInteval ( ) const
virtual
virtual const double robot_utils::FunctionGeneratorBase::getCurrentFrequencyHz ( ) const
virtual
virtual double& robot_utils::FunctionGeneratorBase::getCurrentFrequencyHz ( )
virtual
virtual const double robot_utils::FunctionGeneratorBase::getParamAmplitude ( ) const
virtual
virtual const double robot_utils::FunctionGeneratorBase::getParamMaxFrequencyHz ( ) const
virtual
virtual const double robot_utils::FunctionGeneratorBase::getParamMinFrequencyHz ( ) const
virtual
virtual const double robot_utils::FunctionGeneratorBase::getParamTimeInteval ( ) const
virtual
virtual double robot_utils::FunctionGeneratorBase::getUpAndDownSweepValue ( double  time)
pure virtual

Up and Down Sweep Function

Parameters
timetime [s]
Returns
value

Implemented in robot_utils::FctLogChirp, and robot_utils::FctLinChirp.

virtual double robot_utils::FunctionGeneratorBase::getUpSweepValue ( double  time)
pure virtual

Up Sweep Function

Parameters
timetime [s]
Returns
value

Implemented in robot_utils::FctLogChirp, and robot_utils::FctLinChirp.

virtual void robot_utils::FunctionGeneratorBase::setComputedTimeInteval ( double  computedTimeInterval)
virtual
virtual void robot_utils::FunctionGeneratorBase::setCurrentFrequencyHz ( double  currentFreq)
virtual
virtual void robot_utils::FunctionGeneratorBase::setParamAmplitude ( double  paramAmplitude)
virtual
virtual void robot_utils::FunctionGeneratorBase::setParamMaxFrequencyHz ( double  maxFreq)
virtual
virtual void robot_utils::FunctionGeneratorBase::setParamMinFrequencyHz ( double  minFreq)
virtual
virtual void robot_utils::FunctionGeneratorBase::setParamTimeInteval ( double  timeInterval)
virtual

Member Data Documentation

double robot_utils::FunctionGeneratorBase::computedTimeInteval_
protected

exact time interval for up and down sweep

double robot_utils::FunctionGeneratorBase::currentFrequencyHz_
protected

current frequency for logging

double robot_utils::FunctionGeneratorBase::paramAmplitude_
protected

amplitude of sine

double robot_utils::FunctionGeneratorBase::paramMaxFrequencyHz_
protected

maximum frequency [Hz]

double robot_utils::FunctionGeneratorBase::paramMinFrequencyHz_
protected

minimum frequency [Hz]

double robot_utils::FunctionGeneratorBase::paramTimeInteval_
protected

time interval of the sweep (estimated time interval for up and down sweep)


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