mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 20:28:37 +08:00
FlightTasks AutoLineSmoothVel initialize member
- fixes Coverity CID 328492
This commit is contained in:
@@ -75,6 +75,6 @@ protected:
|
|||||||
void _prepareSetpoints(); /**< Generate velocity target points for the trajectory generator. */
|
void _prepareSetpoints(); /**< Generate velocity target points for the trajectory generator. */
|
||||||
void _generateTrajectory();
|
void _generateTrajectory();
|
||||||
VelocitySmoothing _trajectory[3]; ///< Trajectories in x, y and z directions
|
VelocitySmoothing _trajectory[3]; ///< Trajectories in x, y and z directions
|
||||||
float _yaw_sp_prev;
|
float _yaw_sp_prev{NAN};
|
||||||
uint8_t _reset_counter{0}; /**< counter for estimator resets in xy-direction */
|
uint8_t _reset_counter{0}; /**< counter for estimator resets in xy-direction */
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user