pypilot / pypilot_pi

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

When starting OpenCPN pypilot_pi starts with only the Center button #19

Closed hreuver0183 closed 1 year ago

hreuver0183 commented 3 years ago

When starting OpenCPN pypilot_pi starts with only the Center button (before you ask: the center button works). To get the plugin working correctly I need to go to config, and change the IP address to the tinypilot address.

Basically the init works as long as I set the IP-address correctly via the Config Dialog, and the next time I start OpenCPN I need to set the IP-address using the same dialog again. If I use the raw address I need to go through this twice since I need to change the address.

Problem is present both with github version and pluginmanager of the pypilot plugin 0.22.5. I tried OpenCPN 5.2.4 on Ubuntu/ARM64 and Debian/x86_64.

pypilot_pi_initi pypilot_pi_init2

PS Where you see "tinypilot" basically the IP-address from /etc/hosts is used.

hreuver0183 commented 3 years ago

I found a workaround for the above problem: When engaging+disengaging the AP the dialog is also reset.

This does not solve the dialog bug though.