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
Best of both worlds?
#16
(2020-02-26, 04:04 PM)ironman Wrote: The bell-related code chimes a sound on my laptop each 5 seconds when there is a waypoint arrival, 1 times for a starboard change and twice for a port change of heading. It's a bit ugly code but it works.

This is nice. I don't think bells needs to be integrated into pypilot directly but through your control client is ok..

It would make most sense to me that opencpn can do this through the autopilot route plugin.

Quote:When switching to 'compass' when there is an active route, pypilot normally goes back to 'gps' mode, as discussed in this thread. I had to solve this in the pypilot code. Also the waypoint confirmation logic had to be integrated into
So in this case switching to compass just holds a compass course correct?

Then switching to gps would go back to "nav" mode. It should have this behavior if you change the nmea sentence prefix.

Should there be a separate "nav" mode and now gps mode just holds a gps course, or nav mode could be whatever the chart plotter commands??

As for waypoint confirmation.. I believe this is supported already in the autopilot route plugin in opencpn. If not, is there any specific reason for the autopilot to need to deal with waypoint confirmation? To use the same remote or controls?

Quote: nmea.py. Still being a python newbie, I struggled a bit and resorted to the use of global variables, so please have mercy on me Tongue . Attached the changes I made.
I learned python to write pypilot so I am also new; not using it very long.
Quote:The set of measures I took make that my PyPilot-powered tiller pilot has exactly the same user interface as the original one, which I have as backup. They both react in the same way to OpenCPN active routes as well. So when the going gets tough and the brain fogs up, you don't need to think about which tiller pilot is on duty.
Sounds good. It would be cool to be able to have the same interface as other pilots as an option, so once we can settle on the details and the best way to implement, maybe it can just be a boolean in the config.
Reply


Messages In This Thread
Best of both worlds? - by Ranur - 2020-02-21, 11:05 AM
RE: Best of both worlds? - by seandepagnier - 2020-02-21, 03:30 PM
RE: Best of both worlds? - by beholder77 - 2020-02-21, 04:01 PM
RE: Best of both worlds? - by Ranur - 2020-02-21, 05:41 PM
RE: Best of both worlds? - by seandepagnier - 2020-02-21, 07:36 PM
RE: Best of both worlds? - by Ranur - 2020-02-21, 11:24 PM
RE: Best of both worlds? - by Ranur - 2020-02-24, 02:08 PM
RE: Best of both worlds? - by seandepagnier - 2020-02-25, 05:16 PM
RE: Best of both worlds? - by Ranur - 2020-02-25, 05:29 PM
RE: Best of both worlds? - by seandepagnier - 2020-02-25, 08:17 PM
RE: Best of both worlds? - by ironman - 2020-02-25, 09:24 PM
RE: Best of both worlds? - by seandepagnier - 2020-02-26, 03:34 AM
RE: Best of both worlds? - by ironman - 2020-02-25, 06:18 PM
RE: Best of both worlds? - by Ranur - 2020-02-25, 09:54 PM
RE: Best of both worlds? - by ironman - 2020-02-26, 04:04 PM
RE: Best of both worlds? - by seandepagnier - 2020-02-27, 02:30 AM
RE: Best of both worlds? - by ironman - 2020-02-27, 01:34 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)