mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 08:53:34 +08:00
commander: make auto disarm timeout float
such that fractions of a second are configurable
This commit is contained in:
@@ -108,7 +108,7 @@ then
|
||||
param set SENS_DPRES_OFF 0.001
|
||||
param set CBRK_AIRSPD_CHK 0
|
||||
|
||||
param set COM_DISARM_LAND 3
|
||||
param set COM_DISARM_LAND 0.1
|
||||
param set COM_OBL_ACT 2
|
||||
param set COM_OBL_RC_ACT 0
|
||||
param set COM_OF_LOSS_T 5
|
||||
|
||||
@@ -14,7 +14,7 @@ if [ $AUTOCNF == yes ]
|
||||
then
|
||||
param set BAT_N_CELLS 3
|
||||
|
||||
param set COM_DISARM_LAND 5
|
||||
param set COM_DISARM_LAND 5.0
|
||||
param set COM_RC_IN_MODE 1
|
||||
|
||||
param set EKF2_AID_MASK 1
|
||||
|
||||
@@ -25,7 +25,7 @@ then
|
||||
param set BAT_N_CELLS 4
|
||||
param set BAT_R_INTERNAL 0.0025
|
||||
|
||||
param set COM_DISARM_LAND 5
|
||||
param set COM_DISARM_LAND 5.0
|
||||
|
||||
param set VT_TYPE 2
|
||||
param set VT_MOT_COUNT 4
|
||||
|
||||
@@ -32,7 +32,7 @@ then
|
||||
|
||||
# takeoff, land and RTL settings
|
||||
param set MIS_TAKEOFF_ALT 4.0
|
||||
param set COM_DISARM_LAND 1
|
||||
param set COM_DISARM_LAND 1.0
|
||||
param set RTL_LAND_DELAY 1
|
||||
param set RTL_DESCEND_ALT 5.0
|
||||
param set RTL_RETURN_ALT 15.0
|
||||
|
||||
@@ -23,7 +23,7 @@ if [ $AUTOCNF == yes ]
|
||||
then
|
||||
# Set all params here, then disable autoconfig
|
||||
|
||||
param set COM_DISARM_LAND 3
|
||||
param set COM_DISARM_LAND 3.0
|
||||
|
||||
param set LNDMC_Z_VEL_MAX 2.0000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user