2020-08-29, 09:23 PM
It seems several users have issues with the pypilot plugin on opencpn 5.2 (or later) so I would like to assist in getting it working...
The plugins in opencpn in the future are being repackaged so you can install them from within the program... It seems like an improvement, but it's more broken than working at the moment from what I can tell.
The latest git of pypilot plugin is going to be for the latest git of pypilot... I had to break the communication format in the new version to make it more efficient and support future developments. For example a training algorithm on a separate more powerful machine but this may not always be running. likewise, a low power esp32 could potentially be used instead of the raspberry, while running compass calibration and other parts on openplotter which may not always be booted... So if you are using the older stable pypilot you will need to checkout an earlier release, eg "git checkout 24505233f5ab71c5fcabca04e1522e2e2658971c"
The new plugin system for opencpn is meant to support multiple versions of the same plugin which will solve this but it is not actually implemented yet.
The plugins in opencpn in the future are being repackaged so you can install them from within the program... It seems like an improvement, but it's more broken than working at the moment from what I can tell.
The latest git of pypilot plugin is going to be for the latest git of pypilot... I had to break the communication format in the new version to make it more efficient and support future developments. For example a training algorithm on a separate more powerful machine but this may not always be running. likewise, a low power esp32 could potentially be used instead of the raspberry, while running compass calibration and other parts on openplotter which may not always be booted... So if you are using the older stable pypilot you will need to checkout an earlier release, eg "git checkout 24505233f5ab71c5fcabca04e1522e2e2658971c"
The new plugin system for opencpn is meant to support multiple versions of the same plugin which will solve this but it is not actually implemented yet.