CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/libraries/AC_PrecLand/AC_PrecLand_SITL_Gazebo.h
Views: 1798
1
#pragma once
2
3
#include "AC_PrecLand_config.h"
4
5
#if AC_PRECLAND_SITL_GAZEBO_ENABLED
6
7
#include <AC_PrecLand/AC_PrecLand_Backend.h>
8
#include <AP_Math/AP_Math.h>
9
#include <AP_IRLock/AP_IRLock_SITL_Gazebo.h>
10
11
/*
12
* AC_PrecLand_SITL_Gazebo - implements precision landing using target
13
* vectors provided Gazebo via a network socket
14
*/
15
16
class AC_PrecLand_SITL_Gazebo : public AC_PrecLand_Backend
17
{
18
public:
19
20
// Constructor
21
AC_PrecLand_SITL_Gazebo(const AC_PrecLand& frontend, AC_PrecLand::precland_state& state);
22
23
// perform any required initialisation of backend
24
void init() override;
25
26
// retrieve updates from sensor
27
void update() override;
28
29
private:
30
AP_IRLock_SITL_Gazebo irlock;
31
};
32
33
#endif // AC_PRECLAND_SITL_GAZEBO_ENABLED
34
35