#include <cubic-interpolation.hh>
Public Member Functions | |
CubicInterpolation (const std::string &name) | |
virtual std::string | getDocString () const |
Documentation. More... | |
void | reset () |
Reset state to 0 before starting a new motion. More... | |
void | setSamplingPeriod (const double &period) |
Set sampling period of control discretization. More... | |
void | start (const double &duration) |
Start tracking. More... | |
virtual | ~CubicInterpolation () |
![]() | |
virtual void | display (std::ostream &os) const |
std::ostream & | displaySignalList (std::ostream &os) const |
Entity (const std::string &name) | |
virtual const std::string & | getClassName () const |
const std::string & | getCommandList () const |
LoggerVerbosity | getLoggerVerbosityLevel () |
LoggerVerbosity | getLoggerVerbosityLevel () |
const std::string & | getName () const |
command::Command * | getNewStyleCommand (const std::string &cmdName) |
CommandMap_t | getNewStyleCommandMap () |
SignalBase< sigtime_t > & | getSignal (const std::string &signalName) |
const SignalBase< sigtime_t > & | getSignal (const std::string &signalName) const |
SignalMap | getSignalMap () const |
double | getStreamPrintPeriod () |
double | getStreamPrintPeriod () |
double | getTimeSample () |
double | getTimeSample () |
bool | hasSignal (const std::string &signame) const |
Logger & | logger () |
Logger & | logger () |
const Logger & | logger () const |
const Logger & | logger () const |
void | sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="") |
void | sendMsg (const std::string &msg, MsgType t=MSG_TYPE_INFO, const std::string &lineId="") |
void | setLoggerVerbosityLevel (LoggerVerbosity lv) |
void | setLoggerVerbosityLevel (LoggerVerbosity lv) |
bool | setStreamPrintPeriod (double t) |
bool | setStreamPrintPeriod (double t) |
bool | setTimeSample (double t) |
bool | setTimeSample (double t) |
virtual SignalBase< sigtime_t > * | test () |
virtual void | test2 (SignalBase< sigtime_t > *) |
virtual std::ostream & | writeCompletionList (std::ostream &os) const |
virtual std::ostream & | writeGraph (std::ostream &os) const |
virtual | ~Entity () |
Protected Member Functions | |
Vector & | computeSout (Vector &sout, const sigtime_t &inTime) |
Vector & | computeSoutdot (Vector &sout, const sigtime_t &inTime) |
virtual void | doStart (const double &duration) |
![]() | |
void | addCommand (const std::string &name, command::Command *command) |
void | entityDeregistration () |
void | entityRegistration () |
void | signalDeregistration (const std::string &name) |
void | signalRegistration (const SignalArray< sigtime_t > &signals) |
Protected Attributes | |
double | duration_ |
dynamicgraph::SignalPtr< Vector, sigtime_t > | goalSIN_ |
dynamicgraph::SignalPtr< Vector, sigtime_t > | initSIN_ |
Vector | p0_ |
Vector | p1_ |
Vector | p2_ |
Vector | p3_ |
double | samplingPeriod_ |
dynamicgraph::Signal< Vector, sigtime_t > | soutdotSOUT_ |
dynamicgraph::Signal< Vector, sigtime_t > | soutSOUT_ |
sigtime_t | startTime_ |
unsigned | state_ |
![]() | |
CommandMap_t | commandMap |
Logger | logger_ |
std::string | name |
SignalMap | signalMap |
Private Member Functions | |
DYNAMIC_GRAPH_ENTITY_DECL () | |
Additional Inherited Members | |
![]() | |
typedef std::map< const std::string, command::Command * > | CommandMap_t |
typedef std::map< std::string, SignalBase< sigtime_t > * > | SignalMap |
Definition at line 18 of file cubic-interpolation.hh.
|
virtual |
Definition at line 70 of file cubic-interpolation.cc.
dynamicgraph::sot::tools::CubicInterpolation::CubicInterpolation | ( | const std::string & | name | ) |
Definition at line 18 of file cubic-interpolation.cc.
|
protected |
Definition at line 86 of file cubic-interpolation.cc.
|
protected |
Definition at line 107 of file cubic-interpolation.cc.
|
protectedvirtual |
Definition at line 136 of file cubic-interpolation.cc.
|
private |
|
virtual |
Documentation.
Reimplemented from dynamicgraph::Entity.
Definition at line 72 of file cubic-interpolation.cc.
void dynamicgraph::sot::tools::CubicInterpolation::reset | ( | ) |
Reset state to 0 before starting a new motion.
Definition at line 84 of file cubic-interpolation.cc.
void dynamicgraph::sot::tools::CubicInterpolation::setSamplingPeriod | ( | const double & | period | ) |
Set sampling period of control discretization.
Definition at line 130 of file cubic-interpolation.cc.
void dynamicgraph::sot::tools::CubicInterpolation::start | ( | const double & | duration | ) |
Start tracking.
Definition at line 134 of file cubic-interpolation.cc.
|
protected |
Definition at line 45 of file cubic-interpolation.hh.
|
protected |
Definition at line 38 of file cubic-interpolation.hh.
|
protected |
Definition at line 37 of file cubic-interpolation.hh.
|
protected |
Definition at line 49 of file cubic-interpolation.hh.
|
protected |
Definition at line 50 of file cubic-interpolation.hh.
|
protected |
Definition at line 51 of file cubic-interpolation.hh.
|
protected |
Definition at line 52 of file cubic-interpolation.hh.
|
protected |
Definition at line 44 of file cubic-interpolation.hh.
|
protected |
Definition at line 36 of file cubic-interpolation.hh.
|
protected |
Definition at line 35 of file cubic-interpolation.hh.
|
protected |
Definition at line 43 of file cubic-interpolation.hh.
|
protected |
Definition at line 47 of file cubic-interpolation.hh.