aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xROMFS/px4fmu_common/mixers/Viper.mix8
-rw-r--r--src/modules/bottle_drop/bottle_drop.cpp4
2 files changed, 7 insertions, 5 deletions
diff --git a/ROMFS/px4fmu_common/mixers/Viper.mix b/ROMFS/px4fmu_common/mixers/Viper.mix
index b05a8c8b0..5a0381bd8 100755
--- a/ROMFS/px4fmu_common/mixers/Viper.mix
+++ b/ROMFS/px4fmu_common/mixers/Viper.mix
@@ -58,12 +58,14 @@ Inputs to the mixer come from channel group 2 (payload), channels 0
M: 1
O: 10000 10000 0 -10000 10000
-S: 2 4 10000 10000 0 -10000 10000
+S: 2 0 10000 10000 0 -10000 10000
M: 1
O: 10000 10000 0 -10000 10000
-S: 2 5 10000 10000 0 -10000 10000
+S: 2 1 10000 10000 0 -10000 10000
M: 1
O: 10000 10000 0 -10000 10000
-S: 2 6 10000 10000 0 -10000 10000
+S: 2 2 -10000 -10000 0 -10000 10000
+
+
diff --git a/src/modules/bottle_drop/bottle_drop.cpp b/src/modules/bottle_drop/bottle_drop.cpp
index e73f36163..e5acc3c7e 100644
--- a/src/modules/bottle_drop/bottle_drop.cpp
+++ b/src/modules/bottle_drop/bottle_drop.cpp
@@ -267,9 +267,9 @@ BottleDrop::drop()
}
if (_drop && _doors_opened != 0 && hrt_elapsed_time(&_doors_opened) < 500000) {
- _actuators.control[2] = -0.5f;
+ _actuators.control[2] = -1.0f;
} else {
- _actuators.control[2] = 0.5f;
+ _actuators.control[2] = 1.0f;
}
_drop_time = hrt_absolute_time();