Filter control vector to avoid exceeding joint maximum values. More...
#include <joint-limitator.hh>
Public Member Functions | |
virtual dynamicgraph::Vector & | computeControl (dynamicgraph::Vector &res, int time) |
dynamicgraph::Vector & | computeWidthJl (dynamicgraph::Vector &res, const int &time) |
virtual void | display (std::ostream &os) const |
JointLimitator (const std::string &name) | |
virtual | ~JointLimitator () |
Public Member Functions inherited from dynamicgraph::Entity | |
std::ostream & | displaySignalList (std::ostream &os) const |
Entity (const std::string &name) | |
virtual const std::string & | getClassName () const |
const std::string & | getCommandList () const |
virtual std::string | getDocString () const |
LoggerVerbosity | getLoggerVerbosityLevel () |
LoggerVerbosity | getLoggerVerbosityLevel () |
const std::string & | getName () const |
command::Command * | getNewStyleCommand (const std::string &cmdName) |
CommandMap_t | getNewStyleCommandMap () |
SignalBase< int > & | getSignal (const std::string &signalName) |
const SignalBase< int > & | 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 const & | logger () const |
Logger & | logger () |
Logger const & | 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< int > * | test () |
virtual void | test2 (SignalBase< int > *) |
virtual std::ostream & | writeCompletionList (std::ostream &os) const |
virtual std::ostream & | writeGraph (std::ostream &os) const |
virtual | ~Entity () |
Public Attributes | |
Signals | |
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > | jointSIN |
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > | upperJlSIN |
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > | lowerJlSIN |
dynamicgraph::SignalPtr< dynamicgraph::Vector, int > | controlSIN |
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > | controlSOUT |
dynamicgraph::SignalTimeDependent< dynamicgraph::Vector, int > | widthJlSINTERN |
Private Member Functions | |
DYNAMIC_GRAPH_ENTITY_DECL () | |
Additional Inherited Members | |
Public Types inherited from dynamicgraph::Entity | |
typedef std::map< const std::string, command::Command *> | CommandMap_t |
typedef std::map< std::string, SignalBase< int > *> | SignalMap |
Protected Member Functions inherited from dynamicgraph::Entity | |
void | addCommand (const std::string &name, command::Command *command) |
void | entityDeregistration () |
void | entityRegistration () |
void | signalDeregistration (const std::string &name) |
void | signalRegistration (const SignalArray< int > &signals) |
Protected Attributes inherited from dynamicgraph::Entity | |
CommandMap_t | commandMap |
Logger | logger_ |
std::string | name |
SignalMap | signalMap |
Filter control vector to avoid exceeding joint maximum values.
This must be plugged between the entity producing the command (i.e. usually the sot) and the entity executing it (the device).
Definition at line 38 of file joint-limitator.hh.
JointLimitator::JointLimitator | ( | const std::string & | name | ) |
Definition at line 21 of file joint-limitator.cpp.
|
inlinevirtual |
Definition at line 43 of file joint-limitator.hh.
|
virtual |
Definition at line 57 of file joint-limitator.cpp.
dynamicgraph::Vector & JointLimitator::computeWidthJl | ( | dynamicgraph::Vector & | res, |
const int & | time | ||
) |
Definition at line 40 of file joint-limitator.cpp.
|
virtual |
Reimplemented from dynamicgraph::Entity.
Definition at line 87 of file joint-limitator.cpp.
|
private |
dynamicgraph::SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::JointLimitator::controlSIN |
Definition at line 57 of file joint-limitator.hh.
dynamicgraph::SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::JointLimitator::controlSOUT |
Definition at line 58 of file joint-limitator.hh.
dynamicgraph::SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::JointLimitator::jointSIN |
Definition at line 54 of file joint-limitator.hh.
dynamicgraph::SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::JointLimitator::lowerJlSIN |
Definition at line 56 of file joint-limitator.hh.
dynamicgraph::SignalPtr<dynamicgraph::Vector, int> dynamicgraph::sot::JointLimitator::upperJlSIN |
Definition at line 55 of file joint-limitator.hh.
dynamicgraph::SignalTimeDependent<dynamicgraph::Vector, int> dynamicgraph::sot::JointLimitator::widthJlSINTERN |
Definition at line 59 of file joint-limitator.hh.