From 36131179d33d164c3475f649a6b743f3e99e7844 Mon Sep 17 00:00:00 2001 From: barzanisar Date: Wed, 23 May 2018 00:39:28 +0200 Subject: [PATCH] adding airframe config for s500 (#9342) --- ROMFS/px4fmu_common/init.d/4014_s500 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 ROMFS/px4fmu_common/init.d/4014_s500 diff --git a/ROMFS/px4fmu_common/init.d/4014_s500 b/ROMFS/px4fmu_common/init.d/4014_s500 new file mode 100644 index 0000000000..cf65af24a6 --- /dev/null +++ b/ROMFS/px4fmu_common/init.d/4014_s500 @@ -0,0 +1,23 @@ +#!nsh +# +# @name S500 +# +# @type Quadrotor x +# @class Copter +# +# @maintainer Lorenz Meier +# + +sh /etc/init.d/4001_quad_x + +if [ $AUTOCNF == yes ] +then + param set MC_ROLL_P 6.5 + param set MC_ROLLRATE_P 0.18 + param set MC_ROLLRATE_I 0.15 + param set MC_ROLLRATE_D 0.003 + param set MC_PITCH_P 6.5 + param set MC_PITCHRATE_P 0.18 + param set MC_PITCHRATE_I 0.15 + param set MC_PITCHRATE_D 0.003 +fi