GNSS yaw unit test: test fallback to non yaw aiding mode

This commit is contained in:
bresch
2021-05-11 17:38:41 +02:00
committed by Paul Riseborough
parent a4fe2b1e72
commit f7c687e433
3 changed files with 17 additions and 0 deletions
+5
View File
@@ -165,6 +165,11 @@ bool EkfWrapper::isIntendingMag3DFusion() const
return _ekf->control_status_flags().mag_3D;
}
void EkfWrapper::setMagFuseTypeNone()
{
_ekf_params->mag_fusion_type = MAG_FUSE_TYPE_NONE;
}
bool EkfWrapper::isWindVelocityEstimated() const
{
return _ekf->control_status_flags().wind;