pypilot / pypilot_pi

opencpn pypilot plugin
GNU General Public License v3.0
17 stars 14 forks source link

Plugin client shows subset of parameters after reconnect; gains vanished #25

Closed marcobergman closed 3 years ago

marcobergman commented 3 years ago

The pypilot_client that sits inside the plugin shows a subset of the parameters after the connection to pypilot has been interrupted. This also applies to the gains - these are gone entirely. Capture

marcobergman commented 3 years ago

Capture2

seandepagnier commented 3 years ago

I just tried without getting this issue. How did you get in this state?

Could you please run: ps aux | grep python

I think maybe pypilot_boatimu is running instead?

marcobergman commented 3 years ago

No nothing running anymore. I can also replicate it on openplotter, latest plugin compiled from github, latest pypilot (0.25) compiled from github, running pypilot at the prompt, connecting plugin client, then hitting ^c at the prompt, checking your ps -aux|grep python, running pypilot at the prompt again, reopen gains and client screen. I have also had this problem at the boat when I wanted to change some gains, there I have opencpn running at ubuntu.

Capture3

marcobergman commented 3 years ago

The same thing occured on Windows with the 0.22.5.0 plugin, but NOT the 0.24.4.0 plugin. I double checked that.

seandepagnier commented 3 years ago

so to be clear, the newer version of the plugin does not have the problem?

I have fixed bugs over time...

On 7/16/21, marcobergman @.***> wrote:

The same thing occured on Windows with the 0.22.5.0 plugin, but NOT the 0.24.4.0 plugin. I double checked that.

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/pypilot/pypilot_pi/issues/25#issuecomment-881678687

marcobergman commented 3 years ago

Tch - I got it. The version 0.24.4.0 does not have this problem. I'll close the issue, apologies for the fuzz.

I had compiled the plugin on linux, but omitted to update to the new version in the opencpn plugin manager...

marcobergman commented 3 years ago

It might be a good idea to update the README file with a remark not to forget "to update to the new version in the opencpn plugin manager" as part of the build process.