I have written a QT progrom to send achieve my personal goals, and now I want to get sensor information(leak sensor ,camrea,et al) from rov, I have known that QGC can do that , but I want a lightweight client to read these informations. And QGC using mavlink to communicate with raspberry Pi, I know the key point is to know the protocol in the communication. But now I have no idea how to do that, is anybody can give me some instruction to finish my work? Thanks for your reading, any word would help me!
I have read this link, but I still have no idea how to do my job.
Is there some github source code(form QGroudControl) can be my reference？
And is something like communication diagram there can help me to understand how the communicate between raspberry pi and QGC work?
Thanks for your reply, I am sincerely grateful!
Did you take a look in the oficial mavlink example ? There is a couple of snippets that can be used to decode mavlink messages via serial or UDP that explain the basic functionality.