mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-09 18:11:36 +08:00
WIP: ekf2 optional double precision floating point
This commit is contained in:
@@ -73,8 +73,8 @@ void Ekf::controlEvHeightFusion(const extVisionSample &ev_sample, const bool com
|
||||
}
|
||||
}
|
||||
|
||||
const float measurement = pos(2) - pos_offset_earth(2);
|
||||
float measurement_var = math::max(pos_cov(2, 2), sq(_params.ev_pos_noise), sq(0.01f));
|
||||
const ekf_float_t measurement = pos(2) - pos_offset_earth(2);
|
||||
ekf_float_t measurement_var = math::max(pos_cov(2, 2), sq(_params.ev_pos_noise), sq(0.01f));
|
||||
|
||||
#if defined(CONFIG_EKF2_GNSS)
|
||||
// increase minimum variance if GPS active
|
||||
|
||||
Reference in New Issue
Block a user