Moving nav state from commander to navigator, WIP

This commit is contained in:
Anton Babushkin
2013-12-29 12:16:49 +04:00
parent 72d9c80ce9
commit 7e29028429
11 changed files with 249 additions and 692 deletions
@@ -316,7 +316,7 @@ mc_thread_main(int argc, char *argv[])
}
} else {
if (!control_mode.flag_control_auto_enabled) {
if (!control_mode.flag_control_attitude_enabled) {
/* no control, try to stay on place */
if (!control_mode.flag_control_velocity_enabled) {
/* no velocity control, reset attitude setpoint */