Stormworks: Build and Rescue

Stormworks: Build and Rescue

评价数不足
Simple Boat Autopilot V2
   
奖励
收藏
已收藏
取消收藏
Vehicles: Sea
Microcontrollers: Navigation, Microcontroller
标签: v0.10.19
文件大小
发表于
更新日期
42.601 KB
2020 年 5 月 31 日 下午 4:56
2020 年 5 月 31 日 下午 5:28
2 项改动说明 ( 查看 )

订阅以下载
Simple Boat Autopilot V2

描述
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)
7 条留言
C-Corgi 2022 年 11 月 30 日 下午 4:53 
mine storm plyer its a compas block Finger its a compass block ripjaw its composite
Daniel Fluffy <3 :3 2022 年 5 月 4 日 上午 4:02 
what do i connect heading and bearing to
Ripjaw010 2021 年 7 月 13 日 下午 2:49 
How to i connect the "helm control" to the helm on my boat?
F i n g e r L i c k 2020 年 10 月 9 日 上午 9:21 
How do I setup heading and bearing? What do I need to use? Thanks.
ThomJ  [作者] 2020 年 7 月 17 日 下午 2:44 
Not at all, go ahead!
Krolon 2020 年 7 月 17 日 下午 2:15 
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.