mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 06:14:14 +08:00
ALTITUDE_THRESHOLD lower to 0.3 meters
This commit is contained in:
committed by
Daniel Agar
parent
511563d4ac
commit
304e00f158
@@ -161,7 +161,8 @@ private:
|
||||
static constexpr int NUM_FAILURE_TRIES = 10;
|
||||
/**< If Flighttask fails, keep 0.2 seconds the current setpoint before going into failsafe land */
|
||||
static constexpr uint64_t LOITER_TIME_BEFORE_DESCEND = 200000;
|
||||
|
||||
/**< During smooth-takeoff, below ALTITUDE_THRESHOLD the yaw-control is turned off ant tilt is limited */
|
||||
static constexpr float ALTITUDE_THRESHOLD = 0.3f;
|
||||
|
||||
/**
|
||||
* Hysteresis that turns true once vehicle is armed for MPC_IDLE_TKO seconds.
|
||||
|
||||
Reference in New Issue
Block a user