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-04-26 16:28:41 +0200
commit5228bf9ed03f1cc184a370b90e5452cb2d633b48 (patch)
treec47a4049dc81860c6480c63fbfd818f98213e1be
parentecbff2885c6af9be03c97422fa62b4bc03a772ce (diff)
downloadpx4-firmware-manual_passthrough.tar.gz
px4-firmware-manual_passthrough.tar.bz2
px4-firmware-manual_passthrough.zip
TBS Disco config: Enable manual pass-throughmanual_passthrough
-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