dynamicgraph::sot::tools::CubicInterpolation Class Reference

#include <sot/tools/cubic-interpolation.hh>

Inheritance diagram for dynamicgraph::sot::tools::CubicInterpolation:
Collaboration diagram for dynamicgraph::sot::tools::CubicInterpolation:

Public Member Functions

virtual ~CubicInterpolation ()
 
 CubicInterpolation (const std::string &name)
 
void start (const double &duration)
 Start tracking. More...
 
void reset ()
 Reset state to 0 before starting a new motion. More...
 
virtual std::string getDocString () const
 Documentation. More...
 
void setSamplingPeriod (const double &period)
 Set sampling period of control discretization. More...
 

Protected Member Functions

virtual void doStart (const double &duration)
 
Vector & computeSout (Vector &sout, const int &inTime)
 
Vector & computeSoutdot (Vector &sout, const int &inTime)
 

Protected Attributes

dynamicgraph::Signal< Vector, int > soutSOUT_
 
dynamicgraph::Signal< Vector, int > soutdotSOUT_
 
dynamicgraph::SignalPtr< Vector, int > initSIN_
 
dynamicgraph::SignalPtr< Vector, int > goalSIN_
 
int startTime_
 
double samplingPeriod_
 
double duration_
 
unsigned state_
 
Vector p0_
 
Vector p1_
 
Vector p2_
 
Vector p3_
 

Constructor & Destructor Documentation

◆ ~CubicInterpolation()

dynamicgraph::sot::tools::CubicInterpolation::~CubicInterpolation ( )
virtual

◆ CubicInterpolation()

dynamicgraph::sot::tools::CubicInterpolation::CubicInterpolation ( const std::string &  name)

Member Function Documentation

◆ computeSout()

Vector & dynamicgraph::sot::tools::CubicInterpolation::computeSout ( Vector &  sout,
const int &  inTime 
)
protected

◆ computeSoutdot()

Vector & dynamicgraph::sot::tools::CubicInterpolation::computeSoutdot ( Vector &  sout,
const int &  inTime 
)
protected

◆ doStart()

void dynamicgraph::sot::tools::CubicInterpolation::doStart ( const double &  duration)
protectedvirtual

◆ getDocString()

std::string dynamicgraph::sot::tools::CubicInterpolation::getDocString ( ) const
virtual

Documentation.

◆ reset()

void dynamicgraph::sot::tools::CubicInterpolation::reset ( )

Reset state to 0 before starting a new motion.

◆ setSamplingPeriod()

void dynamicgraph::sot::tools::CubicInterpolation::setSamplingPeriod ( const double &  period)

Set sampling period of control discretization.

◆ start()

void dynamicgraph::sot::tools::CubicInterpolation::start ( const double &  duration)

Start tracking.

Member Data Documentation

◆ duration_

double dynamicgraph::sot::tools::CubicInterpolation::duration_
protected

◆ goalSIN_

dynamicgraph::SignalPtr<Vector, int> dynamicgraph::sot::tools::CubicInterpolation::goalSIN_
protected

◆ initSIN_

dynamicgraph::SignalPtr<Vector, int> dynamicgraph::sot::tools::CubicInterpolation::initSIN_
protected

◆ p0_

Vector dynamicgraph::sot::tools::CubicInterpolation::p0_
protected

◆ p1_

Vector dynamicgraph::sot::tools::CubicInterpolation::p1_
protected

◆ p2_

Vector dynamicgraph::sot::tools::CubicInterpolation::p2_
protected

◆ p3_

Vector dynamicgraph::sot::tools::CubicInterpolation::p3_
protected

◆ samplingPeriod_

double dynamicgraph::sot::tools::CubicInterpolation::samplingPeriod_
protected

◆ soutdotSOUT_

dynamicgraph::Signal<Vector, int> dynamicgraph::sot::tools::CubicInterpolation::soutdotSOUT_
protected

◆ soutSOUT_

dynamicgraph::Signal<Vector, int> dynamicgraph::sot::tools::CubicInterpolation::soutSOUT_
protected

◆ startTime_

int dynamicgraph::sot::tools::CubicInterpolation::startTime_
protected

◆ state_

unsigned dynamicgraph::sot::tools::CubicInterpolation::state_
protected

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