Fixed HIL enabling, renamed failsafe to better term "lockdown", made sure HIL is actually locking down system. Pending implementation of lockdown in PWM outputs

This commit is contained in:
Lorenz Meier
2012-09-10 00:11:09 +02:00
parent 6ea402efdc
commit 3140ba658a
4 changed files with 22 additions and 10 deletions
+1 -1
View File
@@ -313,7 +313,7 @@ int ardrone_interface_thread_main(int argc, char *argv[])
/* for now only spin if armed and immediately shut down
* if in failsafe
*/
if (armed.armed && !armed.failsafe) {
if (armed.armed && !armed.lockdown) {
ardrone_mixing_and_output(ardrone_write, &actuator_controls);
} else {
/* Silently lock down motor speeds to zero */