mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 19:43:34 +08:00
36 lines
648 B
Bash
36 lines
648 B
Bash
#!/bin/sh
|
|
#
|
|
# @name Hexacopter SITL model for JSBSim
|
|
#
|
|
# @type Hexarotor x
|
|
#
|
|
# @maintainer Jaeyoung Lim <jaeyoung@auterion.com>
|
|
#
|
|
|
|
. ${R}etc/init.d/rc.mc_defaults
|
|
|
|
if [ $AUTOCNF = yes ]
|
|
then
|
|
param set MC_PITCHRATE_P 0.1
|
|
param set MC_PITCHRATE_I 0.05
|
|
param set MC_PITCH_P 6.0
|
|
param set MC_ROLLRATE_P 0.15
|
|
param set MC_ROLLRATE_I 0.1
|
|
param set MC_ROLL_P 6.0
|
|
param set MPC_XY_VEL_I_ACC 4
|
|
param set MPC_XY_VEL_P_ACC 3
|
|
|
|
param set RTL_DESCEND_ALT 10
|
|
param set RTL_LAND_DELAY 0
|
|
|
|
param set TRIG_INTERFACE 3
|
|
param set TRIG_MODE 4
|
|
param set MNT_MODE_IN 4
|
|
param set MNT_DO_STAB 2
|
|
param set MAV_PROTO_VER 2
|
|
fi
|
|
|
|
set MAV_TYPE 13
|
|
|
|
set MIXER hexa_x
|