Stormworks: Build and Rescue

Stormworks: Build and Rescue

Оцінок: 66
Logic - Full autopilot example
2
   
Нагородити
До улюбленого
В улюблених
Прибрати
Позначки: v0.2.42
Розмір файлу
Додано
Оновлено
76.575 KB
20 лип. 2018 о 14:09
23 лип. 2018 о 15:44

Підпишіться, аби завантажити
Logic - Full autopilot example

В колекціях (1) автора Tajin
Logic Examples & Knowhow
Предметів: 54
Опис
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
VoidSlay3r 14 трав. о 5:32 
great autopilot, made a microcontroller with all of its' features and credited you.
unlikeaboss 22 квіт. 2024 о 10:25 
thanks im gonna compress this into a micro controller and use it to create weapons of mass structural complications
TheMmkSweat YT 27 черв. 2022 о 13:41 
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 листоп. 2021 о 18:27 
how i can decrease the turning radius?
spam1 24 лют. 2021 о 3:01 
can youo use this on any tipe of virecle
?
Midnighttigger 6 черв. 2020 о 9:10 
Can I upload this with credit?
Midnighttigger 6 черв. 2020 о 8:53 
going to make a lua screen with this, maybe even make it work with a map
Ian. 26 трав. 2020 о 10:09 
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 черв. 2019 о 16:12 
its not showing up in my logic menu and i even restarted it






why
(OTR) 0xferd™ 13 черв. 2019 о 5:43 
ok thank i have ready made it and it has the orginal link...