diff --git a/src/components/mission-planning/ContextMenu.vue b/src/components/mission-planning/ContextMenu.vue new file mode 100644 index 000000000..c8585ab1d --- /dev/null +++ b/src/components/mission-planning/ContextMenu.vue @@ -0,0 +1,271 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + mdi-close + + + + + + + + {{ surveyCreationButtonText }} + + + + + {{ + isCreatingSimpleMission + ? 'Close simple path creation' + : missionStore.surveys.length === 0 + ? 'Create simple path' + : 'Add simple path' + }} + + + + + + + + diff --git a/src/components/mission-planning/ScanDirectionDial.vue b/src/components/mission-planning/ScanDirectionDial.vue new file mode 100644 index 000000000..54c7c8593 --- /dev/null +++ b/src/components/mission-planning/ScanDirectionDial.vue @@ -0,0 +1,170 @@ + + + + + + + + mdi-arrow-up-thin + + + + N + E + S + W + + + + + Scan + Direction + + {{ getCardinalDirection(rotationAngle || 0) }} + + + + + + + + + + diff --git a/src/components/widgets/Map.vue b/src/components/widgets/Map.vue index 8e243cc1b..c8ff0eed2 100644 --- a/src/components/widgets/Map.vue +++ b/src/components/widgets/Map.vue @@ -592,7 +592,7 @@ const topProgressBarDisplacement = computed(() => { }) -
N
E
S
W
Scan
Direction
+ {{ getCardinalDirection(rotationAngle || 0) }} +