Stormworks: Build and Rescue

Stormworks: Build and Rescue

Horizontal Stabilizer
22 Comments
(No19) LexusLuthor 3 Jul @ 9:58am 
can this work for the turret ring block
l0891.超纪飞侠 23 Apr @ 2:14pm 
is there a way to merge the control speed and the stabilizer PID in/output?
The Thing 1 Mar @ 12:33pm 
thanks, this works and made my turret not spin like a microwave
Zeke 17 Feb @ 7:24am 
without stabiliser the turret doesn't move at all and with the stabiliser it doesn't snap its very floaty and is not precise
Crolin 20 Aug, 2024 @ 2:25pm 
The rotation arrows are correct, positive clockwise but the gun just keeps spinning left
President Luigi 6 Jun, 2023 @ 5:07pm 
How did you come up with the math to make this work?
kylonr 11 Feb, 2023 @ 7:14pm 
am I able to make the stab off when I spawn?
Novum33 24 May, 2022 @ 1:43pm 
Very shakey
Lazakamikaza  [author] 12 Dec, 2021 @ 11:41pm 
Very nice. Im surprised people are still finding this stabilizer and using it as it is almost a year old by now

And yea im guessing your turret is just a fraction the weight of my original tanks turret (The one in the video clip)
Benbalooky 12 Dec, 2021 @ 8:54pm 
Hey Laza, I wanted to describe my troubleshooting here so others can try what I did if they have a similar issue.

I have good news. In my troubleshooting I discovered two issues: The first one is that the platform the velocity pivot benefits from being rigid. If it wiggles around too much the stabilizer overcorrects like I described. Small attachments come in handy in this regard.

The second, and best thing I did was lowering the integral gain on the PID. I took it from 0.1 all the way down to 0.0008. If this seems drastic it is because the turret I'm using is quite small, so it is very sensitive. The other two values, proportional and derivative gain, were left at their default values.

During some extreme maneuvering the oscillations return. Toggling the stabilizer off then on has corrected this issue every time. Thank you!
Lazakamikaza  [author] 12 Dec, 2021 @ 5:04am 
@Benbalooky it might have to do with the turret size, the original stabilizer was built for quite a large tank turret. Try lowering all the PID values inside the MC by some small amount and it should start working fine again, just be sure to not lower them too much as that might lead to it undercompensating. If i ever make a new version of this ill be sure to add a property setting for overall "sensitivity" as a multiplier for the pid values. DM me on steam if you have more issues with it :steamthumbsup:
Benbalooky 11 Dec, 2021 @ 8:24pm 
Stabilizer works great... For a while. It starts to wiggle back and forth and it gets worse and worse as time goes on! The turret is slung under a helicopter-type vehicle so I'm wondering if tat has something to do with it. It seems like the turret is over-correcting. It goes too far one way then I think the controller is telling it to swing really fast back the other way. Is there a way to fix this oscillation? Thank you!
Osama bin Laden 3 Dec, 2021 @ 4:17pm 
Whenever its in terrain At high Speed's I press A/D it goes spinning
Lazakamikaza  [author] 12 Oct, 2021 @ 2:52pm 
@SLAV check the example creation linked in the description at the bottom :steamthumbsup:
oblast 12 Oct, 2021 @ 2:08pm 
@Lazakamikaza can you make a vertical stabilizer
Lazakamikaza  [author] 25 Sep, 2021 @ 7:31am 
@GalonisMannen you probably accidentally flipped either the velocity pivot or the angular speed sensor, positive arrow on both should face clockwise
GalonisMannen 25 Sep, 2021 @ 6:39am 
As soon as i spawn my tank, the turrest just starts to spin, hlep
ACE 6 Sep, 2021 @ 1:21am 
what transmission are you using?
Shillelagh 3 Mar, 2021 @ 6:22pm 
This math is too big brain for me to make myself. Thanks!
abv.titan 25 Feb, 2021 @ 2:57am 
The tank that comes out is in the store?
Oltsu 25 Feb, 2021 @ 1:20am 
yes