Stormworks: Build and Rescue

Stormworks: Build and Rescue

65 ratings
Logic - Full autopilot example
2
   
Award
Favorite
Favorited
Unfavorite
Tags: v0.2.42
File Size
Posted
Updated
76.575 KB
20 Jul, 2018 @ 2:09pm
23 Jul, 2018 @ 3:44pm
3 Change Notes ( view )

Subscribe to download
Logic - Full autopilot example

In 1 collection by Tajin
Logic Examples & Knowhow
54 items
Description
This is not meant to be very compact but rather to be easier to understand and replicate.


Outputs:
Blue = Distance
Pink = Bearing
Orange = Steering (the relative direction as -1 to 1)
Dark Grey = Thrust Vector

Lines:
Red = X values
Green = Y values



The "steering" output is just a -1 to 1 number that represents the relative direction to your target. Multiply this value depending on how sensitive you want the steering of your vessel to be !

The "Thrust Vector" output is meant for vehicles with positional thrusters, so you can move to GPS coordinate without changing your heading.

For vector thrusting I would recommend multiplying the vector output by the desired speed and then use PIDs with velocity sensors for forward and lateral movement.

~~~~~~~~~~~~~~

Thanks to MrNJersey, there is now a nice video-tutorial on how to use this in your creation. Be sure to watch it if anything is unclear.

~~~~~~~~~~~~~~

If size matters I also have a more compact version of this here:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1446181826
37 Comments
VoidSlay3r 14 May @ 5:32am 
great autopilot, made a microcontroller with all of its' features and credited you.
unlikeaboss 22 Apr, 2024 @ 10:25am 
thanks im gonna compress this into a micro controller and use it to create weapons of mass structural complications
TheMmkSweat YT 27 Jun, 2022 @ 1:41pm 
Thanks for the Auto Pilot bc I have a boat that needed it so I was looking for a Video then I found one this is the link linkhttps://www.youtube.com/watch?v=uSLLshExH6Y by MrNJersey a great youtuber
pilot360 7 Nov, 2021 @ 6:27pm 
how i can decrease the turning radius?
spam1 24 Feb, 2021 @ 3:01am 
can youo use this on any tipe of virecle
?
Midnighttigger 6 Jun, 2020 @ 9:10am 
Can I upload this with credit?
Midnighttigger 6 Jun, 2020 @ 8:53am 
going to make a lua screen with this, maybe even make it work with a map
Ian. 26 May, 2020 @ 10:09am 
Why is the bearing not outputing corect number

the stearing is correct but the bearing is so useful for finding directions as a rock
MythicalDesigner 25 Jun, 2019 @ 4:12pm 
its not showing up in my logic menu and i even restarted it






why
(OTR) 0xferd™ 13 Jun, 2019 @ 5:43am 
ok thank i have ready made it and it has the orginal link...