2014-12-02 05:30:26 -04:00
|
|
|
#!nsh
|
|
|
|
|
|
|
|
set VEHICLE_TYPE vtol
|
|
|
|
|
2014-12-18 05:43:32 -04:00
|
|
|
if [ $AUTOCNF == yes ]
|
2014-12-02 05:30:26 -04:00
|
|
|
then
|
|
|
|
param set MC_ROLL_P 6.0
|
|
|
|
param set MC_PITCH_P 6.0
|
|
|
|
param set MC_YAW_P 4
|
2015-03-15 08:00:48 -03:00
|
|
|
|
2016-02-03 09:18:42 -04:00
|
|
|
#
|
|
|
|
# Default parameters for mission and position handling
|
|
|
|
#
|
2016-02-01 07:13:14 -04:00
|
|
|
param set NAV_ACC_RAD 3
|
2016-02-03 09:18:42 -04:00
|
|
|
param set MPC_TKO_SPEED 1.0
|
|
|
|
param set MPC_LAND_SPEED 0.7
|
2017-03-21 10:19:11 -03:00
|
|
|
param set MPC_Z_VEL_MAX_DN 1.5
|
2016-02-03 09:18:42 -04:00
|
|
|
param set MPC_XY_VEL_MAX 4.0
|
2016-02-14 06:57:16 -04:00
|
|
|
param set MIS_YAW_TMT 10
|
2016-02-28 10:57:21 -04:00
|
|
|
param set MPC_ACC_HOR_MAX 2.0
|
2016-03-23 08:34:25 -03:00
|
|
|
param set RTL_LAND_DELAY 0
|
2014-12-02 05:30:26 -04:00
|
|
|
fi
|
|
|
|
|
2016-03-01 04:36:23 -04:00
|
|
|
# set environment variables (!= parameters)
|
|
|
|
set PWM_RATE 400
|