Core

class mavsdk.core.ConnectionState(uuid, is_connected)

Bases: object

Connection state type.

Parameters
  • uuid (uint64_t) – UUID of the vehicle

  • is_connected (bool) – Whether the vehicle got connected or disconnected

class mavsdk.core.Core(async_plugin_manager)

Bases: mavsdk._base.AsyncBase

Access to the connection state and running plugins.

Generated by dcsdkgen - MAVSDK Core API

connection_state()

Subscribe to ‘connection state’ updates.

Yields

connection_state (ConnectionState) – Connection state

async list_running_plugins()

Get a list of currently running plugins.

Returns

plugin_info – Plugin info

Return type

[PluginInfo]

name = 'Core'
class mavsdk.core.PluginInfo(name, address, port)

Bases: object

Plugin info type.

Parameters
  • name (std::string) – Name of the plugin

  • address (std::string) – Address where the plugin is running

  • port (int32_t) – Port where the plugin is running