From a24c145968cb1be8c0dc01216b6729fb44799904 Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Mon, 1 May 2023 15:48:06 +0200 Subject: [PATCH] remove attitude message codes --- 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 705aa995..450a4ac9 100644 --- a/src/px4_connection/src/px4_controller.cpp +++ b/src/px4_connection/src/px4_controller.cpp @@ -11,7 +11,7 @@ https://discuss.px4.io/t/cannot-arm-drone-with-companion-computer-arming-denied- #include #include "rclcpp/rclcpp.hpp" -#include "attitude_msg_code.hpp" +// #include "attitude_msg_code.hpp" #include #include @@ -84,7 +84,7 @@ private: last_angle = degrees_to_radians(request->angle); - response->status = ATTITUDE_STATUS_OK; + response->status = 0; } void send_trajectory_setpoint()