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/Rover/AP_Arming.h
Views: 1798
1
#pragma once
2
3
#include <AP_Arming/AP_Arming.h>
4
#include <AC_Fence/AC_Fence.h>
5
6
/*
7
a rover-specific arming class
8
*/
9
class AP_Arming_Rover : public AP_Arming
10
{
11
public:
12
13
AP_Arming_Rover() : AP_Arming() { }
14
15
/* Do not allow copies */
16
CLASS_NO_COPY(AP_Arming_Rover);
17
18
bool pre_arm_checks(bool report) override;
19
bool arm_checks(AP_Arming::Method method) override;
20
bool rc_calibration_checks(const bool display_failure) override;
21
bool gps_checks(bool display_failure) override;
22
23
bool disarm(AP_Arming::Method method, bool do_disarm_checks=true) override;
24
bool arm(AP_Arming::Method method, bool do_arming_checks=true) override;
25
26
void update_soft_armed();
27
28
protected:
29
// the following check functions do not call into AP_Arming
30
bool oa_check(bool report);
31
bool parameter_checks(bool report);
32
bool mode_checks(bool report);
33
bool motor_checks(bool report);
34
35
};
36
37