#pragma once #include "AC_PrecLand_config.h" #if AC_PRECLAND_SITL_ENABLED #include #include #include /* * AC_PrecLand_SITL - supplies vectors to a fake landing target */ class AC_PrecLand_SITL : public AC_PrecLand_Backend { public: // Constructor using AC_PrecLand_Backend::AC_PrecLand_Backend; // perform any required initialisation of backend void init() override; // retrieve updates from sensor void update() override; private: SITL::SIM *_sitl; // sitl instance pointer }; #endif // AC_PRECLAND_SITL_ENABLED