mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
AP_Soaring: fix initialization order to fix
https://github.com/ArduPilot/ardupilot/issues/21043
This commit is contained in:
parent
98887a984b
commit
f76d6ea739
@ -30,6 +30,7 @@
|
||||
|
||||
|
||||
class SoaringController {
|
||||
Variometer::PolarParams _polarParams;
|
||||
ExtendedKalmanFilter _ekf{};
|
||||
AP_TECS &_tecs;
|
||||
Variometer _vario;
|
||||
@ -61,8 +62,6 @@ class SoaringController {
|
||||
LowPassFilter<float> _position_x_filter{1/60.0};
|
||||
LowPassFilter<float> _position_y_filter{1/60.0};
|
||||
|
||||
Variometer::PolarParams _polarParams;
|
||||
|
||||
protected:
|
||||
AP_Int8 soar_active;
|
||||
AP_Float thermal_vspeed;
|
||||
|
Loading…
Reference in New Issue
Block a user