mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-13 22:30:36 +08:00
FlightTaskManualPosition initialize all fields
- fixes Coverity CID 306259
This commit is contained in:
committed by
Lorenz Meier
parent
99b9eaea68
commit
36fdd3a127
@@ -63,6 +63,6 @@ protected:
|
||||
(ParamFloat<px4::params::MPC_ACC_HOR_ESTM>) MPC_ACC_HOR_ESTM
|
||||
)
|
||||
private:
|
||||
float _velocity_scale; //scales the stick input to velocity
|
||||
uint8_t _reset_counter = 0; /**< counter for estimator resets in xy-direction */
|
||||
float _velocity_scale{0.0f}; //scales the stick input to velocity
|
||||
uint8_t _reset_counter{0}; /**< counter for estimator resets in xy-direction */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user