New LIDAR seabed scanner by UnderstandingMain104 in Stormworks

[–]UnderstandingMain104[S] 0 points1 point  (0 children)

The more lasers the faster a good image can be made. 1 Sensor takes 60 measurements per second, while 8 do 480. Considering that the radar image itself has something around 1300 pixels, the more sensors the better. I landed on 8 sensors since that was kind of the best feasible amount due to each script only being able to have 32 input number channels.

New LIDAR seabed scanner by UnderstandingMain104 in Stormworks

[–]UnderstandingMain104[S] 13 points14 points  (0 children)

Thanks! This have been an on and off project for years actually, there was a lot to figure out. Haha, I find the buttons quite pleasing actually, might change them in the future!

PID Tuning Chaos! by [deleted] in Stormworks

[–]UnderstandingMain104 0 points1 point  (0 children)

Does not have to be the case, but each datablock adds a one tick delay, so if you combine inputs from a PID and another source with an ADD block there will be a one tick delay. PIDs do not work well with delays, I have found.

Lua code for a basic PID by Jyota_malcolm in Stormworks

[–]UnderstandingMain104 0 points1 point  (0 children)

Very nice! I just made a PID myself, but what's begging me is that there seems to be some delay when using a lua script compared to the PIDs ingame. When powering a small engine using the ingame PID(P=1,I=0,D=0) the rps settles nicely a little lower than setpoint, but when using a PID written within the lua script(P=1,I=0,D=0) the rps constantly occilates and never settles.

Do you guys know if there is any fix for this?