From dca434dade7a4f2b9c7add7b02969ff8c39b1f98 Mon Sep 17 00:00:00 2001 From: Jakubach Date: Wed, 13 Nov 2024 20:46:09 +0100 Subject: [PATCH] CI fixes --- .../opennav_docking/include/opennav_docking/controller.hpp | 3 ++- nav2_docking/opennav_docking/src/controller.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nav2_docking/opennav_docking/include/opennav_docking/controller.hpp b/nav2_docking/opennav_docking/include/opennav_docking/controller.hpp index b5b0c99e38..f6905c8fb6 100644 --- a/nav2_docking/opennav_docking/include/opennav_docking/controller.hpp +++ b/nav2_docking/opennav_docking/include/opennav_docking/controller.hpp @@ -45,7 +45,8 @@ class Controller * @returns True if command is valid, false otherwise. */ bool computeVelocityCommand( - const geometry_msgs::msg::Pose & pose, const geometry_msgs::msg::Pose & robot_pose, + const geometry_msgs::msg::Pose & pose, + const geometry_msgs::msg::Pose & robot_pose, geometry_msgs::msg::Twist & cmd, bool backward = false); /** diff --git a/nav2_docking/opennav_docking/src/controller.cpp b/nav2_docking/opennav_docking/src/controller.cpp index 0ae84592f9..79a4f7ebe0 100644 --- a/nav2_docking/opennav_docking/src/controller.cpp +++ b/nav2_docking/opennav_docking/src/controller.cpp @@ -61,7 +61,8 @@ Controller::Controller(const rclcpp_lifecycle::LifecycleNode::SharedPtr & node) } bool Controller::computeVelocityCommand( - const geometry_msgs::msg::Pose & pose, const geometry_msgs::msg::Pose & robot_pose, + const geometry_msgs::msg::Pose & pose, + const geometry_msgs::msg::Pose & robot_pose, geometry_msgs::msg::Twist & cmd, bool backward) { std::lock_guard lock(dynamic_params_lock_);