Controller Info feature#

command message olympe.messages.controller_info.barometer(pressure, timestamp, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#

controller_info.barometer

Controller barometer info

Parameters:
  • pressure (float) – Atmospheric pressure in Pa

  • timestamp (double) – Timestamp of the barometer info (in milliseconds), from a monotonic clock (not necessarily linked to utc clock)

  • _timeout (int) – command message timeout (defaults to 10)

  • _no_expect (bool) – if True for,do not expect the usual command expectation (defaults to False)

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

with an up to date firmware

ANAFI_UA:

with an up to date firmware

ANAFI USA:

with an up to date firmware

Result: The altitude of the controller is known by the drone. This command is not acknowledged by the drone.

command message olympe.messages.controller_info.barometer_v2(source, pressure, temperature, timestamp, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#

controller_info.barometer_v2

Controller barometer info

Parameters:
  • source (olympe.enums.controller_info.source) – Barometer data source.

  • pressure (float) – Atmospheric pressure in Pa

  • temperature (float) – Barometer sensor temperature in Kelvin. This field is only used when source is “main” or “auxiliary”

  • timestamp (u64) – Timestamp of the barometer info (in milliseconds), from a monotonic clock (not necessarily linked to utc clock)

  • _timeout (int) – command message timeout (defaults to 10)

  • _no_expect (bool) – if True for,do not expect the usual command expectation (defaults to False)

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

Result: The altitude of the controller is known by the drone. This command is not acknowledged by the drone.

command message olympe.messages.controller_info.barometer_v2_available_data(source, available_data, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#

controller_info.barometer_v2_available_data

Barometer available data.

Parameters:
  • source (olympe.enums.controller_info.source) – Barometer data source.

  • available_data (BitfieldOf(olympe.enums.controller_info.barometer_available_data, u16)) – Available data.

  • _timeout (int) – command message timeout (defaults to 10)

  • _no_expect (bool) – if True for,do not expect the usual command expectation (defaults to False)

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

Result: The drone will know which data are available in barometer_v2 command.

event message olympe.messages.controller_info.capabilities(supported_command=None, _policy='check_wait', _float_tol=(1e-07, 1e-09))#

controller_info.capabilities

capabilities

Parameters:
  • supported_command (BitfieldOf(olympe.enums.controller_info.supported_command, u8)) – Commands supported by the drone

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

with an up to date firmware

ANAFI_UA:

with an up to date firmware

ANAFI USA:

with an up to date firmware

Triggered At connection.

command message olympe.messages.controller_info.gps(latitude, longitude, altitude, horizontal_accuracy, vertical_accuracy, north_speed, east_speed, down_speed, timestamp, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#

controller_info.gps

Controller gps info. This command is not acknowledged by the drone.

Parameters:
  • latitude (double) – Latitude of the controller (in deg)

  • longitude (double) – Longitude of the controller (in deg)

  • altitude (float) – Altitude of the controller (in meters, according to sea level)

  • horizontal_accuracy (float) – Horizontal accuracy (in meter)

  • vertical_accuracy (float) – Vertical accuracy (in meter)

  • north_speed (float) – North speed (in meter per second)

  • east_speed (float) – East speed (in meter per second)

  • down_speed (float) – Vertical speed (in meter per second) (down is positive)

  • timestamp (double) – Timestamp of the gps info (in milliseconds), from a monotonic clock (not necessarily linked to utc clock)

  • _timeout (int) – command message timeout (defaults to 10)

  • _no_expect (bool) – if True for,do not expect the usual command expectation (defaults to False)

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

with an up to date firmware

ANAFI_UA:

with an up to date firmware

ANAFI USA:

with an up to date firmware

Result: The position of the controller is known by the drone. It can be used for RTH or FollowMe.

command message olympe.messages.controller_info.gps_v2(source, latitude, longitude, amsl_altitude, wgs84_altitude, latitude_accuracy, longitude_accuracy, altitude_accuracy, north_velocity, east_velocity, up_velocity, velocity_accuracy, number_of_satellites, timestamp, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#

controller_info.gps_v2

Controller gps info. This command is not acknowledged by the drone.

Parameters:
  • source (olympe.enums.controller_info.source) – Gps data source

  • latitude (double) – Latitude (in deg)

  • longitude (double) – Longitude (in deg)

  • amsl_altitude (float) – Altitude (in meters above the mean sea level)

  • wgs84_altitude (float) – Altitude (in meters above the WGS 84 ellipsoid)

  • latitude_accuracy (float) – Latitude accuracy (in meter)

  • longitude_accuracy (float) – Longitude accuracy (in meter)

  • altitude_accuracy (float) – Altitude accuracy (in meter)

  • north_velocity (float) – North velocity (in meter per second)

  • east_velocity (float) – East velocity (in meter per second)

  • up_velocity (float) – Vertical velocity (in meter per second) (positive when moving up)

  • velocity_accuracy (float) – Velocity accuracy (in meter per second)

  • number_of_satellites (u8) – The number of satellites

  • timestamp (u64) – Timestamp of the gps info (in milliseconds), from a monotonic clock (not necessarily linked to utc clock)

  • _timeout (int) – command message timeout (defaults to 10)

  • _no_expect (bool) – if True for,do not expect the usual command expectation (defaults to False)

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

with an up to date firmware

ANAFI_UA:

with an up to date firmware

ANAFI USA:

with an up to date firmware

Result: The position of the controller is known by the drone.

command message olympe.messages.controller_info.gps_v2_available_data(source, available_data, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#

controller_info.gps_v2_available_data

Gps available data.

Parameters:
  • source (olympe.enums.controller_info.source) – Gps data source

  • available_data (BitfieldOf(olympe.enums.controller_info.available_data, u16)) – Available data.

  • _timeout (int) – command message timeout (defaults to 10)

  • _no_expect (bool) – if True for,do not expect the usual command expectation (defaults to False)

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

with an up to date firmware

ANAFI_UA:

with an up to date firmware

ANAFI USA:

with an up to date firmware

Result: The drone will know which data are available in gps_v2 command.

command message olympe.messages.controller_info.magneto_temperature(temp, _timeout=10, _no_expect=False, _float_tol=(1e-07, 1e-09))#

controller_info.magneto_temperature

SkyController Magneto temperature in Kelvin.

Parameters:
  • temp (float) – SkyController magnetometer temperature

  • _timeout (int) – command message timeout (defaults to 10)

  • _no_expect (bool) – if True for,do not expect the usual command expectation (defaults to False)

  • _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 Every 1 second

event message olympe.messages.controller_info.validity_from_drone(is_valid=None, _policy='check_wait', _float_tol=(1e-07, 1e-09))#

controller_info.validity_from_drone

Controller gps validity viewed by the drone estimators

Parameters:
  • is_valid (u8) – Boolean. Whether the gps is valid (1) or not (0), as seen by the drone

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

with an up to date firmware

ANAFI_UA:

with an up to date firmware

ANAFI USA:

with an up to date firmware

Result: The controller gps validity as seen by the drone. Sent on status change and at connection.

enum olympe.enums.controller_info.available_data#

Available data.

amsl_altitude:

Altitude (in meters above the mean sea level) is available. (0)

wgs84_altitude:

Altitude above the WGS 84 ellipsoid is available. (1)

altitude_accuracy:

Altitude accuracy is available. (2)

north_velocity:

North velocity is available. (3)

east_velocity:

East velocity is available. (4)

up_velocity:

Up velocity is available. (5)

velocity_accuracy:

Velocity accuracy is available. (6)

number_of_satellites:

Number of satellites is available. (7)

enum olympe.enums.controller_info.barometer_available_data#

Available data for barometer.

pressure:

Atmospheric pressure in Pa. (0)

temperature:

Barometer sensor temperature in Kelvin. (1)

enum olympe.enums.controller_info.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.controller_info.source#

Source of data.

main:

Gps data are coming from main gps device. (0)

auxiliary:

Gps data are coming from an auxiliary gps device (1)

enum olympe.enums.controller_info.supported_command#

Command supported by drone.

gps:

Gps command is supported. (0)

gps_v2:

Gps v2 command is supported. (1)

barometer_v2:

Barometer v2 command is supported. (2)