ekf2: scope RngCtrl enum

This commit is contained in:
bresch
2023-12-05 11:22:59 -05:00
committed by Daniel Agar
parent 1df52df27d
commit 6bd1145006
4 changed files with 9 additions and 9 deletions
@@ -57,12 +57,12 @@ void EkfWrapper::setRangeHeightRef()
void EkfWrapper::enableRangeHeightFusion()
{
_ekf_params->rng_ctrl = RngCtrl::ENABLED;
_ekf_params->rng_ctrl = static_cast<int32_t>(RngCtrl::ENABLED);
}
void EkfWrapper::disableRangeHeightFusion()
{
_ekf_params->rng_ctrl = RngCtrl::DISABLED;
_ekf_params->rng_ctrl = static_cast<int32_t>(RngCtrl::DISABLED);
}
bool EkfWrapper::isIntendingRangeHeightFusion() const