ardupilot/ArduSub/AP_Arming_Sub.h

23 lines
575 B
C
Raw Normal View History

2017-02-27 17:12:56 -04:00
#pragma once
#include <AP_Arming/AP_Arming.h>
class AP_Arming_Sub : public AP_Arming {
public:
2018-03-05 16:37:52 -04:00
AP_Arming_Sub(const AP_AHRS &ahrs_ref, Compass &compass,
const AP_BattMonitor &battery)
2018-03-05 16:37:52 -04:00
: AP_Arming(ahrs_ref, compass, battery)
{
2017-02-27 17:12:56 -04:00
}
/* Do not allow copies */
AP_Arming_Sub(const AP_Arming_Sub &other) = delete;
AP_Arming_Sub &operator=(const AP_Arming_Sub&) = delete;
bool rc_calibration_checks(bool report) override;
bool pre_arm_checks(bool report) override;
2017-02-27 17:12:56 -04:00
protected:
2017-04-14 17:37:36 -03:00
bool ins_checks(bool report) override;
2017-02-27 17:12:56 -04:00
};