Container for limiters, implementing interface methods. More...
#include <limiter.h>
Public Member Functions | |
virtual KDL::Twist | enforceLimits (const KDL::Twist &v_in) const |
virtual KDL::JntArray | enforceLimits (const KDL::JntArray &q_dot_ik, const KDL::JntArray &q) const |
void | init () |
LimiterContainer (const LimiterParams &limiter_params) | |
virtual | ~LimiterContainer () |
Protected Types | |
typedef std::vector< const LimiterCartesianBase * >::const_iterator | input_LimIter_t |
typedef std::vector< const LimiterJointBase * >::const_iterator | output_LimIter_t |
Protected Member Functions | |
void | add (const LimiterCartesianBase *lb) |
void | add (const LimiterJointBase *lb) |
void | eraseAll () |
Protected Attributes | |
std::vector< const LimiterCartesianBase * > | input_limiters_ |
const LimiterParams & | limiter_params_ |
std::vector< const LimiterJointBase * > | output_limiters_ |
|
protected |
|
protected |
|
virtual |
Destruction of the whole container
Definition at line 136 of file limiter.cpp.
|
inlineexplicit |
|
protected |
Add method
lb | An implementation of a limiter. |
Adding new limiters to the vector.
Definition at line 124 of file limiter.cpp.
|
protected |
Definition at line 128 of file limiter.cpp.
|
virtual |
Specific implementation of enforceLimits-method. See base class LimiterJointBase for more details on params and returns.
This implementation calls enforce limits on all registered Limiters in the respective limiters vector.
Definition at line 27 of file limiter.cpp.
|
virtual |
Definition at line 38 of file limiter.cpp.
|
protected |
Erase all
Deletes all limiters and clears the vector holding them.
Definition at line 106 of file limiter.cpp.
void LimiterContainer::init | ( | ) |
Initialization for the container.
Building the limiters vector according the the chosen parameters.
Definition at line 53 of file limiter.cpp.
|
protected |
|
protected |
|
protected |