Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Ardupilot
GitHub Repository: Ardupilot/ardupilot
Path: blob/master/ArduPlane/AP_ExternalControl_Plane.h
9701 views
1
2
/*
3
external control library for plane
4
*/
5
#pragma once
6
7
#include <AP_ExternalControl/AP_ExternalControl.h>
8
9
#if AP_EXTERNAL_CONTROL_ENABLED
10
11
#include <AP_Common/Location.h>
12
13
class AP_ExternalControl_Plane : public AP_ExternalControl {
14
public:
15
/*
16
Sets the target global position for a loiter point.
17
*/
18
bool set_global_position(const Location& loc) override WARN_IF_UNUSED;
19
20
/*
21
Sets the target airspeed.
22
*/
23
bool set_airspeed(const float airspeed) override WARN_IF_UNUSED;
24
25
};
26
27
#endif // AP_EXTERNAL_CONTROL_ENABLED
28
29