mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 15:23:34 +08:00
ekf2: scope RngCtrl enum
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user