commit
d7f53f7370
|
|
@ -2,3 +2,4 @@
|
|||
0.02: Make selection of background activity more explicit
|
||||
0.03: Fix listener for accel always active
|
||||
Use custom UI with swipes instead of leftright
|
||||
0.04: Fix compass heading
|
||||
|
|
|
|||
|
|
@ -13,6 +13,9 @@ Choose either a route or a waypoint as basis for the display.
|
|||
After this selection and availability of a GPS fix the compass will show a blue dot for your destination and a green one for possibly available waypoints on the way.
|
||||
Waypoints are shown with name if available and distance to waypoint.
|
||||
|
||||
As long as no GPS signal is available the compass shows the heading from the build in magnetometer. When a GPS fix becomes available, the compass display shows the GPS course. This can be differentiated by the display of bubble levels on top and sides of the compass.
|
||||
If they are on display, the source is the magnetometer and you should keep the bangle level. There is currently no tilt compensation for the compass display.
|
||||
|
||||
### Route
|
||||
|
||||
Routes can be created from .gpx files containing "trkpt" elements with this script: [createRoute.sh](createRoute.sh)
|
||||
|
|
|
|||
|
|
@ -613,7 +613,7 @@ function showMenu(){
|
|||
"Background" : showBackgroundMenu,
|
||||
"Calibration": showCalibrationMenu,
|
||||
"Reset" : ()=>{ E.showPrompt("Do Reset?").then((v)=>{ if (v) {WIDGETS.gpstrek.resetState(); removeMenu();} else {E.showMenu(mainmenu);}});},
|
||||
"Slices" : {
|
||||
"Info rows" : {
|
||||
value : numberOfSlices,
|
||||
min:1,max:6,step:1,
|
||||
onchange : v => { setNumberOfSlices(v); }
|
||||
|
|
@ -684,7 +684,7 @@ const compassSliceData = {
|
|||
},
|
||||
getCourse: function (){
|
||||
if(compassSliceData.getCourseType() == "GPS") return state.currentPos.course;
|
||||
return state.compassHeading?state.compassHeading:undefined;
|
||||
return state.compassHeading?360-state.compassHeading:undefined;
|
||||
},
|
||||
getPoints: function (){
|
||||
let points = [];
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "gpstrek",
|
||||
"name": "GPS Trekking",
|
||||
"version": "0.03",
|
||||
"version": "0.04",
|
||||
"description": "Helper for tracking the status/progress during hiking. Do NOT depend on this for navigation!",
|
||||
"icon": "icon.png",
|
||||
"screenshots": [{"url":"screen1.png"},{"url":"screen2.png"},{"url":"screen3.png"},{"url":"screen4.png"}],
|
||||
|
|
|
|||
Loading…
Reference in New Issue