Grid Survey Pattern Generator, Quickly See Heading and RTH Icons along with new Keyboard Navigation#2593
Open
GenCodeInc wants to merge 5 commits intoiNavFlight:maintenance-9.xfrom
Open
Conversation
Add a lawnmower/grid survey pattern generator that allows users to define a polygon area on the map and automatically generate survey waypoints within it. Features: - Grid survey button in Action Menu with polygon drawing interaction - Sidebar settings card with line spacing, altitude, speed, sweep angle, overshoot, and End with RTH checkbox - Live auto-preview: polygon outline, dashed survey path, and numbered waypoint dots update as parameters change - Lawnmower pattern algorithm with configurable sweep angle and overshoot - RTH waypoint automatically appended when End with RTH is checked - Waypoint count display with remaining capacity - Ctrl+G keyboard shortcut to activate grid draw mode - Full i18n support for all UI strings
Author
|
@b14ckyy I think people will like this survey option. If you have any issues let me know. |
Author
- Arrow keys (Left/Right) navigate between waypoints with card transition - Delete key removes selected waypoint with confirmation dialog - Auto-select previous waypoint after deletion - Auto-select WP1 after grid survey generation - Show 'Add WP' tooltip with crosshair when hovering flight path lines - Green RTH marker at last waypoint position for all missions - Ctrl+G keyboard shortcut for grid polygon draw
Author
Collaborator
|
Man you are on fire! I love it. Great addition. Lets tag that into the 9.1 Target here already. The other PR we will check. Great work. |
Author
Thanks just give me credit somewhere when 9.1 if you can, so I can brag at the office ;) |
Collaborator
|
With so big (visible) feature changes you will certainly be named in the "Highlights of this version" section :D |
- SET_HEAD waypoints show black circle with white arrow pointing in heading direction - Heading degree label displayed below the marker - Heading marker and RTH marker render above flight path lines (zIndex: 99)
added 2 commits
March 16, 2026 19:42
- SET_HEAD shows black circle with white directional dot (pure geometry, no text rotation) - RTH and heading markers aligned with WP pin center via MARKER_ICON_OFFSET_X/Y - Both marker circles same size (radius 10) - Offset constants adjustable: MARKER_ICON_OFFSET_Y=12, MARKER_ICON_OFFSET_X=-2
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








Add a lawnmower/grid survey pattern generator that allows users to define a polygon area on the map and automatically generate survey waypoints within it.
Features:
Draw complex surveys in seconds

Preview and Edit Before you generate the survey,

Generate mission with clear makings on where the RTH will activate

Create large surveys with multiple POI in seconds

Clearly see RTH and Heading Settings

These missions can be made in seconds.