Skip to content

Commit 1bab6dd

Browse files
committed
Update function name
1 parent d42eac6 commit 1bab6dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/how_to_guides/planner_cost_functions/src/planner_cost_functions_main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ class Demo
264264
planning_component_->setStateCostFunction(
265265
[robot_start_state, group_name, planning_scene](const Eigen::VectorXd& state_vector) mutable {
266266
auto clearance_cost_fn =
267-
moveit::cost_functions::getMinJointDisplacementCostFn(*robot_start_state, group_name, planning_scene);
267+
moveit::cost_functions::createMinJointDisplacementCostFn(*robot_start_state, group_name, planning_scene);
268268
return clearance_cost_fn(state_vector);
269269
});
270270
}

0 commit comments

Comments
 (0)