Hi,
I want to add some algorithms for more efficient flight and industrial usage for ArduPlane. For example, sensing the gust loads and other aerodynamic effects to optimize Glide performance and hence, reducing fuel consumption, etc.
My research focus is Flight Dynamics and Aerodynamics and I can handle maths but I am new about code developing.
If there is a guide for customizing or adding code to Arduplane or a sample for customized or added code to Ardupilot and you can share with me, I would be grateful.
You could look into the code for TECS and make modifications from there. You could also use Lua scripting to create a quick test version of the control scheme without worrying about messing up the rest of the autopilot.