opencpn-radar-pi / radar_pi

Radar plugin for OpenCPN with support for Navico and some Garmin and Raymarine radars
GNU General Public License v2.0
77 stars 43 forks source link

Fix spin loop when GuardZone detection covers 360 degrees #211

Closed keesverruijt closed 1 year ago

keesverruijt commented 2 years ago

When adding a circular guard zone that starts at 0.0 distance from the boat, it is possible that the guard zone detection loop finds the "main blob" which is 360 degrees around the boat. This causes a spin loop (causing the entire OpenCPN app to block.)

douwefokkema commented 1 year ago

In what version was this issue found? I can not reproduce on master. Commit 4bc17373 (13/01/2023) was meant to prevent this issue. If the issue is still there other corrections will be needed.

keesverruijt commented 1 year ago

This is an old bug from Aug 17, 2022, if you cannot reproduce great it is already fixed.