Show HN: Rocket Thrust Vectoring Control Simulator in the Browser
codesandbox.io
codesandbox.io
This uses a simple PID controller to bring the rocket to any angle you want from an initial angle. There's a lot of settings that can be changed and variables to play around with. Right now, It's configured to do sort of what starlink does during it's flip maneuver.
Anyways just thought I'd share!
Saw you have an option to add torque noise. I tried adding some accelerometer noise (Just added some randomness to the input angle to doPID) and got some nice oscillations. Maybe this might affect your PID loop on a real rocket depending on how fast you're running the PID loop vs. polling the accelerometer/gyro?
uPlot is a cool library, I use it on a few projects :)
Do you mind if I send you an email? Based on Cygnus and the Baja telemetry tool you have public on your Github I'd be really interested in getting your feedback about the project. It might be something that you'd find useful on your projects :)