Skip to content

Add mavlink forwarding #774

Description

@1Blademaster

Add the option to forward mavlink packets to an ip address https://ardupilot.org/mavproxy/docs/getting_started/forwarding.html. This shouldn't be in the main user view, perhaps in a section of the menu bar (can name it "Other" or "Advanced" and group it with the link status popout as well).

Outputs are udpout:IP:PORT and tcpout:IP:PORT. Open output with mavutil.mavlink_connection(uri) and send packets with:

m = master.recv_msg()
buf = m.get_msgbuf()   # raw bytes
dst.write(buf)

Forwarding should restart automatically on new connection.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions