How to read message from Navio autopilot connection?

if name == “main”:
conn = MavlinkConnection(‘udp:192.168.0.102:14550’, threaded=False, PX4=False)

I have the connection to my autopilot by calling above MavlinkConnection method, can someone help me to read attributes from my autopilot through this connection?

Hi Santosh,

Do you use PX4 or Ardupilot?

Have you tried steps described in this guide to read MAVlink messages?

Navio 2

Yes, we know that, but do you use Ardupilot stack or PX4 stack.

Ardupilot stack is the one on the Emlid Navio2 image.

Ardupilot

Hi Santosh,

What commands have you already tried?

You can check this example that sends and receives MAVLing messages over UDP.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.