From fe9d3785384b4d1ca5399384f8480cdfee9030e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Tue, 20 Aug 2024 13:19:20 +0200 Subject: [PATCH] AttitudeSetpointType: remove euler angles These got removed with https://github.com/PX4/PX4-Autopilot/pull/23482 --- .../src/control/setpoint_types/experimental/attitude.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/px4_ros2_cpp/src/control/setpoint_types/experimental/attitude.cpp b/px4_ros2_cpp/src/control/setpoint_types/experimental/attitude.cpp index 82ca253..5ab1edb 100644 --- a/px4_ros2_cpp/src/control/setpoint_types/experimental/attitude.cpp +++ b/px4_ros2_cpp/src/control/setpoint_types/experimental/attitude.cpp @@ -50,10 +50,6 @@ void AttitudeSetpointType::update( px4_msgs::msg::VehicleAttitudeSetpoint sp{}; sp.timestamp = _node.get_clock()->now().nanoseconds() / 1000; - sp.roll_body = roll; - sp.pitch_body = pitch; - sp.yaw_body = yaw; - sp.yaw_sp_move_rate = yaw_sp_move_rate_rad_s; Eigen::Quaternionf att_setpoint_q{px4_ros2::eulerRpyToQuaternion(