diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index b2485cc..c3a4b29 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -14,11 +14,13 @@ import PowerPlugIcon from 'vue-material-design-icons/PowerPlug.vue'; import ControllerIcon from 'vue-material-design-icons/ControllerClassic.vue'; import { useRoslibStore } from '@/store/roslibStore'; import { useControllerStore } from '@/store/controllerStore'; +import { useOperationStateStore } from '../store/operationStateStore'; //TODO implement latency const roslib = useRoslibStore(); const controller = useControllerStore(); +const operation = useOperationStateStore(); const currentTab = ref(0); const setCurrentTab = (newValue: number) => { currentTab.value = newValue; @@ -80,62 +82,94 @@ const pageIconArr: PageIcon = [ - - Mission Control - - {{ pageIcon.label }} - - - - WS - - - - CAM - - - - CTRL - - - - Ping - {{ roslib.latency + 'ms' }} - + + + Mission Control + + + + {{ pageIcon.label }} + + + + + + + Disable + + + TeleOp + + + Auto + + + + WS + + + + CAM + + + + CTRL + + + + Ping + {{ roslib.latency + 'ms' }} + +