i need help. whenever i get to high speed, it begins to oscillate the control surfaces like mad and i cant stop it, decreasing P in the PID makes it smoother but it has no response, and increasing integral doesnt do much apart from make it way too unstable (overshoots)
is derative gain also broken? all it does is make my control surfaces spaz out.
link to my jet is attached:
https://www.simpleplanes.com/a/igxhRU/EJ-F-37-Eagle-II
my aim is to have it limited to 9-10g, it has way too much thrust lol
i'm assuming that it limits its total output so it doesn't have as much authority as it used to - this has given another issue of pulling more G past that speed but i can just use my stick less or stay below that speed lol
it works, tysm. i will now upload the updated version
@11qazxc rgr
Try to increase D gain of PID to make it work correctly at some specific speed
Then add
/max(1,pow(IAS/X,2))
to the end of code,X
here is speed at which it works correctly (in meters per second).Clickable link if anyone wants to help lol