vehicle_attitude_setpoint: get rid of unused q_d_valid flag

This commit is contained in:
Matthias Grob
2020-02-26 22:13:54 +01:00
parent b53bd2b77f
commit f90d3671c0
13 changed files with 2 additions and 30 deletions
@@ -94,7 +94,6 @@ void bodyzToAttitude(Vector3f body_z, const float yaw_sp, vehicle_attitude_setpo
// copy quaternion setpoint to attitude setpoint topic
Quatf q_sp = R_sp;
q_sp.copyTo(att_sp.q_d);
att_sp.q_d_valid = true;
// calculate euler angles, for logging only, must not be used for control
Eulerf euler = R_sp;