#include <avoid_joint_limits.h>
Public Member Functions | |
double | cubicVelRamp (double angle, double limit) const |
Calculates velocity for joint position avoidance Uses cubic function v = y-y0 = k(x-x0)^3 where k=max_vel/(joint_range/2)^3. | |
LimitsT (double minPos, double maxPos, double threshold) | |
Constructor for LimitsT. | |
Public Attributes | |
double | e |
double | k3 |
double | lower_thresh |
double | max_pos |
double | min_pos |
double | upper_thresh |
Definition at line 95 of file avoid_joint_limits.h.
constrained_ik::constraints::AvoidJointLimits::LimitsT::LimitsT | ( | double | minPos, |
double | maxPos, | ||
double | threshold | ||
) |
Constructor for LimitsT.
minPos | Minimum allowed joint position |
maxPos | Maximum allowed joint position |
threshold | Limiting threshold given as a percentage of joint range |
Definition at line 156 of file avoid_joint_limits.cpp.
double constrained_ik::constraints::AvoidJointLimits::LimitsT::cubicVelRamp | ( | double | angle, |
double | limit | ||
) | const |
Calculates velocity for joint position avoidance Uses cubic function v = y-y0 = k(x-x0)^3 where k=max_vel/(joint_range/2)^3.
angle | Angle to calculate velocity for |
Definition at line 174 of file avoid_joint_limits.cpp.
Definition at line 102 of file avoid_joint_limits.h.
Definition at line 103 of file avoid_joint_limits.h.
Definition at line 100 of file avoid_joint_limits.h.
Definition at line 98 of file avoid_joint_limits.h.
Definition at line 97 of file avoid_joint_limits.h.
Definition at line 101 of file avoid_joint_limits.h.