Constraint to avoid joint position limits. More...
#include "constrained_ik/constraints/avoid_joint_limits.h"#include "constrained_ik/constrained_ik.h"#include <ros/ros.h>#include <pluginlib/class_list_macros.h>
Go to the source code of this file.
Functions | |
| template<class T > | |
| std::ostream & | constrained_ik::constraints::operator<< (std::ostream &os, const std::vector< T > &v) |
| Write std::vector to cout. | |
Variables | |
| const double | DEFAULT_THRESHOLD = 0.05 |
| const double | DEFAULT_WEIGHT = 1.0 |
Constraint to avoid joint position limits.
Using cubic velocity ramp, it pushes each joint away from its limits, with a maximimum velocity of 2*threshold*(joint range). Only affects joints that are within theshold of joint limit.
Definition in file avoid_joint_limits.cpp.
| const double DEFAULT_THRESHOLD = 0.05 |
Default threshold
Definition at line 36 of file avoid_joint_limits.cpp.
| const double DEFAULT_WEIGHT = 1.0 |
Default weight
Definition at line 37 of file avoid_joint_limits.cpp.