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
Autopilot_route plugin and pypilot
#1
Just to share something I found out, and to (re)kindle interest in the OpenCPN autopilot_route plugin: When using the OpenCPN route/track function, the pypilot option 'gps' lights up by default, provided you set up a connection on tcp/20220 to pypilot. However, when using the autopilot_route plugin, pypilot does not show the gps option by default. The solution to this is to add RMC messages to the NMEA output in the plugin preferences (see image below). By default, the NMEA output is limited to APB messages only.

It took me hours to figure this out, only after tracing large parts of the pypilot code. The moment I realised I knew I had read it somewhere.

The GPS option in the pypilot interfaces only seems to light up when RMC messages are provided. The pypilot, however, only seems to use the content of the APB messages for following a track (XTE and BRG). This seems a bit weird, because XTE is in RMB messages and not in RMC messages. The OpenCPN route/track option provides RMB, RMC and APB messages by default.


Attached Files Image(s)
   
Reply


Messages In This Thread
Autopilot_route plugin and pypilot - by ironman - 2020-12-28, 10:30 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)