mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 14:03:33 +08:00
vehicle_attitude_setpoint: get rid of unused q_d_valid flag
This commit is contained in:
@@ -1491,7 +1491,6 @@ MavlinkReceiver::handle_message_set_attitude_target(mavlink_message_t *msg)
|
||||
if (!ignore_attitude_msg) { // only copy att sp if message contained new data
|
||||
matrix::Quatf q(set_attitude_target.q);
|
||||
q.copyTo(att_sp.q_d);
|
||||
att_sp.q_d_valid = true;
|
||||
|
||||
matrix::Eulerf euler{q};
|
||||
att_sp.roll_body = euler.phi();
|
||||
|
||||
Reference in New Issue
Block a user