Alarms feature#

event message olympe.messages.alarms.alarms(type=None, state=None, list_flags=None, _policy='check_wait', _float_tol=(1e-07, 1e-09))#

alarms.alarms

List of alarms raised.

Parameters:
  • type (olympe.enums.alarms.type) – Alarm type.

  • state (olympe.enums.alarms.state) – Alarm state.

  • list_flags (BitfieldOf(olympe.enums.alarms.list_flags, u8)) –

  • _policy (olympe.arsdkng.expectations.ExpectPolicy) – specify how to check the expectation. Possible values are ‘check’, ‘wait’ and ‘check_wait’ (defaults to ‘check_wait’)

  • _float_tol (tuple) – specify the float comparison tolerance, a 2-tuple containing a relative tolerance float value and an absolute tolerate float value (default to (1e-07, 1e-09)). See python 3 stdlib math.isclose documentation for more information

Supported by:

ANAFI:

with an up to date firmware

ANAFI Thermal:

with an up to date firmware

ANAFI_UA:

with an up to date firmware

ANAFI USA:

with an up to date firmware

ANAFI Ai:

with an up to date firmware

Triggered At connection; on changes.

event message olympe.messages.alarms.takeoff_checklist(check=None, state=None, list_flags=None, _policy='check_wait', _float_tol=(1e-07, 1e-09))#

alarms.takeoff_checklist

List of checks for takeoff_ready.

Parameters:
  • check (olympe.enums.alarms.takeoff_checklist_type) – Takeoff ready check type.

  • state (olympe.enums.alarms.state) – State of check, “on” means there is an event that prevents takeoff.

  • list_flags (BitfieldOf(olympe.enums.alarms.list_flags, u8)) –

  • _policy (olympe.arsdkng.expectations.ExpectPolicy) – specify how to check the expectation. Possible values are ‘check’, ‘wait’ and ‘check_wait’ (defaults to ‘check_wait’)

  • _float_tol (tuple) – specify the float comparison tolerance, a 2-tuple containing a relative tolerance float value and an absolute tolerate float value (default to (1e-07, 1e-09)). See python 3 stdlib math.isclose documentation for more information

Supported by:

ANAFI:

with an up to date firmware

ANAFI Thermal:

with an up to date firmware

ANAFI_UA:

with an up to date firmware

ANAFI USA:

with an up to date firmware

ANAFI Ai:

with an up to date firmware

Triggered At connection; on changes.

enum olympe.enums.alarms.list_flags#

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages

First:

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages (0)

Last:

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages (1)

Empty:

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages (2)

Remove:

Arsdk built-in “list_flags” enum that is used to in “LIST_ITEM” event messages (3)

enum olympe.enums.alarms.state#

Alarm state.

Enum aliases:

enum olympe.enums.alarms.takeoff_checklist_type#

takeoff readiness checks.

update_ongoing:

Firmware update is ongoing. (0)

gyro:

Gyro health check. (1)

magneto:

Magneto health check. (2)

baro:

Barometer health check. (3)

gps:

GPS check. (4)

ultrasound:

Ultrasound check. (5)

vcam:

VCAM check. (6)

vertical_tof:

Vertical TOF check. (7)

cellular_flashing:

Cellular modem flashing check. (8)

drone_inclination_too_high:

Drone inclination check. (9)

battery_critical:

Battery level check. (10)

battery_identification:

Battery identification check. (11)

battery_is_connected:

Battery USB connection check. (12)

battery_is_too_hot:

Battery temperature check. (13)

battery_is_too_cold:

Battery temperature check. (14)

battery_old_fw:

Battery update needed check. (15)

magneto_calibration:

Magneto calibration check. (16)

battery_lost_comm:

Battery lost comm. (17)

dri:

Drone Remote Identification check. (18)

enum olympe.enums.alarms.type#

Alarm type.

user_emergency:

User emergency alert. (0)

motor_cutout:

Motor Cut out alert. (1)

drone_inclination_too_high:

The angle of the drone is too high. (2)

magneto_perturbation:

Magnetometer is disturbed by a magnetic element. (3)

magneto_low_earth_field:

Local terrestrial magnetic field is too weak. (4)

horizontal_geofence_reached:

Geofence horizontal reached alert. (5)

vertical_geofence_reached:

Geofence vertical reached alert. (6)

freefall_detected:

freefall detected. (7)

fstcam_decalibrated:

Stereo camera is decalibrated. (8)

dri_failing:

DRI is not functional. (9)

video_dsp_fault:

Video Signal Processing is not available. (10)