Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 511563d commit 304e00fCopy full SHA for 304e00f
src/modules/mc_pos_control/mc_pos_control_main.cpp
@@ -161,7 +161,8 @@ class MulticopterPositionControl : public ModuleBase<MulticopterPositionControl>
161
static constexpr int NUM_FAILURE_TRIES = 10;
162
/**< If Flighttask fails, keep 0.2 seconds the current setpoint before going into failsafe land */
163
static constexpr uint64_t LOITER_TIME_BEFORE_DESCEND = 200000;
164
-
+ /**< During smooth-takeoff, below ALTITUDE_THRESHOLD the yaw-control is turned off ant tilt is limited */
165
+ static constexpr float ALTITUDE_THRESHOLD = 0.3f;
166
167
/**
168
* Hysteresis that turns true once vehicle is armed for MPC_IDLE_TKO seconds.
0 commit comments