Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/master/Blimp/AP_Arming.h
Views: 1798
#pragma once12#include <AP_Arming/AP_Arming.h>34class AP_Arming_Blimp : public AP_Arming5{6public:7friend class Blimp;8friend class ToyMode;910AP_Arming_Blimp() : AP_Arming()11{12// default REQUIRE parameter to 1 (Blimp does not have an13// actual ARMING_REQUIRE parameter)14require.set_default((uint8_t)Required::YES_MIN_PWM);15}1617/* Do not allow copies */18CLASS_NO_COPY(AP_Arming_Blimp);1920bool rc_calibration_checks(bool display_failure) override;2122bool disarm(AP_Arming::Method method, bool do_disarm_checks=true) override;23bool arm(AP_Arming::Method method, bool do_arming_checks=true) override;2425protected:2627bool pre_arm_checks(bool display_failure) override;28bool pre_arm_ekf_attitude_check();29bool arm_checks(AP_Arming::Method method) override;3031// mandatory checks that cannot be bypassed. This function will only be called if ARMING_CHECK is zero or arming forced32bool mandatory_checks(bool display_failure) override;3334// NOTE! the following check functions *DO* call into AP_Arming:35bool ins_checks(bool display_failure) override;36bool gps_checks(bool display_failure) override;37bool barometer_checks(bool display_failure) override;38bool board_voltage_checks(bool display_failure) override;3940// NOTE! the following check functions *DO NOT* call into AP_Arming!41bool parameter_checks(bool display_failure);42bool motor_checks(bool display_failure);43bool oa_checks(bool display_failure);44bool mandatory_gps_checks(bool display_failure);45bool gcs_failsafe_check(bool display_failure);46bool alt_checks(bool display_failure);4748void set_pre_arm_check(bool b);4950private:5152// actually contains the pre-arm checks. This is wrapped so that53// we can store away success/failure of the checks.54bool run_pre_arm_checks(bool display_failure);5556};575859