i will release the code when im done (if anyone wants it)
wasnt working for me for some reason, kept putting wings on and even though it spun it produced no lift
You could also replace the wings with flaps and tilt them for faster thrust changing
After doing a bunch of cpp, code without strict type declarations makes me feel squeamish,
also one issue with this alt-hold is that the values need to be tweaked based on mass
the same settings will not work on a massive ship as it will “rubber band” way more
but like for my massive airship the target Y is 35 and with those settings it overshoots all the way to ~65
:clueless:
it doesn’t understand it needs to look further ahead and make more aggressive changes
it may be excessive since I messed around and tweaked the values in a strange way but my PID values for a 1,000 ton ship are 5, 1, 7 respectively
with those PID settings the ship only drifts roughly 1/100th of a block before switching direction
image.png
so if your goal is a one size fits all alt-hold then you need to account for mass
This conversation is on Discord · Reply there
image.png