mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 03:43:33 +08:00
Fix the index numbers and command max travel in the app for the drop servo.
This commit is contained in:
@@ -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