Constraint to avoid joint position limits. More...
#include "constrained_ik/constraints/avoid_obstacles.h"
#include <utility>
#include <ros/ros.h>
#include <pluginlib/class_list_macros.h>
Go to the source code of this file.
Variables | |
const double | DEFAULT_AMPLITUDE = 0.3 |
const double | DEFAULT_AVOIDANCE_DISTANCE = 0.3 |
const double | DEFAULT_MIN_DISTANCE = 0.1 |
const double | DEFAULT_SHIFT = 5.0 |
const double | DEFAULT_WEIGHT = 1.0 |
const double | DEFAULT_ZERO_POINT = 10 |
const double | DYNAMIC_WEIGHT_FUNCTION_CONSTANT = -13.86 |
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_obstacles.cpp.
const double DEFAULT_AMPLITUDE = 0.3 |
Default amplitude of the sigmoid error curve
Definition at line 39 of file avoid_obstacles.cpp.
const double DEFAULT_AVOIDANCE_DISTANCE = 0.3 |
Default distance at which to start avoiding the obstacle
Definition at line 38 of file avoid_obstacles.cpp.
const double DEFAULT_MIN_DISTANCE = 0.1 |
Default minimum obstacle distance allowed for convergence
Definition at line 37 of file avoid_obstacles.cpp.
const double DEFAULT_SHIFT = 5.0 |
Default shift for the sigmoid error curve
Definition at line 40 of file avoid_obstacles.cpp.
const double DEFAULT_WEIGHT = 1.0 |
Default weight
Definition at line 36 of file avoid_obstacles.cpp.
const double DEFAULT_ZERO_POINT = 10 |
Default zeros point for the sigmoid error curve
Definition at line 41 of file avoid_obstacles.cpp.
const double DYNAMIC_WEIGHT_FUNCTION_CONSTANT = -13.86 |
Default dynamic weight function constant
Definition at line 42 of file avoid_obstacles.cpp.