mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-26 01:17:51 +08:00
EKF: Fix clang-tidy complaint
This commit is contained in:
committed by
Mathieu Bresciani
parent
33bf4e0303
commit
0c15624a0c
+1
-1
@@ -97,7 +97,7 @@ void Ekf::fuseDrag()
|
||||
// Drag is modelled as an arbitrary combination of bluff body drag that proportional to
|
||||
// equivalent airspeed squared, and rotor momentum drag that is proportional to true airspeed
|
||||
// parallel to the rotor disc and mass flow through the rotor disc.
|
||||
float pred_acc; // predicted drag acceleration
|
||||
float pred_acc = 0.0f; // predicted drag acceleration
|
||||
if (axis_index == 0) {
|
||||
float Kacc; // Derivative of specific force wrt airspeed
|
||||
if (using_mcoef && using_bcoef_x) {
|
||||
|
||||
Reference in New Issue
Block a user