Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Simple Boat Autopilot V2
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Sea
Microcontrollers: Navigation, Microcontroller
Tags: v0.10.19
File Size
Posted
Updated
42.601 KB
31 May, 2020 @ 4:56pm
31 May, 2020 @ 5:28pm
2 Change Notes ( view )

Subscribe to download
Simple Boat Autopilot V2

Description
This is an autopilot I designed specifically for heading control of a boat. To set it up, you will need to wire up the GPS X and Y coordinates, a large keypad (or some other way of entering your desired X and Y coordinates), a compass sensor facing toward the bow of the ship/boat, your normal helm or "manual" control input and finally an on/off control like a toggle switch. It has several outputs such as your current heading, current bearing to your selected target, and an output for control. You may have to tweak the internal PID controller to the desired setting for your particular vessel.

It's not the most elegant design but after much tweaking seems to work pretty well for my current build. It does not suffer from extreme northerly headings. I know some autopilots are not "smart" enough to realize that after 360 degrees it goes back to 0. For example, if you're heading 020 and wish to turn to 340, the autopilot will try to make a 320 degree right turn instead of a much faster 40 degree left turn. I managed to make a workaround for this problem (but I forget how I did it haha)
6 Comments
C-Corgi 30 Nov, 2022 @ 4:53pm 
mine storm plyer its a compas block Finger its a compass block ripjaw its composite
Daniel Fluffy <3 :3 4 May, 2022 @ 4:02am 
what do i connect heading and bearing to
Ripjaw010 13 Jul, 2021 @ 2:49pm 
How to i connect the "helm control" to the helm on my boat?
F i n g e r L i c k 9 Oct, 2020 @ 9:21am 
How do I setup heading and bearing? What do I need to use? Thanks.
ThomJ  [author] 17 Jul, 2020 @ 2:44pm 
Not at all, go ahead!
Krolon 17 Jul, 2020 @ 2:15pm 
Hi, would you mind if I integrated your autopilot into my HUD MC? I'm asking because I'm publishing it in the workshop, credit will be of course given in the description.