Stormworks: Build and Rescue

Stormworks: Build and Rescue

Simple Compact Autopilot (for boats)
11 kommentarer
Keepfera  [ophavsmand] 11. nov. 2018 kl. 11:11 
Of course bro! There's some better ones out there by Tajin and Tt that I would recommend
SC0RP10N 11. nov. 2018 kl. 7:51 
Can I put this in a creation of mine? I have already linked this creation and credited you with the autopilot
DinoDude777 17. juli 2018 kl. 18:26 
ty:steamhappy:
Keepfera  [ophavsmand] 16. juli 2018 kl. 15:15 
Okay, I've been busy today, thanks for the inspiration Tajin! I've now developed a functioning autopilot system based on the compass method via the atan2 logic I made. Find it here https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1442986350
Keepfera  [ophavsmand] 16. juli 2018 kl. 11:02 
You inspired me to make an atan2 function!
If you fancy it, it's here https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1442802901
Keepfera  [ophavsmand] 16. juli 2018 kl. 8:16 
Without a doubt, trig is the superior choice for accuracy and it wont suffer from PID bounce as much at far distances. The lack of atan2 was exactly my problem. Any system I made would get confused by the slip at pi radians (half turn) from the compass sensor.
Tajin 16. juli 2018 kl. 7:49 
Yeah it is. Especially before we had those trig functions.

I've actually had a bit of a discussion about that on discord lately. With some someone who claimed doing it with trigonometry would be so much better because of accuracy and whatnot.

I think it would take roughly 4 or 5 times as much space, with the only real benefit of beeing able to display your bearing on screen before turning to it.


Lets hope they add atan2, then it'll worth reconsidering that.
Keepfera  [ophavsmand] 16. juli 2018 kl. 7:43 
I'm going on for a PhD in Maths, I tried doing some shit with arctans but figured this is way simpler xD
Tajin 16. juli 2018 kl. 7:42 
Nah its fine. It's actually nice to see that someone has a similar way of thinking ;)
Keepfera  [ophavsmand] 16. juli 2018 kl. 7:41 
That's the idea, its just the default boat for a proof of concept to anyone wishing to use it! I've just seen yours and yes it looks strikingly similar but honestly I was unaware you had done this first, if you like I'll take it down, apologies.