Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Moll <Mark.Moll@gmail.com>
  • Loading branch information
sjahr and mamoll committed May 8, 2023
1 parent 601fdff commit f982f86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ namespace moveit
{
namespace cost_functions
{
[[nodiscard]] planning_interface::StateCostFn getClearnaceCostFn();
[[nodiscard]] planning_interface::StateCostFn getClearanceCostFn();

[[nodiscard]] planning_interface::StateCostFn
getWeightedCostFnSum(std::vector<std::pair<double, planning_interface::StateCostFn>> weight_cost_vector);
Expand Down
2 changes: 1 addition & 1 deletion moveit_core/cost_functions/src/cost_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace moveit
{
namespace cost_functions
{
[[nodiscard]] planning_interface::StateCostFn getClearnaceCostFn()
[[nodiscard]] planning_interface::StateCostFn getClearanceCostFn()
{
// Create cost function
return [](const moveit::core::RobotState& robot_state, const planning_interface::MotionPlanRequest& request,
Expand Down

0 comments on commit f982f86

Please sign in to comment.