Customize Arduplane and add New Flight Algoritms

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.

I am open to any recommendations. Thanks!

1 Like

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.

1 Like

If you haven’t seen it yet, there is some wiki info for new developers here: https://ardupilot.org/dev/docs/learning-the-ardupilot-codebase.html

1 Like

@Samuel_Tabor is an expert on that, he wrote the Ardupilot soaring stuff. I’m sure he’d love to hear your ideas!