ardupilot/ArduPlane/AP_Arming.h

31 lines
721 B
C
Raw Normal View History

#pragma once
#include <AP_Arming/AP_Arming.h>
/*
a plane specific arming class
*/
class AP_Arming_Plane : public AP_Arming
{
public:
2018-03-05 16:37:35 -04:00
AP_Arming_Plane(const AP_AHRS &ahrs_ref, Compass &compass,
const AP_BattMonitor &battery)
2018-03-05 16:37:35 -04:00
: AP_Arming(ahrs_ref, compass, battery)
{
AP_Param::setup_object_defaults(this, var_info);
}
/* Do not allow copies */
AP_Arming_Plane(const AP_Arming_Plane &other) = delete;
AP_Arming_Plane &operator=(const AP_Arming_Plane&) = delete;
bool pre_arm_checks(bool report);
// var_info for holding Parameter information
static const struct AP_Param::GroupInfo var_info[];
protected:
bool ins_checks(bool report);
};