From 28f7c72ce4e9cdbe8423b2d2e5b3cbfdc3e28943 Mon Sep 17 00:00:00 2001
From: James Goppert <james.goppert@gmail.com>
Date: Thu, 14 Apr 2016 13:07:30 -0400
Subject: [PATCH] Added config for dji matrice 100.

---
 .../px4fmu_common/init.d/4060_dji_matrice_100 | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 ROMFS/px4fmu_common/init.d/4060_dji_matrice_100

diff --git a/ROMFS/px4fmu_common/init.d/4060_dji_matrice_100 b/ROMFS/px4fmu_common/init.d/4060_dji_matrice_100
new file mode 100644
index 0000000000..cde9432b15
--- /dev/null
+++ b/ROMFS/px4fmu_common/init.d/4060_dji_matrice_100
@@ -0,0 +1,23 @@
+#!nsh
+#
+# @name DJI Matrice 100
+#
+# @type Quadrotor x
+#
+# @output AUX1 feed-through of RC AUX1 channel
+# @output AUX2 feed-through of RC AUX2 channel
+# @output AUX3 feed-through of RC AUX3 channel
+#
+# @maintainer James Goppert <james.goppert@gmail.com>
+#
+
+sh /etc/init.d/4001_quad_x
+
+if [ $AUTOCNF == yes ]
+then
+	param set MC_ROLLRATE_P 0.05
+	param set MC_ROLLRATE_D 0.001
+	param set MC_PITCHRATE_P 0.05
+	param set MC_PITCHRATE_D 0.001
+	param set BAT_N_CELLS 6
+fi
-- 
GitLab