forked from FOSS/BangleApps
gipy: removed 'lost' message
parent
b9dc5a11ce
commit
e6f30b9dc0
|
@ -102,3 +102,4 @@
|
|||
0.21:
|
||||
* Jit is back for display functions (10% speed increase)
|
||||
* Store, parse and display elevation data
|
||||
* Removed 'lost' indicator (we now change position to purple when lost)
|
||||
|
|
|
@ -79,17 +79,16 @@ On your screen you can see:
|
|||
* green: artwork
|
||||
- a *turn* indicator on the top right when you reach a turning point
|
||||
- a *gps* indicator (blinking) on the top right if you lose gps signal
|
||||
- a *lost* indicator on the top right if you stray too far away from path
|
||||
|
||||
### Lost
|
||||
|
||||
If you stray away from path we will rescale the display to continue displaying nearby segments and
|
||||
display the direction to follow as a purple segment.
|
||||
display the direction to follow as a purple segment. Your main position will also turn to purple.
|
||||
|
||||
Note that while lost, the app will slow down a lot since it will start scanning all possible points to figure out where you
|
||||
are. On path it just needed to scan a few points ahead and behind.
|
||||
|
||||
The distance to next point displayed corresponds to the length of the black segment.
|
||||
The distance to next point displayed corresponds to the length of the purple segment.
|
||||
|
||||
### Menu
|
||||
|
||||
|
|
|
@ -45,8 +45,6 @@ JIT: array declaration in jit is buggy
|
|||
+ when lost we still get powersaving
|
||||
+ try disabling gps for more powersaving
|
||||
|
||||
+ remove "lost" indicator and change position point's color instead
|
||||
|
||||
+ when you walk the direction still has a tendency to shift
|
||||
|
||||
+ put back foot only ways
|
||||
|
|
|
@ -1126,7 +1126,11 @@ class Status {
|
|||
previous_y = y;
|
||||
}
|
||||
}
|
||||
g.setColor(0, 0, 0);
|
||||
if (this.on_path) {
|
||||
g.setColor(0, 0, 0);
|
||||
} else {
|
||||
g.setColor(1, 0, 1);
|
||||
}
|
||||
g.fillCircle(current_x, current_y, 5);
|
||||
|
||||
// display min dist/max dist and min height/max height
|
||||
|
@ -1267,11 +1271,6 @@ class Status {
|
|||
.drawString("turn", g.getWidth() - 50, 30);
|
||||
}
|
||||
}
|
||||
if (!this.on_path) {
|
||||
g.setColor(1.0, 0.0, 0.0)
|
||||
.setFont("6x15")
|
||||
.drawString("lost", g.getWidth() - 55, 35);
|
||||
}
|
||||
}
|
||||
display_path() {
|
||||
// don't display all segments, only those neighbouring current segment
|
||||
|
@ -1329,7 +1328,11 @@ class Status {
|
|||
}
|
||||
|
||||
// now display ourselves
|
||||
g.setColor(0, 0, 0);
|
||||
if (this.on_path) {
|
||||
g.setColor(0, 0, 0);
|
||||
} else {
|
||||
g.setColor(1, 0, 1);
|
||||
}
|
||||
g.fillCircle(half_width, half_height, 5);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue