Stormworks: Build and Rescue

Stormworks: Build and Rescue

Zizo Autopilot System
63 kommentarer
Nabitz 1. sep. kl. 4:11 
put this is my race yacht and it performs great, holding its course very well in up to 100% wind (at 40-50 knots of boat speed) even if it was designed for cars lol
cjb 11. juli kl. 4:09 
@kingdomain you can try my fix below from nov 16, it seems to work for me to at least stop the unrecoverable error.
Kingdominian 10. juli kl. 11:08 
so i am running into the screen and code crashing on reload. Is there a settings or known fix or?
The Duke of Piperton 26. nov. 2024 kl. 21:52 
i'm having the same issue as nfsplatinum - my craft drifts back and forth widely when on autopilot. turning the sensibility down fixes the issue somewhat, but tuning it low enough to do so makes the craft unable to turn sharply enough to follow waypoints or circles.
[GER] Talvkes 18. nov. 2024 kl. 7:35 
@cjb omg... yea...i'm such a dumbass...that was it for me xDD
cjb 18. nov. 2024 kl. 6:55 
@Talvkes did you hook the physics sensor to power?
[GER] Talvkes 18. nov. 2024 kl. 2:05 
I might be to dumb to set it up correctly...
The map shows that I'm just north of Sawyer Island, and I can't figure out what I've done wrong.
All logic seems to be connected right, and the sensor is pointing in the right direction too...

Any suggestions on what I've done wrong? :c
cjb 17. nov. 2024 kl. 19:44 
It does seem like the 2nd fix is more reliable. If you had a waypoint active on save, then on load they're still cleared and the Stop Pulse is triggered. That could be bad for some craft, but probably better than the script being dead until the vehicle is respawned.

I haven't tested it with the circle waypoint, but I don't think it would cause any problems.
cjb 16. nov. 2024 kl. 17:50 
Having only 4096 characters makes this exceptionally hard to debug.

I'm testing out a kind of brute force "fix"; on line 25 of the 2nd lua block, I just exit onTick if somehow the Waypoint list does not contain an entry for sl

if W[sl]== nil then return end

This seems like it _should_ be fine; or at least I can't think of any valid state that this would cause to break. It _just_ fits in the remaining space.
cjb 16. nov. 2024 kl. 12:28 
@zizo No problem! Unfortunately it seems like it might not solve all the ways for it to happen.

As luck would have it, in all my tests, the change was effective but now I just loaded a save and hit the bug again. So there's probably some race conditions still. Maybe the fix just makes it less likely. If I find any other potential fixes, I'll pass them along.
Zizo  [ophavsmand] 16. nov. 2024 kl. 10:40 
Hello @cjb, thanks for taking your time and suggesting that fix. I tested it and implemented it now.

@nfsplatinum, thanks for reporting the issue, I will look into it to provide a more effective sensibility setting.
cjb 16. nov. 2024 kl. 9:16 
Meant to add that it's around line 31 that the change is needed
cjb 16. nov. 2024 kl. 9:15 
@Youngnewf96 I've been running into that and today decided I was going to figure it out.

In the MC, on the bottom-most LUA script, it needs this line instead

if wcount == nil or wcount<2 and not pt then B[1].t=false B[2].t=false end

It means your waypoints are cleared after a save and load, but at least it doesn't break and you can set new waypoints.

@crazywoj it works fine for me
crazywoj 6. nov. 2024 kl. 14:42 
i think the new update might have broken this :(
nfsplatinum 24. okt. 2024 kl. 19:04 
This has been working great on just about every boat I've installed it on, however- there seems to be an issue, particularly with faster vessels where the autopilot seems to oscillate while trying to follow the path. No matter what value sensibility is set to it seems that it is overshooting the line it is set to follow when making corrections, again, no matter how low the setting is.
Youngnewf96 31. aug. 2024 kl. 15:44 
After loading save game I have blue screen on autopilot monitor.
Tick_Failure
26: attempt to index a nil value (Field '?' )
How can i fix it
Frank 7. aug. 2024 kl. 13:27 
Anyway to combine this with your radar/sonar system? It would be sick to have an all in one screen
Keram 15. juli 2024 kl. 3:07 
the car demonstration works but when i transfered all the tech on my ship, it thinks im in a conpletly different place
Keram 15. juli 2024 kl. 3:00 
hey, the autopilot is confused where it is, it constantly says its at the career island even tho im far out in sea, does anyone know how to fix that?
9Three 8. juli 2024 kl. 13:58 
hello! nice autopilot... how can i adjust the radius? id like a smaller radius. thanks !
bartoszjankiewicz1987 30. maj 2024 kl. 2:46 
After loading save game I have blue screen on autopilot monitor.
Tick_Failure
26: attempt to index a nil value (Field '?' )
Jay 28. maj 2024 kl. 15:46 
i wish it could do auto throt so it can slow down for turns
Eira Fader 22. maj 2024 kl. 11:44 
so out of curiosity what got updated
Tigerfish 14. maj 2024 kl. 19:22 
Ahhh, that's truly excellent work, Zizo. Thank you. Got it working perfectly. Love being able to navigate around rocks/islands etc when setting an autopilot.
Zizo  [ophavsmand] 14. maj 2024 kl. 13:53 
Hello @Tigerfish, this comes as a vehicle, check in your workshop vehicles.
Tigerfish 14. maj 2024 kl. 13:52 
Hi Zizo. Just subscribed and restarted the game client (a couple of times) and I can't see the micro-controller listed within my game client. As it's just been updated, I thought I'd check there's no issues with it. Love your Fishfinder btw!
Zizo  [ophavsmand] 14. maj 2024 kl. 9:47 
Hello everyone, this microcontroller has been updated in favor of a more advanced guidance system. It nows follows the vector from the start position to the next waypoint rather than just following the next waypoint.
This allows for automatic leeway correction and more precise navigation in general.
byarmin 27. dec. 2023 kl. 7:49 
Hi Great controller. I put it in a small boat and was wondering where the default zoom is. The waypoint one works great but on a 1x1 monitor i can't see the starter island. Is there a chance you could put a property slider. I couldn't find the one in setup
TobaTronic 24. okt. 2023 kl. 7:18 
Really need a version to get to the moon and land at moon base.
__Timeskio :D 8. okt. 2023 kl. 4:00 
Jo Nice:steamhappy: Autopilot
Elite watermelon 10. sep. 2023 kl. 0:17 
Love you creations keep up the good work Has to be extremely complicated to do all that coding especially in storm works Respect
JackReaper290 4. juni 2023 kl. 15:59 
Works good it is a little difficult to use when on the water due to the rocking but I don't mind considering how well this works. Only thing I would add is a manual zoom button.
SevenVII 16. mar. 2023 kl. 12:56 
Can I use I for my Workshop creation? I give Credit an a link to this workshop Page
Zizo  [ophavsmand] 4. dec. 2022 kl. 8:23 
Hello timtkdb, there is a sensibility setting for it in the microprocessor's properties. Hopefully with a little testing you can figure out the best setting for you.
timtkdb 3. dec. 2022 kl. 8:47 
when adding it to a car the wheels turn left and right vary fast
draconickingdom 8. okt. 2022 kl. 21:57 
does this work for planes
Zizo  [ophavsmand] 22. sep. 2022 kl. 8:01 
Hey ZX SNIPERZ13, the system has been updated several times since I took those screenshots. W is not to insert the final waypoint. Sorry about that.
ZX SNIPERZ13 21. sep. 2022 kl. 15:15 
how come i see no "T" just an M, W and A with arrows
Elite Hazard09 16. sep. 2022 kl. 19:10 
Ok, Thank you for the timely response!
Zizo  [ophavsmand] 16. sep. 2022 kl. 5:05 
Hello Elite Hazard09, I don't think I ever will, the AIS is just a test for what could be done but has actually no useful purpose in stormworks, sorry.
Elite Hazard09 15. sep. 2022 kl. 21:02 
Hello Zizo, I was wondering if it was possible to combine the autopilot system and the Automated Identification System into one screen? If so then how would it be done?
Jalousimon 25. juli 2022 kl. 7:49 
okay, thank you for your fast reply! I was just a bit confused... ^^
Zizo  [ophavsmand] 25. juli 2022 kl. 7:46 
Trim is not there anymore as the autopilot algorithm is better now, all the rest is the same, just updated ui to fit on smaller monitors.
Jalousimon 25. juli 2022 kl. 7:34 
It looks like the one in your sea lizard.
Jalousimon 25. juli 2022 kl. 7:33 
I don't get it. Why does my version of your autopilot look like the lite version? The trim option for example is missing nad the "auto" on the top right...
Mercenary 23. juli 2022 kl. 13:40 
Amazing Autopilot!!!!

Only.... How to change the speed of the rudder?! its.. yeah quick
Thank you in advance!
Mal Reynolds 18. apr. 2022 kl. 7:10 
Love the creation! currently using a vessel that has your script installed but everytime i relog or reload the save i come up to a error tick 41. how do i fix that?
Kronus 23. jan. 2022 kl. 5:08 
also, if the background (or the typos) of the word "auto" would change to green when the autopilot is engaged would give a better clue of when it is on or off.
Zizo  [ophavsmand] 23. jan. 2022 kl. 2:04 
Hey Kronus, thanks for your feedback, I think the auto zoom does a pretty good job already, but I can add this option to further control the zoom.
Kronus 22. jan. 2022 kl. 9:43 
A pair of small + - buttons for zoom on the top bar would make it close to perfect.