mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 19:03:33 +08:00
Moving nav state from commander to navigator, WIP
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user