Scrap Mechanic

Scrap Mechanic

Not enough ratings
New PID for Modpack
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.698 MB
24 May, 2024 @ 12:45pm
20 Jun @ 7:59pm
3 Change Notes ( view )

Subscribe to download
New PID for Modpack

Description
An alternative (and better imo) PID controller for the modpack.

How to use:
1. subscribe
2. add the modpack and this mod to a world
3. use it like the normal modpack PID in the mathblock
4. profit

Can be swapped in with minor adjustments (and some re-tuning)
(this mod will overwrite the modpack's mathblock to implement the new PID. This means that a creation made with this mod WILL spawn in in a world without this mod (still with the modpack tho), it will just have a regular modpack mathblock instead but most likely be broken)

!!Having this mod installed MAY break existing creations that use PIDs!! (just remove this mod to fix them again)

In/outputs:
black: processvalue
white: setpoint

orange: kp
red: ki
purple: kd

3rd row orange: P-max
3rd row red: I-max
3rd row purple: D-max
cyan: output limit (for safety reasons to prevent your creation from flying into space)

yes, i'm aware that there is no icon for this mathblock because... this ♥♥♥♥♥♥♥ game...
i'll fix that ...sometime...




I just implemented a new PID, the credit for the rest of the code for the mathblock goes to the modpack team!