Udp connection Types

Hello not an issue but I think there should be some documentation or explanation on how Pymavlink’s udp types work. I spent yesterday trying to connect to a mavlink device with no luck because I had been using UDPIN instead of UDPOUT like I should have. Once that change was made I was all good but I think for other people who might have a an issue connecting with Pymavlink.

  • UDPIN is meant for listening on a certain Port typically the IP has to be the host machine otherwise you get an error.
  • UDPOUT is meant for sending messages to a specific IP and Port good for connecting to a different computer entirely.

I found this out trying to connect to a Herelink air unit over ethernet. QGC connected fine but my pymavlink program would not until I change the udp type to out.

Hope this helps someone in the future. I have also posted on the Cubepilot site as well.