From fa4af5b39f4749e8899a8a4e134d52d758d03487 Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Mon, 15 May 2023 11:02:30 +0200 Subject: [PATCH] add logs of which setpoint is being sent --- src/px4_connection/src/px4_controller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/px4_connection/src/px4_controller.cpp b/src/px4_connection/src/px4_controller.cpp index 6ba66214..9f156162 100644 --- a/src/px4_connection/src/px4_controller.cpp +++ b/src/px4_connection/src/px4_controller.cpp @@ -343,12 +343,12 @@ private: } if (current_control_mode == CONTROL_MODE_VELOCITY) { - // RCLCPP_INFO(this->get_logger(), "Sending velocity setpoint"); + RCLCPP_INFO(this->get_logger(), "Sending velocity setpoint"); send_velocity_setpoint(); } else if (current_control_mode == CONTROL_MODE_POSITION) { - // RCLCPP_INFO(this->get_logger(), "Sending position setpoint"); + RCLCPP_INFO(this->get_logger(), "Sending position setpoint"); send_position_setpoint(); } new_setpoint = false;