Skip to content

Commit b679771

Browse files
committed
Update dashboard.js
1 parent 754399e commit b679771

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dashboard.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,8 @@ function locationSuccess(position) {
312312

313313
$('#gps_speed').html(`${Math.round(c.speed * 36)/10} km/h`);
314314
$('#current_trip').html('0 km');
315+
$('#debug_logs').append(`lat/long:${c.latitude}/${c.longitude} speed:${c.speed} heading:${c.heading} altitude:${c.altitude} accuracy:${c.accuracy} altaccuracy:${c.altitudeAccuracy} timestamp:${position.timestamp}`);
316+
$('#debug_logs').append(`<br>${Math.round(c.speed * 36)/10} km/h`);
315317

316318
addData(locationChart, npositions, [c.speed, c.heading])
317319

0 commit comments

Comments
 (0)