Path: blob/master/libraries/AC_PrecLand/AC_PrecLand_SITL_Gazebo.h
9842 views
#pragma once12#include "AC_PrecLand_config.h"34#if AC_PRECLAND_SITL_GAZEBO_ENABLED56#include <AC_PrecLand/AC_PrecLand_Backend.h>7#include <AP_Math/AP_Math.h>8#include <AP_IRLock/AP_IRLock_SITL_Gazebo.h>910/*11* AC_PrecLand_SITL_Gazebo - implements precision landing using target12* vectors provided Gazebo via a network socket13*/1415class AC_PrecLand_SITL_Gazebo : public AC_PrecLand_Backend16{17public:1819// Constructor20AC_PrecLand_SITL_Gazebo(const AC_PrecLand& frontend, AC_PrecLand::precland_state& state);2122// perform any required initialisation of backend23void init() override;2425// retrieve updates from sensor26void update() override;2728private:29AP_IRLock_SITL_Gazebo irlock;30};3132#endif // AC_PRECLAND_SITL_GAZEBO_ENABLED333435