AP_HAL_SITL: new Loweheiser generator/efi sim

This commit is contained in:
Peter Barker 2022-06-01 21:16:42 +10:00 committed by Andrew Tridgell
parent 72804196b1
commit 940b6fd1fb
3 changed files with 7 additions and 0 deletions

View File

@ -43,6 +43,7 @@
#include <SITL/SIM_PS_LightWare_SF45B.h>
#include <SITL/SIM_RichenPower.h>
#include <SITL/SIM_Loweheiser.h>
#include <SITL/SIM_FETtecOneWireESC.h>
#include <AP_HAL/utility/Socket_native.h>

View File

@ -222,6 +222,11 @@ SITL::SerialDevice *SITL_State_Common::create_serial_sim(const char *name, const
sitl_model->set_adsb(adsb);
return sagetech_mxs;
#endif
#if AP_SIM_LOWEHEISER_ENABLED
} else if (streq(name, "loweheiser")) {
sitl_model->set_loweheiser(&_sitl->loweheiser_sim);
return &_sitl->loweheiser_sim;
#endif
#if !defined(HAL_BUILD_AP_PERIPH)
} else if (streq(name, "richenpower")) {
sitl_model->set_richenpower(&_sitl->richenpower_sim);

View File

@ -49,6 +49,7 @@
#include <SITL/SIM_PS_LightWare_SF45B.h>
#include <SITL/SIM_RichenPower.h>
#include <SITL/SIM_Loweheiser.h>
#include <SITL/SIM_FETtecOneWireESC.h>
#include "AP_HAL_SITL.h"