mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-07 19:01:36 +08:00
28 lines
499 B
Bash
28 lines
499 B
Bash
#!/bin/sh
|
|
#
|
|
# @name 3DR Iris Quadrotor SITL
|
|
#
|
|
# @type Quadrotor Wide
|
|
#
|
|
# @maintainer Julian Oes <julian@oes.ch>
|
|
#
|
|
|
|
sh /etc/init.d/rc.mc_defaults
|
|
|
|
if [ $AUTOCNF = yes ]
|
|
then
|
|
param set MC_ROLLRATE_P 18.0
|
|
param set MC_ROLLRATE_D 0.36
|
|
param set MC_PITCHRATE_P 18.0
|
|
param set MC_PITCHRATE_D 0.36
|
|
param set MC_YAWRATE_P 7.0
|
|
param set MC_YAWRATE_D 0.0
|
|
|
|
param set VM_INERTIA_XX 0.0083
|
|
param set VM_INERTIA_YY 0.0083
|
|
param set VM_INERTIA_ZZ 0.0286
|
|
fi
|
|
set MIXER quad_w
|
|
|
|
vehicle_model_estimator start
|