For my senior thesis project, I am going to be studying the control theory governing a fixed wing aircraft. I would like to implement my own control algorithms into the ArduPilot code.
I was wondering if someone could direct me to the portions of the code that I should be most concerned with.