Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Lua Linear Clutch Control v2
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Mechanical
Microcontrollers: Calculation, Modular, Microcontroller
Tags: v0.9.31
File Size
Posted
Updated
34.181 KB
23 Jan, 2020 @ 7:32am
31 Jan, 2020 @ 2:47am
3 Change Notes ( view )

Subscribe to download
Lua Linear Clutch Control v2

Description
This micro controller converts values of 0-1 to values that will result in a linear scale of torque transference making other automated control systems such as PIDs behave much more nicely, it could also be used in clutch controlled helicopters or in a pinch in clutch steering for tracked vehicles.

Features in version 2

Clamping (optional defaults to on)
Higher resolution lookup table
klure optimizations (optional defaults to off and default values for small diesels)

klure optimizations is a way to avoid the clutches slowing down your engine,if you notice that your engine struggles above a certain value in the normal clutch operation set the klure number to that specific percentage and enable klure optimizations. The default of 8 is for small diesel engines.

Other suggestions are welcome and will be put into the consideration.

Thank you klureman for the suggestion!
3 Comments
Herro 1357 29 Apr, 2021 @ 10:15am 
Yeah, have enconterd some problems but i modifyed the code a bit and built some extra logic arround it and its working, huge thanks
Plampt kisser  [author] 27 Apr, 2021 @ 2:37pm 
There are a few things to think about, are you using the modular engine clutch the code is not adapted to them and it may not even be needed.
If there isn't specific need to have a linear scale of the clutch i would recommend against it.
And last are you capable of rewriting some of the lua? The settings are read in a specialized way and if you just copy over the lua block it won't work.

If neither of those prevent you then sure go ahead.
Herro 1357 27 Apr, 2021 @ 8:55am 
Would it be okay if I integrated this into a microcontroller i will use for a line of outboard engines that i will upload to the workshop as plug and play for any boat?? I will link you as a creator :)