Skip to content

Commit

Permalink
Update function name
Browse files Browse the repository at this point in the history
  • Loading branch information
sjahr committed Oct 26, 2023
1 parent d42eac6 commit 1bab6dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class Demo
planning_component_->setStateCostFunction(
[robot_start_state, group_name, planning_scene](const Eigen::VectorXd& state_vector) mutable {
auto clearance_cost_fn =
moveit::cost_functions::getMinJointDisplacementCostFn(*robot_start_state, group_name, planning_scene);
moveit::cost_functions::createMinJointDisplacementCostFn(*robot_start_state, group_name, planning_scene);
return clearance_cost_fn(state_vector);
});
}
Expand Down

0 comments on commit 1bab6dd

Please sign in to comment.