Stormworks: Build and Rescue

Stormworks: Build and Rescue

Ackermann steering controller example
31 Comments
Krolon 31 Aug, 2021 @ 2:35am 
oi oi oi I want to use the thing on a halftruck, and I'd like to do a cheeky thing in it and need to yoink some value out of the controller
messaged you on discord
MrNeutron  [author] 13 Apr, 2021 @ 12:20am 
Thx for the comment. Haven’t had those issues myself, I’ll have a look at it!
GrumpyOldMan 13 Apr, 2021 @ 12:16am 
Works great, the only ackermann controller I got to work.

Suffers from flipping wheels with bigger steering input (below -0.7 and above 0.7) and the steering angle option didn't seem to restrict the steering angle, easy to solve by multiplying the steering with a reduction of ~0.5 before feeding it into the controller, which also prevents the wheels from flipping with a bigger steering input.

Excellent controller otherwise, makes the wheels turn as expected, easy to invert axles and very simple to understand how to set it up.

Great work!
FAlty75 26 Aug, 2020 @ 8:53pm 
thank you so much for this
MrNeutron  [author] 18 Jul, 2020 @ 12:57am 
Yeah, gotta change that then. I’ll do it in a bit. Thanks for looking into it! (I had some tests on my hands at the time so sorry for the late response ;)
FacePwn64 29 May, 2020 @ 7:13pm 
After doing some testing, I believe the devs clamped steering angle to one radian or some approximation of it in each direction. I'm not sure if this affects your formula's calculations.
FacePwn64 29 May, 2020 @ 4:35pm 
So 60 degrees?
Bluejammer 29 May, 2020 @ 4:14pm 
The wheels turn 2/3 of a pivot with the same input.
FacePwn64 29 May, 2020 @ 2:11pm 
looks great, nice
now if only i could get a dev confirmation on the steering angle
MrNeutron  [author] 29 May, 2020 @ 12:01pm 
updated it
MrNeutron  [author] 29 May, 2020 @ 3:39am 
as for the max angle, nah I just took a screenshot from above and drew some lines in paint.net ;) It should still give a max steering output of one though.
MrNeutron  [author] 29 May, 2020 @ 3:36am 
oh, never noticed haha, i'll update it. thx!
FacePwn64 29 May, 2020 @ 2:39am 
Also, out of curiosity, have you determined with certainty that the maximum steering angle for wheels is 70 degrees?
FacePwn64 29 May, 2020 @ 2:38am 
Hello, thanks for the work. I noticed a flaw, however. For the sake of subtracting width, you have only 3x3 wheels for 2 blocks total, 5x5 wheels for 4 blocks' width, and 9x9 wheels for 6 blocks' width. 6 blocks' width should be for 7x7 (which you should add), and 9x9 would be 8 blocks' width.
Bluejammer 1 May, 2020 @ 5:16pm 
Thanks, I used this in my truck for 4 wheel steering.
ericxuanqk 14 Jan, 2020 @ 7:54pm 
NICE! Always wanted something like this
MrNeutron  [author] 12 Jan, 2020 @ 11:15pm 
Stormworks is really bad at updating your stuff, the game has to be closed most of the time
MrNeutron  [author] 12 Jan, 2020 @ 11:13pm 
Re download if it’s just one
MrNeutron  [author] 12 Jan, 2020 @ 11:13pm 
Hmm, it might’ve been the previous version that was acting up... if you spawn in the workshop item, are there two or just one vehicle spawning in?
Jonny Crash 12 Jan, 2020 @ 10:49pm 
also i think it would maybe just be better to use normal steering a/d on a seat instead
Jonny Crash 12 Jan, 2020 @ 10:08pm 
On the test vehicle the steering is delayed on one wheel (right) when steering both ways.
Its like this with other vehicles which causes the wheel to become stuck
MrNeutron  [author] 12 Jan, 2020 @ 4:17am 
now suitable for vehicles with more than one "steering" wheel!
MrNeutron  [author] 12 Jan, 2020 @ 1:59am 
Is the controller part of the vehicle? Cuz else the signals won’t get through
MrNeutron  [author] 12 Jan, 2020 @ 1:57am 
I’ve been working on a new one, so that will be up soon (1h)
MrNeutron  [author] 12 Jan, 2020 @ 1:50am 
Odd

Does it work on the test vehicle?
Jonny Crash 12 Jan, 2020 @ 1:22am 
oh, because i could not make the micro controller work at all
MrNeutron  [author] 12 Jan, 2020 @ 1:14am 
But eh, the micro controller’s settings tab is accessed with the arrow like tool where components turn blue yaknow? And then just click it
MrNeutron  [author] 12 Jan, 2020 @ 1:05am 
I’m hoping you’re not asking how to connect everything, cuz this is literally an example vehicle Lmao.
Jonny Crash 11 Jan, 2020 @ 9:44pm 
um how does this work?
MrNeutron  [author] 9 Jan, 2020 @ 5:00pm 
np, wanted to derust my trig a bit ;)
Bluejammer 9 Jan, 2020 @ 4:41pm 
Thank you! I made my own but I doubt it worked properly.