mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-03 13:01:35 +08:00
mc_pos_control: idle to armed state delay controlled by parameter MPC_IDLE_TKF
This commit is contained in:
committed by
Lorenz Meier
parent
ab1ae1fb4e
commit
18a3c08659
@@ -628,6 +628,22 @@ PARAM_DEFINE_FLOAT(MPC_TKO_RAMP_T, 0.4f);
|
||||
*/
|
||||
PARAM_DEFINE_INT32(MPC_POS_MODE, 1);
|
||||
|
||||
/**
|
||||
* Delay from idle state to arming state.
|
||||
*
|
||||
* For altitude controlled modes, the transition from
|
||||
* idle to armed state is delayed by MPC_IDLE_TKO time to ensure
|
||||
* that the propellers have reached idle speed before attempting a
|
||||
* takeoff. This delay is particularly useful for vehicles with large
|
||||
* propellers.
|
||||
*
|
||||
* @min 0
|
||||
* @max 10
|
||||
* @unit sec
|
||||
* @group Multicopter Position Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(MPC_IDLE_TKO, 0.0f);
|
||||
|
||||
/**
|
||||
* Flag to enable obstacle avoidance
|
||||
* Temporary Parameter to enable interface testing
|
||||
|
||||
Reference in New Issue
Block a user