mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 17:48:53 +08:00
mc_pos_control_main: initialize _in_takeoff
This commit is contained in:
@@ -259,7 +259,7 @@ private:
|
||||
float _acc_z_lp;
|
||||
float _vel_max_xy; /**< equal to vel_max except in auto mode when close to target */
|
||||
|
||||
bool _in_takeoff; /**< flag for smooth velocity setpoint takeoff ramp */
|
||||
bool _in_takeoff = false; /**< flag for smooth velocity setpoint takeoff ramp */
|
||||
float _takeoff_vel_limit; /**< velocity limit value which gets ramped up */
|
||||
|
||||
// counters for reset events on position and velocity states
|
||||
|
||||
Reference in New Issue
Block a user