Github Link [github.com]
Microcontroller Workshop Collection
Thanks to SentyFunBall for all their help with my lua journey.
Thanks to Trapdoor for the PID function.
This is a twin rudder stabilizer for boats written in lua based on the math of this Roll/Pitch Stabilizer for Ships workshop creation by Aldi Süd
Will remove from listing if deemed to be a rip off, but I feel it is transformative enough to justify.
Same controls as before, have two rudders facing positive upward in the stern and connect each relevant output.
Updated to use a single physics sensor and slim down the footprint as well as do all the math in lua.
Depreciated due to bad math and a better version. See Lua Pitch/Roll/Yaw Naval Stabilizer v1 for improved/working version.
Keeping this here for posterity.