FlightTasks AutoLineSmoothVel initialize member

- fixes Coverity CID 328492
This commit is contained in:
Daniel Agar
2019-02-24 12:02:36 -05:00
parent b2739d946c
commit 7eca2769a7
@@ -75,6 +75,6 @@ protected:
void _prepareSetpoints(); /**< Generate velocity target points for the trajectory generator. */
void _generateTrajectory();
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 */
};