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(