This structure stores constraint data. More...
#include <avoid_joint_limits.h>
Public Member Functions | |
AvoidJointLimitsData (const constrained_ik::SolverState &state, const constraints::AvoidJointLimits *parent) | |
See base class for documentation. | |
bool | nearLowerLimit (size_t idx) const |
Check if a given joint is near its lower limit. | |
bool | nearUpperLimit (size_t idx) const |
Check if a given joint is near its upper limit. | |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW std::vector< int > | limited_joints_ |
list of joints that will be constrained | |
const constraints::AvoidJointLimits * | parent_ |
pointer to parent class object |
This structure stores constraint data.
Definition at line 93 of file avoid_joint_limits.h.
bool constrained_ik::constraints::AvoidJointLimits::AvoidJointLimitsData::nearLowerLimit | ( | size_t | idx | ) | const |
Check if a given joint is near its lower limit.
idx | Index of joint |
Definition at line 187 of file avoid_joint_limits.cpp.
bool constrained_ik::constraints::AvoidJointLimits::AvoidJointLimitsData::nearUpperLimit | ( | size_t | idx | ) | const |
Check if a given joint is near its upper limit.
idx | Index of joint |
Definition at line 195 of file avoid_joint_limits.cpp.