I'm quiet new to APM, actually to Arduino and microcontrollers. However, the code seems to me to be clear and straightforward. I guess there is no official flow chart, but with some knowledge in C++ you should be able to get an own idea. The starting point of the program is in the file ArduPilotMega.pde. The program calls the function setup() and then it runs the function loop(). From there on it should be no problem to understand the rest. Functions are defined also in other pde files and/or in the library files.
Replies
Hi,
I'm quiet new to APM, actually to Arduino and microcontrollers. However, the code seems to me to be clear and straightforward. I guess there is no official flow chart, but with some knowledge in C++ you should be able to get an own idea. The starting point of the program is in the file ArduPilotMega.pde. The program calls the function setup() and then it runs the function loop(). From there on it should be no problem to understand the rest. Functions are defined also in other pde files and/or in the library files.
Andrés