Skip to content

Commit 8c35177

Browse files
Williangalvanipatrickelectric
authored andcommitted
frontend: show GPS yaw on GPS icons yaw when it is available
1 parent 29c1bff commit 8c35177

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

core/frontend/src/components/health/GpsTrayMenu.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,16 @@ export default Vue.extend({
184184
},
185185
)
186186
}
187+
if (this.gps_raw_int?.yaw !== 0) {
188+
values.push(
189+
{
190+
name: 'Yaw',
191+
value: `${(this.gps_raw_int.yaw / 100).toFixed(2)}º`,
192+
tooltip: 'Yaw',
193+
icon: 'mdi-compass',
194+
},
195+
)
196+
}
187197
188198
return values
189199
},

0 commit comments

Comments
 (0)