Class for joint acceleration limiter (individually scaled -> changes direction), implementing interface methods. More...
#include <limiter.h>
Public Member Functions | |
virtual KDL::JntArray | enforceLimits (const KDL::JntArray &q_dot_ik, const KDL::JntArray &q) const |
LimiterIndividualJointAccelerations (const LimiterParams &limiter_params) |
Class for joint acceleration limiter (individually scaled -> changes direction), implementing interface methods.
LimiterIndividualJointAccelerations::LimiterIndividualJointAccelerations | ( | const LimiterParams & | limiter_params | ) | [inline, explicit] |
KDL::JntArray LimiterIndividualJointAccelerations::enforceLimits | ( | const KDL::JntArray & | q_dot_ik, |
const KDL::JntArray & | q | ||
) | const [virtual] |
Specific implementation of enforceLimits-method. See base class LimiterJointBase for more details on params and returns.
This implementation scales velocities based on given limits for joint accelerations without keeping the direction. For each joint velocity in the vector an individual factor for scaling is calculated and used.
Implements LimiterJointBase.
Definition at line 364 of file limiter.cpp.