Stormworks: Build and Rescue

Stormworks: Build and Rescue

62 ratings
Velocity Pivot to Robotic Pivot
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Mechanical
Microcontrollers: Microcontroller
Tags: v0.10.17
File Size
Posted
Updated
29.121 KB
9 Feb, 2020 @ 5:08pm
10 May, 2020 @ 6:03pm
6 Change Notes ( view )

Subscribe to download
Velocity Pivot to Robotic Pivot

Description
Turns a velocity pivot into a fully configurable robotic one.

By default, it'll behave just like a robotic pivot, except much faster while remaining smooth.

Here's all the configuration options and what they do:
  1. Pivot Gear Ratio - Set this to your pivot's gear ratio
  2. Rotation Limit - Enables rotation limiting
  3. Max & Min Degrees - Can be independently adjusted
  4. Relative Mode - If on, it'll map a 0 to 1 or -1 to 1 input onto the min/max range set before. If off, it'll take an absolute input in full turns, clamped to the limits.
  5. Relative Input - Sets the relative input range, as mentioned before.
  6. Positive/Negative Rotation Time - Individually set the time it takes for it to move from current to target position
  7. Speed Limit - Set a speed limit in RPS. It is ignored if at 0
  8. PID Multiplier - Multiplies the PID output. (I only recommend lowering this, if the default of 1x has instability)
39 Comments
DootGod 15 Jul @ 9:26pm 
Hey, just wondering, I'm pasting this into a microcontroller of my own (this build is going on the workshop, I'll give credit) and I need two of these. Will having two systems pasted into the same microcontroller cause any issues?
B4B4C1K 5 Apr @ 10:12am 
useless
MeowStart 10 Feb @ 9:58pm 
nevermind it does't work with compact
MeowStart 10 Feb @ 9:31pm 
u are a lifesaver
Spongbob 29 Dec, 2024 @ 5:41pm 
can this be clamped?
EphainKartur 7 Nov, 2024 @ 1:57pm 
* there is some logic between the throttle lever and the chair axes, to convert the chair axis controls into on/off, to go into the throttle levers
EphainKartur 7 Nov, 2024 @ 1:56pm 
im using this for a turret im making (it works great after a little bit of tuning, i have it going from chair axis -> throttle lever -> this controller -> pivot), however, im thinking of cutting out the greater than, less than, and switchbox logic, as well as the throttle lever, and keeping the rotation continuous. but, im unsure what to do. does the controller allow continuous rotation? really, i need the controller to accept on/off inputs for positive /negative rotation, rather than a number, and the sensitivity for this motion to be tuneable.
Grande1900 15 Jun, 2024 @ 7:08am 
@CRUSADER that's because lua can directly read properties without needing a connection
Crusader 7 May, 2024 @ 12:25am 
Well, the rotation limit can't be turned off, went in to check, and it's not even connected to anything, 👍
LionsFan20 21 Apr, 2024 @ 12:26pm 
Does this work for Compact Velocity Pivots and Turret Rings?