aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2015-04-26 16:28:41 +0200
committerLorenz Meier <lm@inf.ethz.ch>2015-05-04 13:02:29 +0200
commitf76d693592a8043e8f2f25202d49a9c207ee7cc2 (patch)
treef8658833135d3047ddd93a701fe052eff196f076
parentda7754e9c7a3d22e15a091802ff7b05b475f9703 (diff)
downloadpx4-firmware-f76d693592a8043e8f2f25202d49a9c207ee7cc2.tar.gz
px4-firmware-f76d693592a8043e8f2f25202d49a9c207ee7cc2.tar.bz2
px4-firmware-f76d693592a8043e8f2f25202d49a9c207ee7cc2.zip
TBS Disco config: Enable manual pass-through
-rw-r--r--ROMFS/px4fmu_common/init.d/10015_tbs_discovery7
-rw-r--r--ROMFS/px4fmu_common/mixers/pass.aux.mix21
2 files changed, 28 insertions, 0 deletions
diff --git a/ROMFS/px4fmu_common/init.d/10015_tbs_discovery b/ROMFS/px4fmu_common/init.d/10015_tbs_discovery
index 2c7c0d68e..0dd483764 100644
--- a/ROMFS/px4fmu_common/init.d/10015_tbs_discovery
+++ b/ROMFS/px4fmu_common/init.d/10015_tbs_discovery
@@ -28,3 +28,10 @@ set MIXER quad_w
set PWM_OUT 1234
set PWM_MIN 1200
+
+set MIXER_AUX pass
+set PWM_AUX_RATE 50
+set PWM_AUX_OUT 1234
+set PWM_AUX_DISARMED 1000
+set PWM_AUX_MIN 1000
+set PWM_AUX_MAX 2000
diff --git a/ROMFS/px4fmu_common/mixers/pass.aux.mix b/ROMFS/px4fmu_common/mixers/pass.aux.mix
new file mode 100644
index 000000000..8e7011f0e
--- /dev/null
+++ b/ROMFS/px4fmu_common/mixers/pass.aux.mix
@@ -0,0 +1,21 @@
+# Manual pass through mixer for servo outputs 1-4
+
+# AUX1 channel (select RC channel with RC_MAP_AUX1 param)
+M: 1
+O: 10000 10000 0 -10000 10000
+S: 3 5 10000 10000 0 -10000 10000
+
+# AUX2 channel (select RC channel with RC_MAP_AUX2 param)
+M: 1
+O: 10000 10000 0 -10000 10000
+S: 3 6 10000 10000 0 -10000 10000
+
+# AUX3 channel (select RC channel with RC_MAP_AUX3 param)
+M: 1
+O: 10000 10000 0 -10000 10000
+S: 3 7 10000 10000 0 -10000 10000
+
+# FLAPS channel (select RC channel with RC_MAP_FLAPS param)
+M: 1
+O: 10000 10000 0 -10000 10000
+S: 3 4 10000 10000 0 -10000 10000