#include <AP_Arming.h>
|
enum | ArmingChecks {
ARMING_CHECK_NONE = 0x0000,
ARMING_CHECK_ALL = 0x0001,
ARMING_CHECK_BARO = 0x0002,
ARMING_CHECK_COMPASS = 0x0004,
ARMING_CHECK_GPS = 0x0008,
ARMING_CHECK_INS = 0x0010,
ARMING_CHECK_PARAMETERS = 0x0020,
ARMING_CHECK_RC = 0x0040,
ARMING_CHECK_VOLTAGE = 0x0080,
ARMING_CHECK_BATTERY = 0x0100,
ARMING_CHECK_AIRSPEED = 0x0200,
ARMING_CHECK_LOGGING = 0x0400,
ARMING_CHECK_SWITCH = 0x0800,
ARMING_CHECK_GPS_CONFIG = 0x1000
} |
|
enum | ArmingMethod { NONE = 0,
RUDDER,
MAVLINK
} |
|
enum | ArmingRequired { NO = 0,
YES_MIN_PWM = 1,
YES_ZERO_PWM = 2
} |
|
Definition at line 10 of file AP_Arming.h.
◆ ArmingChecks
Enumerator |
---|
ARMING_CHECK_NONE | |
ARMING_CHECK_ALL | |
ARMING_CHECK_BARO | |
ARMING_CHECK_COMPASS | |
ARMING_CHECK_GPS | |
ARMING_CHECK_INS | |
ARMING_CHECK_PARAMETERS | |
ARMING_CHECK_RC | |
ARMING_CHECK_VOLTAGE | |
ARMING_CHECK_BATTERY | |
ARMING_CHECK_AIRSPEED | |
ARMING_CHECK_LOGGING | |
ARMING_CHECK_SWITCH | |
ARMING_CHECK_GPS_CONFIG | |
Definition at line 12 of file AP_Arming.h.
◆ ArmingMethod
Enumerator |
---|
NONE | |
RUDDER | |
MAVLINK | |
Definition at line 29 of file AP_Arming.h.
◆ ArmingRequired
Enumerator |
---|
NO | |
YES_MIN_PWM | |
YES_ZERO_PWM | |
Definition at line 35 of file AP_Arming.h.
◆ AP_Arming()
◆ airspeed_checks()
bool AP_Arming::airspeed_checks |
( |
bool |
report | ) |
|
|
protected |
◆ arm()
bool AP_Arming::arm |
( |
uint8_t |
method | ) |
|
|
virtual |
◆ arm_checks()
bool AP_Arming::arm_checks |
( |
uint8_t |
method | ) |
|
◆ arming_required()
◆ barometer_checks()
bool AP_Arming::barometer_checks |
( |
bool |
report | ) |
|
|
protectedvirtual |
◆ battery_checks()
bool AP_Arming::battery_checks |
( |
bool |
report | ) |
|
|
protected |
◆ board_voltage_checks()
bool AP_Arming::board_voltage_checks |
( |
bool |
report | ) |
|
|
protectedvirtual |
◆ compass_checks()
bool AP_Arming::compass_checks |
( |
bool |
report | ) |
|
|
protectedvirtual |
◆ compass_magfield_expected()
uint16_t AP_Arming::compass_magfield_expected |
( |
| ) |
const |
◆ disarm()
bool AP_Arming::disarm |
( |
| ) |
|
◆ get_enabled_checks()
uint16_t AP_Arming::get_enabled_checks |
( |
| ) |
|
◆ gps_checks()
bool AP_Arming::gps_checks |
( |
bool |
report | ) |
|
|
protectedvirtual |
◆ hardware_safety_check()
bool AP_Arming::hardware_safety_check |
( |
bool |
report | ) |
|
|
protected |
◆ ins_checks()
bool AP_Arming::ins_checks |
( |
bool |
report | ) |
|
|
protectedvirtual |
◆ is_armed()
bool AP_Arming::is_armed |
( |
| ) |
|
◆ logging_checks()
bool AP_Arming::logging_checks |
( |
bool |
report | ) |
|
|
protected |
◆ manual_transmitter_checks()
bool AP_Arming::manual_transmitter_checks |
( |
bool |
report | ) |
|
|
protected |
◆ pre_arm_checks()
bool AP_Arming::pre_arm_checks |
( |
bool |
report | ) |
|
|
virtual |
◆ rc_calibration_checks()
bool AP_Arming::rc_calibration_checks |
( |
bool |
report | ) |
|
|
protectedvirtual |
◆ rc_checks_copter_sub()
bool AP_Arming::rc_checks_copter_sub |
( |
bool |
display_failure, |
|
|
const RC_Channel * |
channels[4], |
|
|
const bool |
check_min_max = true |
|
) |
| const |
|
protected |
◆ servo_checks()
bool AP_Arming::servo_checks |
( |
bool |
report | ) |
const |
|
protected |
◆ _battery
◆ _compass
◆ _min_voltage
◆ accel_error_threshold
AP_Float AP_Arming::accel_error_threshold |
|
protected |
◆ ahrs
◆ armed
◆ arming_method
uint8_t AP_Arming::arming_method |
|
protected |
◆ checks_to_perform
AP_Int16 AP_Arming::checks_to_perform |
|
protected |
Definition at line 69 of file AP_Arming.h.
Referenced by airspeed_checks(), arm(), arm_checks(), barometer_checks(), battery_checks(), board_voltage_checks(), compass_checks(), get_enabled_checks(), gps_checks(), hardware_safety_check(), ins_checks(), logging_checks(), manual_transmitter_checks(), and rc_checks_copter_sub().
◆ last_accel_pass_ms
◆ last_gyro_pass_ms
◆ logging_available
bool AP_Arming::logging_available |
|
protected |
◆ require
AP_Int8 AP_Arming::require |
|
protected |
◆ var_info
The documentation for this class was generated from the following files: