From 6a8da06d19551ee3e630f3b55bb95c13015ff604 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 5 May 2015 21:29:01 +1000 Subject: [PATCH] HAL_SITL: hook in CRRCSim backend --- libraries/AP_HAL_SITL/SITL_cmdline.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libraries/AP_HAL_SITL/SITL_cmdline.cpp b/libraries/AP_HAL_SITL/SITL_cmdline.cpp index 2e25443b5a..c9f857e30b 100644 --- a/libraries/AP_HAL_SITL/SITL_cmdline.cpp +++ b/libraries/AP_HAL_SITL/SITL_cmdline.cpp @@ -16,6 +16,7 @@ #include #include #include +#include extern const AP_HAL::HAL& hal; @@ -49,12 +50,10 @@ static const struct { { "+", MultiCopter::create }, { "x", MultiCopter::create }, { "hexa", MultiCopter::create }, - { "hexax", MultiCopter::create }, { "octa", MultiCopter::create }, - { "octa-quad", MultiCopter::create }, { "heli", Helicopter::create }, { "rover", Rover::create }, - { "rover-skid",Rover::create } + { "crrcsim", CRRCSim::create } }; void SITL_State::_parse_command_line(int argc, char * const argv[]) @@ -144,7 +143,7 @@ void SITL_State::_parse_command_line(int argc, char * const argv[]) if (model_str && home_str) { for (uint8_t i=0; iset_speedup(speedup); _synthetic_clock_mode = true;