API Reference xmavlink v#0.14.3

Copy Markdown View Source

Modules

Common 3.0 generated by MAVLink mix task from common.xml

Behaviour implemented by generated MAVLink dialect modules.

Represent and work with MAVLink v1/2 message frames

MAVLink 2 signed-frame trailer.

Emits MAVLink HEARTBEAT messages on a configurable interval.

Parse a mavlink xml file into an idiomatic Elixir representation

Connect to serial, udp and tcp ports and listen for, validate and forward MAVLink messages towards their destinations on other connections and/or Elixir processes subscribing to messages.

Stateful MAVLink 2 signing policy helpers.

Core types that remain the same across dialects.

Convenience helpers for arming and disarming a focused or explicit vehicle.

Cached latest MAVLink message with monotonic receive time metadata.

Cached latest MAVLink parameter value with monotonic receive time metadata.

Cached metadata for one visible MAVLink system/component.

Populate and keep updated a set of protected ETS tables representing

Utility-layer runtime context.

Manage a protected ETS table representing the nominated MAV focus of zero or more local PIDs. The API uses this to streamline iex sessions by letting the user select a MAV to work with and transparently adding {system_id, component_id} tuples to call arguments.

Convenience helper for requesting a vehicle's full parameter list.

Convenience helper for setting cached MAVLink parameters.

Provides SITL-specific support such as RC channel forwarding.

Supervisor for opt-in utility processes.

Utility ETS table name helpers.

MAVLink support functions used during code generation and runtime Parts of this module are ported from corresponding implementations in mavutils.py

Mix Tasks