XMAVLink.Util.SITL (xmavlink v0.12.0)

Copy Markdown View Source

Provides SITL-specific support such as RC channel forwarding.

forward_rc/2 starts a linked task that subscribes to RC_CHANNELS_RAW messages and forwards the eight primary channels as little-endian 16-bit values to a SITL RC input UDP endpoint. Pass :router to target a named router and :destination_address to forward somewhere other than {127, 0, 0, 1}.

Summary

Functions

forward_rc(sitl_rc_in_port_or_opts \\ 5501, opts \\ [])

forward_rc(system_id, component_id, mavlink_version, sitl_rc_in_port, opts \\ [])