|
|
|
@ -2982,7 +2982,7 @@ set_control_mode()
@@ -2982,7 +2982,7 @@ set_control_mode()
|
|
|
|
|
/* set vehicle_control_mode according to set_navigation_state */ |
|
|
|
|
control_mode.flag_armed = armed.armed; |
|
|
|
|
control_mode.flag_external_manual_override_ok = (!status.is_rotary_wing && !status.is_vtol); |
|
|
|
|
//control_mode.flag_system_hil_enabled = status.hil_state == vehicle_status_s::HIL_STATE_ON;
|
|
|
|
|
control_mode.flag_system_hil_enabled = status.hil_state == vehicle_status_s::HIL_STATE_ON; |
|
|
|
|
control_mode.flag_control_offboard_enabled = false; |
|
|
|
|
|
|
|
|
|
switch (status.nav_state) { |
|
|
|
|