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/ArduSub/AP_Arming_Sub.h
Views: 1798
1
#pragma once
2
3
#include <AP_Arming/AP_Arming.h>
4
5
class AP_Arming_Sub : public AP_Arming {
6
public:
7
8
AP_Arming_Sub() : AP_Arming() { }
9
10
/* Do not allow copies */
11
CLASS_NO_COPY(AP_Arming_Sub);
12
13
bool rc_calibration_checks(bool display_failure) override;
14
bool pre_arm_checks(bool display_failure) override;
15
bool has_disarm_function() const;
16
17
bool disarm(AP_Arming::Method method, bool do_disarm_checks=true) override;
18
bool arm(AP_Arming::Method method, bool do_arming_checks=true) override;
19
20
protected:
21
bool ins_checks(bool display_failure) override;
22
};
23
24