mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 01:17:51 +08:00
vehicle_attitude_setpoint: get rid of unused q_d_valid flag
This commit is contained in:
@@ -208,13 +208,7 @@ void control_heading(const struct vehicle_global_position_s *pos, const struct p
|
||||
}
|
||||
|
||||
matrix::Eulerf att_spe(roll_body, 0, bearing);
|
||||
|
||||
matrix::Quatf qd(att_spe);
|
||||
|
||||
att_sp->q_d[0] = qd(0);
|
||||
att_sp->q_d[1] = qd(1);
|
||||
att_sp->q_d[2] = qd(2);
|
||||
att_sp->q_d[3] = qd(3);
|
||||
matrix::Quatf(att_spe).copyTo(att_sp->q_d);
|
||||
}
|
||||
|
||||
int parameters_init(struct param_handles *handles)
|
||||
|
||||
Reference in New Issue
Block a user