Posts: 240
Threads: 45
Joined: Mar 2018
Reputation:
1
2020-07-17, 04:48 PM
(This post was last modified: 2020-07-17, 04:58 PM by jamos.tan@gmail.com.)
On OP2 after upgrading to the newest OpenCPN 5.2.0 the previously installed pypilot plugin is removed. I've upgraded through the standard OP2 OpenCPN installer process.
Reinstalling it through the OpenCPN installer plugin in OP2 does not make it available again.
Installing from GIT does make it available again, but this installs a different version that has a different GUI somehow, and from then on it is not managed by OpenCPN installer again.
Posts: 63
Threads: 15
Joined: Dec 2018
Reputation:
2
Hello jamos.tan,
I also have the same problem and the only way to fix it was to go back to Opecpn 5.0
How did you go about reinstalling the plugin from the GIT? Because I have a problem with the display of 'earnings' with the pypilot plugin from version 5.0: maybe by installing it from GIT, this problem will be solved?
cordially
Posts: 63
Threads: 15
Joined: Dec 2018
Reputation:
2
Thank you very much jamos.tan,
I followed your instructions and indeed, this version of pypilot works perfectly and I will keep this plugin until an update of the repository plugin.
cordially
Posts: 240
Threads: 45
Joined: Mar 2018
Reputation:
1
I do have the gps option, I will try compass, gps and an active route (built in opencpn) and with Sean's plugin again today (if the weather allows), and report back...
I am not sure what the cause is that your gps option is totally missing, but the only time this has happened to me when pypilot, signalk, opencpn, or openplotter (not sure which of those) had no gps data. Pypilot then does not show the button. I would recommend:
- Check opencpn with nmea scanner if gps sentences are coming in
- Check opencpn connections if there are gps filters
- Check openplotter serial connection, how is this forwarding the gps data: to gpsd? directly into signalk?
- Check if pypilot in openplotter has been correctly configured (two connections to signalk / pypilot)
- Check if Signalk is seeing the gps data (in instrument panel / or data browser)
If all is OK, is suspect it's either a bug or the software has become corrupt. If I was in your position I would get an extra SD card, reflash it and start from scratch to at least see if a clean installation gives the same problems. Then it would be the option of going from there again and configuring everything all new (might take some work) or somehow try to fix it in your current image. (not sure how yet, but maybe someone else could look into the code of pypilot / opencpn)
Posts: 63
Threads: 15
Joined: Dec 2018
Reputation:
2
Hi guys,
To have these options in pypilot, it is necessary to add in opencpn an incoming and outgoing TCP connection to port 20220 by filtering the frames to keep only APB if it is not already done.
Good luck
cordially
Posts: 2,221
Threads: 20
Joined: Jun 2016
Reputation:
68
20220 is used by pypilot for both incoming and outgoing nmea0183. 10110 is used by signalk etc.. it is not used by pypilot at all.
The plugin is supposed to forward nmea, but I didn't actually make this work until the latest version so, better disable this feature and make the connection manually in opencpn to be sure what it is doing.