[PX4] Not receiving custom MAVLink message on mission computer (Pymavlink) (ESP32 → PX4 over UART; data visible in PX4 logs)

Hi all

I’m pushing sensor data from an ESP32 to PX4 over UART using a custom MAVLink message. I can see the values in PX4 logs (dmesg), so the message is making it onto the flight controller.

However, on the mission computer (where I installed pymavlink compiled with the same custom message), I’m not receiving the custom message. I also sniffed traffic with Wireshark and don’t see any packets corresponding to my custom message.

Questions

  1. Do I need to create a separate MAVLink stream class in PX4 to emit my custom message to QGC/mission computer?

  2. can I forward it directly to QGC without a new stream class?

    • If yes, how should I format the MAVLink message on the ESP32 so PX4 will forward it as-is to QGC/MC?

Yes you need create a stream class

1 Like

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