Skip to content

Commit

Permalink
Fixed missing return value
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Duchesne <[email protected]>
  • Loading branch information
josephduchesne committed Jan 15, 2025
1 parent 678697b commit 8626e9b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nav2_controller/plugins/path_complete_goal_checker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ bool PathCompleteGoalChecker::isGoalReached(
rcl_interfaces::msg::SetParametersResult
PathCompleteGoalChecker::dynamicParametersCallback(std::vector<rclcpp::Parameter> parameters)
{
auto result = rcl_interfaces::msg::SetParametersResult();

for (auto & parameter : parameters) {
const auto & type = parameter.get_type();
const auto & name = parameter.get_name();
Expand All @@ -100,6 +102,7 @@ PathCompleteGoalChecker::dynamicParametersCallback(std::vector<rclcpp::Parameter
}
}
}
result.successful = true;
return result;
}

Expand Down

0 comments on commit 8626e9b

Please sign in to comment.