@@ -7,7 +7,6 @@ import InputTab from "@/components/dashboard/tabs/InputTab.vue";
7
7
import ThresholdTab from " @/components/dashboard/tabs/ThresholdTab.vue" ;
8
8
import ContoursTab from " @/components/dashboard/tabs/ContoursTab.vue" ;
9
9
import AprilTagTab from " @/components/dashboard/tabs/AprilTagTab.vue" ;
10
- import ArucoTab from " @/components/dashboard/tabs/ArucoTab.vue" ;
11
10
import ObjectDetectionTab from " @/components/dashboard/tabs/ObjectDetectionTab.vue" ;
12
11
import OutputTab from " @/components/dashboard/tabs/OutputTab.vue" ;
13
12
import TargetsTab from " @/components/dashboard/tabs/TargetsTab.vue" ;
@@ -38,10 +37,6 @@ const allTabs = Object.freeze({
38
37
tabName: " AprilTag" ,
39
38
component: AprilTagTab
40
39
},
41
- arucoTab: {
42
- tabName: " Aruco" ,
43
- component: ArucoTab
44
- },
45
40
objectDetectionTab: {
46
41
tabName: " Object Detection" ,
47
42
component: ObjectDetectionTab
@@ -77,7 +72,6 @@ const getTabGroups = (): ConfigOption[][] => {
77
72
allTabs .thresholdTab ,
78
73
allTabs .contoursTab ,
79
74
allTabs .apriltagTab ,
80
- allTabs .arucoTab ,
81
75
allTabs .objectDetectionTab ,
82
76
allTabs .outputTab
83
77
],
@@ -86,21 +80,14 @@ const getTabGroups = (): ConfigOption[][] => {
86
80
} else if (lgAndDown .value ) {
87
81
return [
88
82
[allTabs .inputTab ],
89
- [
90
- allTabs .thresholdTab ,
91
- allTabs .contoursTab ,
92
- allTabs .apriltagTab ,
93
- allTabs .arucoTab ,
94
- allTabs .objectDetectionTab ,
95
- allTabs .outputTab
96
- ],
83
+ [allTabs .thresholdTab , allTabs .contoursTab , allTabs .apriltagTab , allTabs .objectDetectionTab , allTabs .outputTab ],
97
84
[allTabs .targetsTab , allTabs .pnpTab , allTabs .map3dTab ]
98
85
];
99
86
} else if (xl .value ) {
100
87
return [
101
88
[allTabs .inputTab ],
102
89
[allTabs .thresholdTab ],
103
- [allTabs .contoursTab , allTabs .apriltagTab , allTabs .arucoTab , allTabs . objectDetectionTab , allTabs .outputTab ],
90
+ [allTabs .contoursTab , allTabs .apriltagTab , allTabs .objectDetectionTab , allTabs .outputTab ],
104
91
[allTabs .targetsTab , allTabs .pnpTab , allTabs .map3dTab ]
105
92
];
106
93
}
@@ -126,8 +113,7 @@ const tabGroups = computed<ConfigOption[][]>(() => {
126
113
! ((isAprilTag || isAruco || isObjectDetection ) && tabConfig .tabName === " Threshold" ) && // Filter out threshold tab if we're doing AprilTags
127
114
! ((isAprilTag || isAruco || isObjectDetection ) && tabConfig .tabName === " Contours" ) && // Filter out contours if we're doing AprilTags
128
115
! (! isAprilTag && tabConfig .tabName === " AprilTag" ) && // Filter out apriltag unless we actually are doing AprilTags
129
- ! (! isAruco && tabConfig .tabName === " Aruco" ) &&
130
- ! (! isObjectDetection && tabConfig .tabName === " Object Detection" ) // Filter out aruco unless we actually are doing Aruco
116
+ ! (! isObjectDetection && tabConfig .tabName === " Object Detection" )
131
117
)
132
118
)
133
119
.filter ((it ) => it .length ); // Remove empty tab groups
@@ -137,6 +123,11 @@ const onBeforeTabUpdate = () => {
137
123
// Force the current tab to the input tab on driver mode change
138
124
if (useCameraSettingsStore ().isDriverMode ) {
139
125
selectedTabs .value [0 ] = 0 ;
126
+ } else if (
127
+ useCameraSettingsStore ().currentWebsocketPipelineType === WebsocketPipelineType .Aruco &&
128
+ selectedTabs .value [0 ] == 2
129
+ ) {
130
+ selectedTabs .value [0 ]-- ;
140
131
}
141
132
};
142
133
</script >
0 commit comments