bluerobotics / cockpit

An intuitive and customizable cross-platform ground control station for remote vehicles of all types.
https://blueos.cloud/cockpit/docs
Other
72 stars 22 forks source link

frontend: survey generation weird at corners #1421

Open ES-Alexander opened 1 month ago

ES-Alexander commented 1 month ago

Current behaviour

Corners do not seem to be properly accounted for in the survey generation polygon, resulting in some long diagonal segments that aren't aligned with the intended survey orientation, which is unintuitive and undesirable behaviour.

Screenshot 2024-10-23 at 1 38 47 AM

Expected or desired behaviour

Where relevant, the long diagonals should be replaced by lines either following the polygon border, or cutting across just a corner of it (instead of moving all the way to the far side of the polygon).

Prerequisites

rafaellehmkuhl commented 3 weeks ago

I could swear I had fixed that. Thanks for reporting.