bluerobotics / cockpit

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

frontend: survey generation weird at corners #1421

Open ES-Alexander opened 1 week ago

ES-Alexander commented 1 week 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 6 days ago

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