Skip to content

Commit

Permalink
core: frontend: create compass configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani committed Feb 9, 2024
1 parent b09149a commit 12ac04b
Show file tree
Hide file tree
Showing 10 changed files with 1,382 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"date-fns": "^2.23.0",
"file-saver": "^2.0.5",
"fuse.js": "^6.6.2",
"gsap": "^3.12.3",
"http-status-codes": "^2.2.0",
"image-js": "^0.35.3",
"is-ip": "^5.0.0",
Expand Down
6 changes: 5 additions & 1 deletion core/frontend/src/components/vehiclesetup/Configure.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ import Vue from 'vue'
import autopilot from '@/store/autopilot_manager'
import SpinningLogo from '../common/SpinningLogo.vue'
import ArdupilotMavlinkCompassSetup from './configuration/compass/ArdupilotMavlinkCompassSetup.vue'
import LightsConfigration from './configuration/lights.vue'
import ParamSets from './overview/ParamSets.vue'
Expand All @@ -44,14 +46,16 @@ export default Vue.extend({
components: {
ParamSets,
LightsConfigration,
ArdupilotMavlinkCompassSetup,
SpinningLogo,
},
data() {
return {
page_selected: null as string | null,
pages: [
{ title: 'Parameters', component: ParamSets },
{ title: 'Accelerometer', component: undefined },
{ title: 'Compass', component: undefined },
{ title: 'Compass', component: ArdupilotMavlinkCompassSetup },
{ title: 'Baro', component: undefined },
{ title: 'Gripper', component: undefined },
{ title: 'Lights', component: LightsConfigration, filter: () => autopilot.vehicle_type === 'Submarine' },
Expand Down
Loading

0 comments on commit 12ac04b

Please sign in to comment.