Stormworks: Build and Rescue

Stormworks: Build and Rescue

57 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)
35 Comments
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?
NickName 12 Apr, 2024 @ 6:44am 
very very buggy. I want to use it for a turret but using this creates some force pushing my hull around
Nick Name 1 Dec, 2023 @ 5:52pm 
is there a way to make this work, but with small pivots and the phys sensor?
Ncplq 11 Nov, 2023 @ 6:09am 
https://steamproxy.net/id/fiz9/myworkshopfiles/?appid=573090
HI! I added an ability to invert rotation. If you add it to the original, I'll delete mine/
Breezing 24 Oct, 2023 @ 7:19pm 
can you use this to make boosters guidable from pivots