sot-core  4.11.8
Hierarchical task solver plug-in for dynamic-graph.
dynamicgraph::sot::MotionPeriod Class Reference

#include <sot/core/motion-period.hh>

Inheritance diagram for dynamicgraph::sot::MotionPeriod:

Classes

struct  sotMotionParam
 

Public Member Functions

virtual const std::string & getClassName (void) const
 
 MotionPeriod (const std::string &name)
 
virtual ~MotionPeriod (void)
 
dynamicgraph::Vector & computeMotion (dynamicgraph::Vector &res, const int &time)
 
virtual void display (std::ostream &os) const
 

Public Attributes

dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > motionSOUT
 

Static Public Attributes

static const std::string CLASS_NAME
 

Protected Types

enum  MotionPeriodType { MOTION_CONSTANT , MOTION_SIN , MOTION_COS }
 

Protected Member Functions

void resize (const unsigned int &size)
 

Protected Attributes

unsigned int size
 
std::vector< sotMotionParammotionParams
 

Member Enumeration Documentation

◆ MotionPeriodType

Enumerator
MOTION_CONSTANT 
MOTION_SIN 
MOTION_COS 

Constructor & Destructor Documentation

◆ MotionPeriod()

dynamicgraph::sot::MotionPeriod::MotionPeriod ( const std::string &  name)

◆ ~MotionPeriod()

virtual dynamicgraph::sot::MotionPeriod::~MotionPeriod ( void  )
inlinevirtual

Member Function Documentation

◆ computeMotion()

dynamicgraph::Vector& dynamicgraph::sot::MotionPeriod::computeMotion ( dynamicgraph::Vector &  res,
const int &  time 
)

◆ display()

virtual void dynamicgraph::sot::MotionPeriod::display ( std::ostream &  os) const
virtual

◆ getClassName()

virtual const std::string& dynamicgraph::sot::MotionPeriod::getClassName ( void  ) const
inlinevirtual

◆ resize()

void dynamicgraph::sot::MotionPeriod::resize ( const unsigned int &  size)
protected

Member Data Documentation

◆ CLASS_NAME

const std::string dynamicgraph::sot::MotionPeriod::CLASS_NAME
static

◆ motionParams

std::vector<sotMotionParam> dynamicgraph::sot::MotionPeriod::motionParams
protected

◆ motionSOUT

dynamicgraph::SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::MotionPeriod::motionSOUT

◆ size

unsigned int dynamicgraph::sot::MotionPeriod::size
protected

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