QGroundControl Custom Plugin Sending MAVLink Messages

Hey all,

I’m currently attempting to develop a custom plugin for QGC to add a couple fun features, however I can’t seem to figure out how to send a MAVLink message to a connected vehicle!

I’ve determine the rest of what I need to know for my plugin - what functions I want to override, what slots I want to connect to… I know very little about developing Qt UI so have that upcoming.

I assume there’s a slot somewhere I have to connect to for sending MAVLink messages, but I’ve looked in the Vehicle class, UAS, and through most of the Comm system, and I’ve yet to find a slot which appears to provide the functionality I’m hunting! Can anyone give me an idea of how to send a MAVLink message to the vehicle from my plugin?

Thanks!