use indicated airspeed instead of tas

This commit is contained in:
Youssef Demitri
2015-11-25 15:25:39 +01:00
parent 621c5b3e62
commit b83170b7c3
@@ -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) {