Hello!
I am currently working on a custom controller for a flying wing aircraft. I have edited the SIM_Plane.cpp file to create my own frame with my own coefficients and an altered dynamic model. I did not model thrust, instead using the thrust that is sent as an input and adding it to the force vector resulting from the dynamic model, just like in the default SITL simulation. For debugging purposes, and possibly to change the motor characteristics to make it closer to my real aircraft, I would like to find where thrust is computed, but I haven’t had any luck so far in finding the file or function which models it.
Thank you for any help.