Skip to content

Commit

Permalink
FlightTasks ManualPositionSmoothVel initialize member
Browse files Browse the repository at this point in the history
 - fixes Coverity CID 332544
  • Loading branch information
dagar committed Feb 24, 2019
1 parent 703e28f commit b2739d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class FlightTaskManualPositionSmoothVel : public FlightTaskManualPosition
bool _position_lock_xy_active{false};
bool _position_lock_z_active{false};
matrix::Vector2f _position_setpoint_xy_locked;
float _position_setpoint_z_locked;
float _position_setpoint_z_locked{NAN};

uint8_t _reset_counter{0}; /**< counter for estimator resets in xy-direction */
};

0 comments on commit b2739d9

Please sign in to comment.