mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-28 04:44:07 +08:00
Merge pull request #3268 from wingtra/airspeed_indicated_q_est
q_estimator uses indicated airspeed instead of tas
This commit is contained in:
commit
2c07668b2f
@ -601,7 +601,7 @@ void AttitudeEstimatorQ::task_main()
|
||||
ctrl_state.yaw_rate = _lp_yaw_rate.apply(_rates(2));
|
||||
|
||||
/* Airspeed - take airspeed measurement directly here as no wind is estimated */
|
||||
ctrl_state.airspeed = _airspeed.true_airspeed_m_s;
|
||||
ctrl_state.airspeed = _airspeed.indicated_airspeed_m_s;
|
||||
|
||||
/* Publish to control state topic */
|
||||
if (_ctrl_state_pub == nullptr) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user