This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pypilot with ST4000 autohelm
#26
(2020-11-28, 08:15 PM)seandepagnier Wrote: opencpn can produce and output APB and can relay any others

I have proven some time ago that the "standard" route following using cross track error is sub-optimal especially for sailing.   It works but it's clearly based on what they use on aircraft where this logic was first devised so it works also on powerboats without as terrible results, but in all cases it is a bad way to follow a route.

The intention is also to go from waypoint to waypoint which is not really the same as following a route, so with cross track error logic, it can often steer the wrong correction based on cross track error near a waypoint where you will then immediately turn back the other way resulting in oversteering.   the route position bearing mode in the autopilot route plugin of opencpn offers a mode where the autopilot always steers a course toward a position somewhere ahead of the boat  along the route so there are no discontinuities at each waypoint, and it would in this case make the correct change, or no change at all in the above case without possibly "correcting" in a way that will result in oversteering just before a waypoint.

So as far as I'm concerned cross track error is dead and exists still because of stubborn people like the same ones who use the windows operating system or many other things that just make life more difficult and less efficient

Hi Sean

Thanks for the information. I can understand where you are coming from, and if I had the time I would also program my own motor controller and make a much better solution. 

But as of right now, I’m planning to buy a much bigger boat in a couple of years and that will then be the one that I’ll do much more serious project on. 

Until then, I have to thank you for the Pypilot software it’s a great tool and I’m happy that I don’t need to program my own PID controller for now. That being said, maybe one day if it get the time I would try to implement an adaptive PID controller that would allow for nearly perfect control for everyone out there and no one would need to worry about their gains etc..

Thanks for the advice on the cross track error

Br, Peter
Reply


Messages In This Thread
Pypilot with ST4000 autohelm - by Peter— - 2020-11-26, 12:39 PM
RE: Pypilot with ST4000 autohelm - by ironman - 2020-11-26, 02:25 PM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-11-26, 03:53 PM
RE: Pypilot with ST4000 autohelm - by ironman - 2020-11-26, 04:47 PM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-11-27, 12:44 AM
RE: Pypilot with ST4000 autohelm - by CapnKernel - 2020-11-27, 01:57 AM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-11-26, 08:02 PM
RE: Pypilot with ST4000 autohelm - by ironman - 2020-11-26, 09:08 PM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-11-26, 08:12 PM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-11-26, 09:08 PM
RE: Pypilot with ST4000 autohelm - by ironman - 2020-11-26, 09:53 PM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-11-26, 09:59 PM
RE: Pypilot with ST4000 autohelm - by ironman - 2020-11-26, 10:23 PM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-11-26, 11:29 PM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-11-27, 11:52 AM
RE: Pypilot with ST4000 autohelm - by CapnKernel - 2020-12-01, 02:25 AM
RE: Pypilot with ST4000 autohelm - by ironman - 2020-12-01, 10:24 AM
RE: Pypilot with ST4000 autohelm - by ironman - 2020-11-27, 09:53 PM
RE: Pypilot with ST4000 autohelm - by ironman - 2020-11-27, 10:24 PM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-11-28, 12:08 AM
RE: Pypilot with ST4000 autohelm - by ironman - 2020-11-28, 12:10 PM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-11-28, 10:47 AM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-11-28, 04:22 PM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-11-28, 07:54 PM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-11-28, 08:28 PM
RE: Pypilot with ST4000 autohelm - by xfactor99 - 2020-11-29, 09:53 AM
RE: Pypilot with ST4000 autohelm - by ironman - 2020-11-30, 05:31 PM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-11-30, 09:37 PM
RE: Pypilot with ST4000 autohelm - by hreuver - 2020-12-09, 06:53 PM
RE: Pypilot with ST4000 autohelm - by ironman - 2020-12-01, 06:48 AM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-12-01, 10:34 AM
RE: Pypilot with ST4000 autohelm - by ironman - 2020-12-01, 11:32 AM
RE: Pypilot with ST4000 autohelm - by SYWindveer - 2020-12-04, 08:05 PM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-12-05, 03:24 PM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-12-08, 12:22 AM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-12-08, 10:23 AM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-12-08, 06:51 PM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-12-09, 11:05 AM
RE: Pypilot with ST4000 autohelm - by ironman - 2020-12-14, 06:02 PM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-12-14, 07:51 PM
RE: Pypilot with ST4000 autohelm - by ironman - 2020-12-15, 11:50 AM
RE: Pypilot with ST4000 autohelm - by Peter— - 2020-12-15, 01:26 PM
RE: Pypilot with ST4000 autohelm - by AndyV - 2024-02-04, 12:21 AM

Forum Jump:


Users browsing this thread: 5 Guest(s)