aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Wilks <sjwilks@gmail.com>2014-08-14 16:43:49 +0200
committerSimon Wilks <sjwilks@gmail.com>2014-08-14 16:43:49 +0200
commit0c78794e5729d17a4649b567899cf9492a498c2b (patch)
treecaee12ccd3291b83ba781e2d60e76b4ec853cd5e /src
parenteabddaa6159e26209008f5b0947af3e5d76fc9f8 (diff)
downloadpx4-firmware-0c78794e5729d17a4649b567899cf9492a498c2b.tar.gz
px4-firmware-0c78794e5729d17a4649b567899cf9492a498c2b.tar.bz2
px4-firmware-0c78794e5729d17a4649b567899cf9492a498c2b.zip
Fix the index numbers and command max travel in the app for the drop servo.
Diffstat (limited to 'src')
-rw-r--r--src/modules/bottle_drop/bottle_drop.cpp4
1 files changed, 2 insertions, 2 deletions
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();