Controller Info feature

command messageolympe.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

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

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

command messageolympe.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

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

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

enumolympe.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)