aboutsummaryrefslogtreecommitdiff
path: root/ROMFS/px4fmu_common/init.d/10018_tbs_endurance
diff options
context:
space:
mode:
Diffstat (limited to 'ROMFS/px4fmu_common/init.d/10018_tbs_endurance')
-rw-r--r--ROMFS/px4fmu_common/init.d/10018_tbs_endurance31
1 files changed, 31 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/10018_tbs_endurance b/ROMFS/px4fmu_common/init.d/10018_tbs_endurance
new file mode 100644
index 000000000..6619d14a7
--- /dev/null
+++ b/ROMFS/px4fmu_common/init.d/10018_tbs_endurance
@@ -0,0 +1,31 @@
+#!nsh
+#
+# Team Blacksheep Discovery Long Range Quadcopter
+#
+# Setup: 15 x 6.5" Props, 6S 4000mAh TBS LiPo, TBS 30A ESCs, TBS 400kV Motors
+#
+# Simon Wilks <simon@px4.io>
+#
+
+sh /etc/init.d/rc.mc_defaults
+
+if [ $DO_AUTOCONFIG == yes ]
+then
+ param set MC_ROLL_P 7.0
+ param set MC_ROLLRATE_P 0.07
+ param set MC_ROLLRATE_I 0.02
+ param set MC_ROLLRATE_D 0.003
+ param set MC_PITCH_P 7.0
+ param set MC_PITCHRATE_P 0.1
+ param set MC_PITCHRATE_I 0.05
+ param set MC_PITCHRATE_D 0.003
+ param set MC_YAW_P 2.8
+ param set MC_YAWRATE_P 0.4
+ param set MC_YAWRATE_I 0.1
+ param set MC_YAWRATE_D 0.0
+fi
+
+set MIXER FMU_quad_w
+
+set PWM_OUTPUTS 1234
+set PWM_MIN 1100