From 44de82b2d8ce10370dd5d7e983c597c62c0bc4a1 Mon Sep 17 00:00:00 2001 From: Rafael Araujo Lehmkuhl Date: Sun, 5 Jan 2025 12:50:12 -0300 Subject: [PATCH] mavlink: Add MAVLink inspection tool --- src/App.vue | 6 + src/components/ConfigurationMenu.vue | 6 + .../development/MAVLinkInspector.vue | 104 ++++++++++++++++++ src/views/ConfigurationMAVLinkView.vue | 33 ++++++ 4 files changed, 149 insertions(+) create mode 100644 src/components/development/MAVLinkInspector.vue create mode 100644 src/views/ConfigurationMAVLinkView.vue diff --git a/src/App.vue b/src/App.vue index f50106e6c..bad7ca06b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -354,6 +354,7 @@ import ConfigurationDevelopmentView from './views/ConfigurationDevelopmentView.v import ConfigurationGeneralView from './views/ConfigurationGeneralView.vue' import ConfigurationJoystickView from './views/ConfigurationJoystickView.vue' import ConfigurationTelemetryView from './views/ConfigurationLogsView.vue' +import ConfigurationMAVLinkView from './views/ConfigurationMAVLinkView.vue' import ConfigurationMissionView from './views/ConfigurationMissionView.vue' import ConfigurationUIView from './views/ConfigurationUIView.vue' import ConfigurationVideoView from './views/ConfigurationVideoView.vue' @@ -411,6 +412,11 @@ const configMenu = [ title: 'Dev', component: markRaw(ConfigurationDevelopmentView) as ConfigComponent, }, + { + icon: 'mdi-protocol', + title: 'MAVLink', + component: markRaw(ConfigurationMAVLinkView) as ConfigComponent, + }, { icon: 'mdi-map-marker-path', title: 'Mission', diff --git a/src/components/ConfigurationMenu.vue b/src/components/ConfigurationMenu.vue index 13e1f080f..5a691f328 100644 --- a/src/components/ConfigurationMenu.vue +++ b/src/components/ConfigurationMenu.vue @@ -42,6 +42,7 @@ import ConfigurationDevelopmentView from '../views/ConfigurationDevelopmentView. import ConfigurationGeneralView from '../views/ConfigurationGeneralView.vue' import ConfigurationJoystickView from '../views/ConfigurationJoystickView.vue' import ConfigurationLogsView from '../views/ConfigurationLogsView.vue' +import ConfigurationMAVLinkView from '../views/ConfigurationMAVLinkView.vue' import ConfigurationMissionView from '../views/ConfigurationMissionView.vue' import ConfigurationVideoView from '../views/ConfigurationVideoView.vue' @@ -81,6 +82,11 @@ const menus = [ title: 'Development', component: markRaw(ConfigurationDevelopmentView), }, + { + icon: 'mdi-protocol', + title: 'MAVLink', + component: markRaw(ConfigurationMAVLinkView), + }, { icon: 'mdi-rocket', title: 'Mission', diff --git a/src/components/development/MAVLinkInspector.vue b/src/components/development/MAVLinkInspector.vue new file mode 100644 index 000000000..62afd082f --- /dev/null +++ b/src/components/development/MAVLinkInspector.vue @@ -0,0 +1,104 @@ + + + diff --git a/src/views/ConfigurationMAVLinkView.vue b/src/views/ConfigurationMAVLinkView.vue new file mode 100644 index 000000000..ae94499d4 --- /dev/null +++ b/src/views/ConfigurationMAVLinkView.vue @@ -0,0 +1,33 @@ + + + +