AP_NavEKF2: fix typo in comment

Signed-off-by: Dr.-Ing. Amilcar do Carmo Lucas <amilcar.lucas@iav.de>
This commit is contained in:
Andy Piper 2020-05-10 20:02:15 +01:00 committed by Randy Mackay
parent f9c86bbfd0
commit 9f02b1b1a8

View File

@ -85,7 +85,7 @@ void NavEKF2_core::EstimateTerrainOffset()
// don't fuse flow data if LOS rate is misaligned, without GPS, or insufficient velocity, as it is poorly observable // don't fuse flow data if LOS rate is misaligned, without GPS, or insufficient velocity, as it is poorly observable
// don't fuse flow data if it exceeds validity limits // don't fuse flow data if it exceeds validity limits
// don't update terrain offset if grpund is being used as the zero height datum in the main filter // don't update terrain offset if ground is being used as the zero height datum in the main filter
bool cantFuseFlowData = ((frontend->_flowUse != FLOW_USE_TERRAIN) bool cantFuseFlowData = ((frontend->_flowUse != FLOW_USE_TERRAIN)
|| gpsNotAvailable || gpsNotAvailable
|| PV_AidingMode == AID_RELATIVE || PV_AidingMode == AID_RELATIVE