AP_HAL_SITL: remove -A --adsb argument, feature is now always enabled controlled by param

This commit is contained in:
Tom Pittenger 2016-06-14 20:49:47 -07:00
parent f2b5f5f4a5
commit 52fcc36249

View File

@ -51,7 +51,6 @@ void SITL_State::_usage(void)
"\t--instance N set instance of SITL (adds 10*instance to all port numbers)\n" "\t--instance N set instance of SITL (adds 10*instance to all port numbers)\n"
"\t--speedup SPEEDUP set simulation speedup\n" "\t--speedup SPEEDUP set simulation speedup\n"
"\t--gimbal enable simulated MAVLink gimbal\n" "\t--gimbal enable simulated MAVLink gimbal\n"
"\t--adsb enable simulated ADSB peripheral\n"
"\t--autotest-dir DIR set directory for additional files\n" "\t--autotest-dir DIR set directory for additional files\n"
"\t--uartA device set device string for UARTA\n" "\t--uartA device set device string for UARTA\n"
"\t--uartB device set device string for UARTB\n" "\t--uartB device set device string for UARTB\n"
@ -131,7 +130,6 @@ void SITL_State::_parse_command_line(int argc, char * const argv[])
CMDLINE_UARTD, CMDLINE_UARTD,
CMDLINE_UARTE, CMDLINE_UARTE,
CMDLINE_UARTF, CMDLINE_UARTF,
CMDLINE_ADSB,
CMDLINE_RTSCTS, CMDLINE_RTSCTS,
CMDLINE_DEFAULTS CMDLINE_DEFAULTS
}; };
@ -154,7 +152,6 @@ void SITL_State::_parse_command_line(int argc, char * const argv[])
{"uartE", true, 0, CMDLINE_UARTE}, {"uartE", true, 0, CMDLINE_UARTE},
{"client", true, 0, CMDLINE_CLIENT}, {"client", true, 0, CMDLINE_CLIENT},
{"gimbal", false, 0, CMDLINE_GIMBAL}, {"gimbal", false, 0, CMDLINE_GIMBAL},
{"adsb", false, 0, CMDLINE_ADSB},
{"autotest-dir", true, 0, CMDLINE_AUTOTESTDIR}, {"autotest-dir", true, 0, CMDLINE_AUTOTESTDIR},
{"defaults", true, 0, CMDLINE_DEFAULTS}, {"defaults", true, 0, CMDLINE_DEFAULTS},
{"rtscts", false, 0, CMDLINE_RTSCTS}, {"rtscts", false, 0, CMDLINE_RTSCTS},
@ -207,9 +204,6 @@ void SITL_State::_parse_command_line(int argc, char * const argv[])
case CMDLINE_GIMBAL: case CMDLINE_GIMBAL:
enable_gimbal = true; enable_gimbal = true;
break; break;
case CMDLINE_ADSB:
enable_ADSB = true;
break;
case CMDLINE_RTSCTS: case CMDLINE_RTSCTS:
_use_rtscts = true; _use_rtscts = true;
break; break;