Skip to content

Commit 11c3126

Browse files
mariopratsrhaschke
authored andcommitted
Update to the more recent JumpThreshold API (moveit#506)
1 parent c11a34a commit 11c3126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/solvers/cartesian_path.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ bool CartesianPath::plan(const planning_scene::PlanningSceneConstPtr& from, cons
101101
double achieved_fraction = moveit::core::CartesianInterpolator::computeCartesianPath(
102102
&(sandbox_scene->getCurrentStateNonConst()), jmg, trajectory, &link, target, true,
103103
moveit::core::MaxEEFStep(props.get<double>("step_size")),
104-
moveit::core::JumpThreshold(props.get<double>("jump_threshold")), is_valid,
104+
moveit::core::JumpThreshold::relative(props.get<double>("jump_threshold")), is_valid,
105105
props.get<kinematics::KinematicsQueryOptions>("kinematics_options"),
106106
props.get<kinematics::KinematicsBase::IKCostFn>("kinematics_cost_fn"), offset);
107107

0 commit comments

Comments
 (0)