Browse Source

HAL_SITL: default model for replay

zr-v5.1
Andrew Tridgell 4 years ago
parent
commit
f966e92d99
  1. 5
      libraries/AP_HAL_SITL/SITL_cmdline.cpp

5
libraries/AP_HAL_SITL/SITL_cmdline.cpp

@ -272,6 +272,11 @@ void SITL_State::_parse_command_line(int argc, char * const argv[]) @@ -272,6 +272,11 @@ void SITL_State::_parse_command_line(int argc, char * const argv[])
{0, false, 0, 0}
};
#if APM_BUILD_TYPE(APM_BUILD_Replay)
model_str = "quad";
HALSITL::UARTDriver::_console = true;
#endif
if (asprintf(&autotest_dir, SKETCHBOOK "/Tools/autotest") <= 0) {
AP_HAL::panic("out of memory");
}

Loading…
Cancel
Save