Stormworks: Build and Rescue

Stormworks: Build and Rescue

Ackermann steering controller example
31 条留言
Krolon 2021 年 8 月 31 日 上午 2:35 
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  [作者] 2021 年 4 月 13 日 上午 12:20 
Thx for the comment. Haven’t had those issues myself, I’ll have a look at it!
GrumpyOldMan 2021 年 4 月 13 日 上午 12:16 
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 2020 年 8 月 26 日 下午 8:53 
thank you so much for this
MrNeutron  [作者] 2020 年 7 月 18 日 上午 12:57 
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 2020 年 5 月 29 日 下午 7:13 
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 2020 年 5 月 29 日 下午 4:35 
So 60 degrees?
Bluejammer 2020 年 5 月 29 日 下午 4:14 
The wheels turn 2/3 of a pivot with the same input.
FacePwn64 2020 年 5 月 29 日 下午 2:11 
looks great, nice
now if only i could get a dev confirmation on the steering angle
MrNeutron  [作者] 2020 年 5 月 29 日 下午 12:01 
updated it
MrNeutron  [作者] 2020 年 5 月 29 日 上午 3:39 
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  [作者] 2020 年 5 月 29 日 上午 3:36 
oh, never noticed haha, i'll update it. thx!
FacePwn64 2020 年 5 月 29 日 上午 2:39 
Also, out of curiosity, have you determined with certainty that the maximum steering angle for wheels is 70 degrees?
FacePwn64 2020 年 5 月 29 日 上午 2:38 
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 2020 年 5 月 1 日 下午 5:16 
Thanks, I used this in my truck for 4 wheel steering.
ericxuanqk 2020 年 1 月 14 日 下午 7:54 
NICE! Always wanted something like this
MrNeutron  [作者] 2020 年 1 月 12 日 下午 11:15 
Stormworks is really bad at updating your stuff, the game has to be closed most of the time
MrNeutron  [作者] 2020 年 1 月 12 日 下午 11:13 
Re download if it’s just one
MrNeutron  [作者] 2020 年 1 月 12 日 下午 11:13 
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 2020 年 1 月 12 日 下午 10:49 
also i think it would maybe just be better to use normal steering a/d on a seat instead
Jonny Crash 2020 年 1 月 12 日 下午 10:08 
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  [作者] 2020 年 1 月 12 日 上午 4:17 
now suitable for vehicles with more than one "steering" wheel!
MrNeutron  [作者] 2020 年 1 月 12 日 上午 1:59 
Is the controller part of the vehicle? Cuz else the signals won’t get through
MrNeutron  [作者] 2020 年 1 月 12 日 上午 1:57 
I’ve been working on a new one, so that will be up soon (1h)
MrNeutron  [作者] 2020 年 1 月 12 日 上午 1:50 
Odd

Does it work on the test vehicle?
Jonny Crash 2020 年 1 月 12 日 上午 1:22 
oh, because i could not make the micro controller work at all
MrNeutron  [作者] 2020 年 1 月 12 日 上午 1:14 
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  [作者] 2020 年 1 月 12 日 上午 1:05 
I’m hoping you’re not asking how to connect everything, cuz this is literally an example vehicle Lmao.
Jonny Crash 2020 年 1 月 11 日 下午 9:44 
um how does this work?
MrNeutron  [作者] 2020 年 1 月 9 日 下午 5:00 
np, wanted to derust my trig a bit ;)
Bluejammer 2020 年 1 月 9 日 下午 4:41 
Thank you! I made my own but I doubt it worked properly.