XMAVLink.Util.FocusManager (xmavlink_util v0.4.3)

View Source

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.

Summary

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

focus()

focus(pid)

focus(system_id, component_id \\ 1)

start_link(state, opts \\ [])