mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 02:03:33 +08:00
VTOL rate control architecture improvements (#10819)
* attitude and rate setpoint message: use 3D array for thrust demand * FixedWingAttitudeControl: rework airspeed scaling * move airspeed and scaling calculation into separate method * if vtol in hover and airspeed disabled use minimum airspeed instead of trim airspeed
This commit is contained in:
@@ -86,7 +86,7 @@ GpsFailure::on_active()
|
||||
att_sp.timestamp = hrt_absolute_time();
|
||||
att_sp.roll_body = math::radians(_param_openlooploiter_roll.get());
|
||||
att_sp.pitch_body = math::radians(_param_openlooploiter_pitch.get());
|
||||
att_sp.thrust = _param_openlooploiter_thrust.get();
|
||||
att_sp.thrust_body[0] = _param_openlooploiter_thrust.get();
|
||||
|
||||
Quatf q(Eulerf(att_sp.roll_body, att_sp.pitch_body, 0.0f));
|
||||
q.copyTo(att_sp.q_d);
|
||||
|
||||
Reference in New Issue
Block a user