Packages

A helper layer on top of MAVLink for performing common commands and tasks with one or more remote vehicles. It can either be used as an API or directly from iex with an experience similar to Ardupilot's MAVProxy.

Current section

Files

Jump to
xmavlink_util lib mavlink_util supervisor.ex
Raw

lib/mavlink_util/supervisor.ex

defmodule XMAVLink.Util.Supervisor do
@moduledoc false
use Supervisor
def start_link(_) do
Supervisor.start_link(__MODULE__, [], name: :"MAVLink.Util.Supervisor")
end
@impl true
def init(_) do
children = [
{XMAVLink.Util.CacheManager, %{}},
{XMAVLink.Util.FocusManager, %{}}
]
Supervisor.init(children, strategy: :one_for_one)
end
end