QGC source code explained

Hi everyone.
I am trying t go deep inside the source code of QGC, so i can later build my own application based on some features of the software that i will be choosing based on my needs.
I would like to ask you where can i find i full guide going through the code, in a way that it makes the code clear to me when reading it.
And if there is any advice you could give me, it will be much appreciated.
Thank you.


Hi, and thank you for your reply…
I will go through the guide

Not a ton of info there. But better than nothing

Hi everyone,

Does someone know how RTK streaming is implemented in QGroundControl? I could not find any reference to that in the development guide.

I was wondering if there was fixed base station implemented or if it is possible to add that in QGroundControl. This will help me attain the fixed RTK lock soon even if I have to restart QGroundControl.

QGC repo has changelog for new features/fixes going in: https://github.com/mavlink/qgroundcontrol/blob/master/ChangeLog.md.

3.5.0 - Daily Build

  • Add support for specifying fixed RTK based station location in Settings/General.
  • Added Airmap integration to QGC
  • Added ESTIMATOR_STATUS values to new estimatorStatus Vehicle FactGroup. These are now available to display in instrument panel.
  • Added Chinese and Turkish localization and partial German localization.
  • Make Distance to GCS available for display from instrument panel.
  • Make Heading to Home available for display from instrument panel.
  • Edit Position dialog available on polygon vertices.
  • Fixed Wing Landing Pattern: Add stop photo/video support. Defaults to on such that doing an RTL will stop camera.
  • Survey Planning: add mode that supports concave polygons
  • Support loading polygons from SHP files
1 Like

Hi @DonLakeFlyer,

That is so cool. Thank you.


Hi Oliver @oliver ,
I am also working on the souce to code to use it for my own purpose. I want to design a program using PX4 firmware in Pixhawk in order to made a quadrupled robot like boston dynamic LS3. I have just started now so i am at that stage where you are in August 11. So i just want to know did you get any relative solution that where to start from and how to make progress further in order to understand the code to edit and implement it on Pixhawk controller.
I you got any solution do help me.
Thank you.

Well after months of reading the code, i couldn’t find a method that could simplify the code, all i did is read the code and try to follow along the developer guide (it can help you to know where to start from) and do some debugging when i want to know a specific piece of code how it works…
Generally what helps is to focus on a specific topic and follow along the code related to it , and as i said try reading the developer guide it gives helpful tips on how the coding is made…
I encourage you to try first making a simple app to send/receive mavlink messages , and then go for bigger topics.
I hope this will be of any help to you.

1 Like