mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 02:17:07 +08:00
A wrong parameter name in commander was responsible for manual override always ok
This commit is contained in:
@@ -1214,7 +1214,7 @@ int commander_thread_main(int argc, char *argv[])
|
||||
failsafe_lowlevel_timeout_ms = 0;
|
||||
param_get(param_find("SYS_FAILSAVE_LL"), &failsafe_lowlevel_timeout_ms);
|
||||
|
||||
param_t _param_sys_type = param_find("VEHICLE_TYPE");
|
||||
param_t _param_sys_type = param_find("MAV_TYPE");
|
||||
|
||||
/* welcome user */
|
||||
printf("[cmd] I am in command now!\n");
|
||||
|
||||
@@ -89,7 +89,7 @@ mixer_tick(void)
|
||||
/* too many frames without FMU input, time to go to failsafe */
|
||||
system_state.mixer_manual_override = true;
|
||||
system_state.mixer_fmu_available = false;
|
||||
lib_lowprintf("\nRX timeout\n");
|
||||
lib_lowprintf("RX timeout\n");
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user