moveit2
The MoveIt Motion Planning Framework for ROS 2.
|
Struct with options for defining joint-space jump thresholds. More...
#include <cartesian_interpolator.h>
Public Member Functions | |
JumpThreshold ()=default | |
JumpThreshold (double relative_factor) | |
JumpThreshold (double revolute, double prismatic) | |
Static Public Member Functions | |
static JumpThreshold | disabled () |
Do not define any jump threshold, i.e., disable joint-space jump detection. | |
static JumpThreshold | relative (double relative_factor) |
Detect joint-space jumps relative to the average joint-space displacement along the path. | |
static JumpThreshold | absolute (double revolute, double prismatic) |
Detect joint-space jumps greater than the given absolute thresholds. | |
Public Attributes | |
double | relative_factor = 0.0 |
double | revolute = 0.0 |
double | prismatic = 0.0 |
Struct with options for defining joint-space jump thresholds.
Definition at line 56 of file cartesian_interpolator.h.
|
default |
moveit::core::JumpThreshold::JumpThreshold | ( | double | relative_factor | ) |
Definition at line 334 of file cartesian_interpolator.cpp.
moveit::core::JumpThreshold::JumpThreshold | ( | double | revolute, |
double | prismatic | ||
) |
Definition at line 338 of file cartesian_interpolator.cpp.
|
static |
Detect joint-space jumps greater than the given absolute thresholds.
revolute
and prismatic
are absolute joint displacement thresholds, in radians and meters respectively. If any two consecutive waypoints have a joint-space distance larger than these values, the path has a jump.
Definition at line 323 of file cartesian_interpolator.cpp.
|
static |
Do not define any jump threshold, i.e., disable joint-space jump detection.
Definition at line 309 of file cartesian_interpolator.cpp.
|
static |
Detect joint-space jumps relative to the average joint-space displacement along the path.
The average joint-space distance between consecutive points in the path is computed. If any individual joint-space motion delta is larger than the average distance by a factor of relative_factor
, it is considered the path has a jump. For instance, a relative_factor
of 10.0 will detect joint increments larger than 10x the average increment
Definition at line 314 of file cartesian_interpolator.cpp.
double moveit::core::JumpThreshold::prismatic = 0.0 |
Definition at line 79 of file cartesian_interpolator.h.
double moveit::core::JumpThreshold::relative_factor = 0.0 |
Definition at line 77 of file cartesian_interpolator.h.
double moveit::core::JumpThreshold::revolute = 0.0 |
Definition at line 78 of file cartesian_interpolator.h.