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
APB Heading vs Bearing
#1
I noticed that in the APB sentence we are using field number 13: Heading to steer to destination waypoint.
Should it not be more logic to use field number 11 Bearing, present position to destination because we are in GPS mode?
Reply
#2
Field 13 is where the autopilot needs to steer. I am not sure why you think this is more logical?
Reply
#3
Wel first a Raymarine plotter does not send the heading to waypoint if no electronic compass is connected. so the only course we would be able to use would be the "Bearing"
Second when using a waypoint it make sens you are steering on COG in GPS mode I would cal that Bearing in this correlation vs Heading.
Reply
#4
I would reconstruct the APB handling as follows: if Bearing Origin To Destination (8, 9) is provided in the APB sentence plus an XTE (3, 4, 5), the autopilot applies a correction for the XTE, like pypilot does with apb.xte.gain. If you provide Heading To Steer (13, 14), like OpenCPN and the autopilot_route plugin does, the autopilot disregards the other fields but steers this heading-to-steer instead. This way, you can cater for the raymarine consumers who want to try to use the dumb xte based steering, but also the enlightened opencpn users and even more enlightened autopilot_route plugin users. EDIT: This reconstruction is my interpretation of the superfluous fields present in the APB sentence, and my suggestion for how pypilot should handle this superfluousness.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)