POI feature#

event message olympe.messages.poi.info(missing_inputs=None, _policy='check_wait', _float_tol=(1e-07, 1e-09))#

poi.info

Describes the missing inputs which prevent from starting a point of interest.

Parameters:
  • missing_inputs (BitfieldOf(olympe.enums.poi.indicator, u32)) – List of missing requirements to start a point of interest. If at least one input is missing, drone won’t be able to start a point of interest.

  • _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 Ai:

with an up to date firmware

Triggered During connection and when the list of missing requirements changes.

enum olympe.enums.poi.indicator#

Indicators needed to start an animation.

drone_gps:

Drone gps is not fixed. (0)

drone_magneto:

Drone magneto is not valid. (1)

drone_geofence:

Drone is out of geofence. (2)

drone_min_altitude:

Drone is under min altitude. (3)

drone_max_altitude:

Drone is above max altitude. (4)

drone_flying:

Drone is not flying. (5)

target_position_accuracy:

Target position has a bad accuracy. (6)

target_image_detection:

Target image detection is not working. (7)

drone_target_distance_min:

Drone is too close to target. (8)

drone_target_distance_max:

Drone is too far from target. (9)

target_horiz_speed:

Target horizontal speed is too high. (10)

target_vert_speed:

Target vertical speed is too high. (11)

target_altitude_accuracy:

Target altitude has a bad accuracy. (12)

drone_battery:

Drone battery is insufficient. (13)

drone_state:

Drone is not in a valid state. (14)

enum olympe.enums.poi.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)