From 5b935af8945d9717f39e0b7578d14ed6bd0b088c Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Fri, 28 Apr 2023 18:03:43 +0200 Subject: [PATCH] change attitude value --- src/px4_connection/src/px4_controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/px4_connection/src/px4_controller.cpp b/src/px4_connection/src/px4_controller.cpp index 48ebef1b..5d79fd4a 100644 --- a/src/px4_connection/src/px4_controller.cpp +++ b/src/px4_connection/src/px4_controller.cpp @@ -73,7 +73,7 @@ private: msg.thrust_body[1] = 0; // east msg.thrust_body[2] = 1; // down, 100% thrust up - calculate_quaternion(q, 0, degrees_to_radians(10), 0); + calculate_quaternion(q, 0, -3.14, 0); } else if (this->get_clock()->now().seconds() - start_time > 20) { if (armed)