Skip to content

Commit

Permalink
frontend: show GPS yaw on GPS icons yaw when it is available
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani committed Sep 19, 2024
1 parent 3e93bfb commit c3f520f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions core/frontend/src/components/health/GpsTrayMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,16 @@ export default Vue.extend({
},
)
}
if (this.gps_raw_int?.yaw !== 0) {
values.push(
{
name: 'Yaw',
value: `${(this.gps_raw_int.yaw / 100).toFixed(2)}º`,
tooltip: 'Yaw',
icon: 'mdi-compass',
},
)
}
return values
},
Expand Down

0 comments on commit c3f520f

Please sign in to comment.