mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 06:53:33 +08:00
Fix the index numbers and command max travel in the app for the drop servo.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user