mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 00:31:36 +08:00
replace reset counter logic for estimator reset for manual controlled mode
This commit is contained in:
committed by
Lorenz Meier
parent
70802ba15a
commit
9ec47f2b74
@@ -65,6 +65,8 @@ protected:
|
||||
(ParamInt<px4::params::MPC_ALT_MODE>) MPC_ALT_MODE
|
||||
)
|
||||
private:
|
||||
uint8_t _reset_counter = 0; /**< counter for estimator resets in z-direction */
|
||||
|
||||
/**
|
||||
* Distance to ground during terrain following.
|
||||
* If user does not demand velocity change in D-direction and the vehcile
|
||||
|
||||
Reference in New Issue
Block a user