Fix the index numbers and command max travel in the app for the drop servo.

This commit is contained in:
Simon Wilks
2014-08-14 16:43:49 +02:00
parent eabddaa615
commit 0c78794e57
2 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -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();