Trying to understand the source code (Pixracer)

Hi

I ordered a Pixracer but in the meantime I’ve been trying to understand the code. There is a mc_att_control module and there is also another one named mc_att_control_multiplatform.

What is the difference between these two and which one will get installed in my board?

How will QtCreator or whatever IDE I use know what to actually upload to my board? Is this what the CMake files take care of?

Is there anywhere I can learn more about how all of this works?

Thank you

1 Like

Hi Arnold

Welcome to PX4!
I don’t know about mc_att_control. The included commands are configured via cmake. For pixracer it’s this: https://github.com/PX4/Firmware/blob/master/cmake/configs/nuttx_px4fmu-v4_default.cmake

Documentation is under http://dev.px4.io and the source code itself.