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/AP_EFI/AP_EFI_MAV.h
Views: 1798
1
/*
2
This program is free software: you can redistribute it and/or modify
3
it under the terms of the GNU General Public License as published by
4
the Free Software Foundation, either version 3 of the License, or
5
(at your option) any later version.
6
This program is distributed in the hope that it will be useful,
7
but WITHOUT ANY WARRANTY; without even the implied warranty of
8
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9
GNU General Public License for more details.
10
You should have received a copy of the GNU General Public License
11
along with this program. If not, see <http://www.gnu.org/licenses/>.
12
*/
13
14
#pragma once
15
16
#include "AP_EFI_config.h"
17
18
#if AP_EFI_MAV_ENABLED
19
20
#include "AP_EFI.h"
21
#include "AP_EFI_Backend.h"
22
23
class AP_EFI_MAV : public AP_EFI_Backend {
24
public:
25
using AP_EFI_Backend::AP_EFI_Backend;
26
27
void update() override;
28
29
void handle_EFI_message(const mavlink_message_t &msg) override;
30
31
private:
32
bool receivedNewData;
33
};
34
35
#endif // AP_EFI_MAV_ENABLED
36
37