mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 19:43:33 +08:00
vehicle_attitude_setpoint: get rid of unused q_d_valid flag
This commit is contained in:
@@ -91,7 +91,6 @@ GpsFailure::on_active()
|
||||
|
||||
Quatf q(Eulerf(att_sp.roll_body, att_sp.pitch_body, 0.0f));
|
||||
q.copyTo(att_sp.q_d);
|
||||
att_sp.q_d_valid = true;
|
||||
|
||||
if (_navigator->get_vstatus()->is_vtol) {
|
||||
_fw_virtual_att_sp_pub.publish(att_sp);
|
||||
|
||||
Reference in New Issue
Block a user