mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 05:51:36 +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:
@@ -601,7 +601,7 @@ void AttitudeEstimatorQ::task_main()
|
|||||||
ctrl_state.yaw_rate = _lp_yaw_rate.apply(_rates(2));
|
ctrl_state.yaw_rate = _lp_yaw_rate.apply(_rates(2));
|
||||||
|
|
||||||
/* Airspeed - take airspeed measurement directly here as no wind is estimated */
|
/* 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 */
|
/* Publish to control state topic */
|
||||||
if (_ctrl_state_pub == nullptr) {
|
if (_ctrl_state_pub == nullptr) {
|
||||||
|
|||||||
Reference in New Issue
Block a user