mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 01:03:33 +08:00
FlightTask initialize _dist_to_bottom
- fixes Coverity CID 306248
This commit is contained in:
committed by
Lorenz Meier
parent
36fdd3a127
commit
6f204c4913
@@ -160,7 +160,7 @@ protected:
|
||||
matrix::Vector3f _position; /**< current vehicle position */
|
||||
matrix::Vector3f _velocity; /**< current vehicle velocity */
|
||||
float _yaw = 0.f; /**< current vehicle yaw heading */
|
||||
float _dist_to_bottom; /**< current height above ground level */
|
||||
float _dist_to_bottom = 0.0f; /**< current height above ground level */
|
||||
|
||||
/**
|
||||
* Setpoints which the position controller has to execute.
|
||||
|
||||
Reference in New Issue
Block a user