1
0
Fork 0
BangleApps/apps/gipy/README.md

133 lines
5.3 KiB
Markdown
Raw Normal View History

2022-07-11 14:51:03 +00:00
# Gipy
2022-11-05 16:17:49 +00:00
Gipy allows you to follow gpx traces on your watch.
2022-12-31 10:28:07 +00:00
![Screenshot](splash.png)
2022-11-06 09:08:47 +00:00
2022-12-31 11:33:36 +00:00
It is mainly meant for bicycling but hiking might be fine.
2022-11-06 09:08:47 +00:00
It is untested on Banglejs1. If you can try it, you would be welcome.
This software is not perfect but surprisingly useful.
## Features
2022-11-05 16:17:49 +00:00
It provides the following features :
- display the path with current position from gps
- display a local map around you, downloaded from openstreetmap
2022-11-05 16:17:49 +00:00
- detects and buzzes if you leave the path
2023-07-08 09:46:38 +00:00
- (optional) buzzes before sharp turns
- (optional) buzzes before waypoints
2022-11-05 16:17:49 +00:00
(for example when you need to turn in https://mapstogpx.com/)
- display instant / average speed
2022-12-30 15:06:18 +00:00
- display distance to next point
2022-11-05 16:17:49 +00:00
- display additional data from openstreetmap :
- water points
- toilets
- artwork
- bakeries
2022-07-11 14:51:03 +00:00
## Usage
2022-11-06 09:08:47 +00:00
### Preparing the file
You first need to have a trace file in *gpx* format.
Usually I download from [komoot](https://www.komoot.com/) or I export
from google maps using [mapstogpx](https://mapstogpx.com/). [Brouter](https://brouter.damsy.net) is
also a nice open source option.
2022-11-06 09:08:47 +00:00
2022-11-06 09:18:33 +00:00
Note that *mapstogpx* has a super nice feature in its advanced settings.
You can turn on 'next turn info' and be warned by the watch when you need to turn.
2022-11-06 09:08:47 +00:00
Once you have your gpx file you need to convert it to *gpc* which is my custom file format.
They are smaller than gpx and reduce the number of computations left to be done on the watch.
2022-11-09 07:45:44 +00:00
Just click the disk icon and select your gpx file.
This will request additional information from openstreetmap.
Your path will be displayed in svg.
2022-11-06 09:08:47 +00:00
### Starting Gipy
2022-07-11 14:51:03 +00:00
2022-12-31 11:33:36 +00:00
At start you will have a menu for selecting your trace (if more than one).
2023-07-08 09:46:38 +00:00
Choose the one you want and you will reach the splash screen where you'll wait for the map.
Once the map is loaded you will reach the main screen:
2022-11-06 09:08:47 +00:00
2022-12-30 15:06:18 +00:00
![Screenshot](legend.png)
2022-11-06 09:08:47 +00:00
The screen is oriented so that the top of the image is in front of you.
It will rotate as you turn.
2022-12-31 11:33:36 +00:00
On your screen you can see:
2022-11-06 09:08:47 +00:00
- yourself (the big black dot)
- the path (thick red line)
- a green arrow telling you which way is forward
2022-11-06 09:08:47 +00:00
- if needed a projection of yourself on the path (small black dot)
- waypoints as large white dots
2022-12-31 11:33:36 +00:00
- some text on the left (from top to bottom):
2022-11-06 09:08:47 +00:00
* current time
2022-12-30 15:06:18 +00:00
* time to reach end point at current average speed
2022-11-06 09:08:47 +00:00
* left distance till end of current segment
2022-12-30 15:06:18 +00:00
* remaining distance / path length
2022-11-06 09:08:47 +00:00
* average speed / instant speed
2022-11-09 07:45:44 +00:00
- interest points from openstreetmap as color dots :
2022-12-31 11:33:36 +00:00
* red: bakery
* deep blue: water point
* cyan: toilets (often doubles as water point)
* green: artwork
2022-11-06 09:08:47 +00:00
- 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
2022-12-30 15:06:18 +00:00
2022-12-31 10:28:07 +00:00
### Lost
2022-12-30 15:06:18 +00:00
If you stray away from path we will rescale the display to continue displaying nearby segments and
2023-07-08 09:46:38 +00:00
display the direction to follow as a purple segment.
2022-12-30 15:06:18 +00:00
2022-12-31 10:28:07 +00:00
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.
### Menu
If you click the button you'll reach a menu where you can currently zoom out to see more of the map
2023-07-11 09:18:30 +00:00
(with a slower refresh rate), reverse the path direction and disable power saving (keeping backlight on).
2022-11-06 09:08:47 +00:00
### Settings
Few settings for now (feel free to suggest me more) :
- lost distance : at which distance from path are you considered to be lost ?
2023-07-08 09:46:38 +00:00
- buzz on turns : should the watch buzz when reaching a waypoint ?
- disable bluetooth : turn bluetooth off completely to try to save some power.
2023-07-11 09:18:30 +00:00
- brightness : how bright should screen be ? (by default 0.5, again saving power)
2023-07-18 06:59:37 +00:00
- power lcd off (disabled by default): turn lcd off when inactive to save power. the watch will wake up when reaching points,
when you touch the screen and when speed is below 13km/h.
2022-11-06 09:08:47 +00:00
### Caveats
It is good to use but you should know :
2022-11-06 09:33:53 +00:00
- the gps might take a long time to start initially (see the assisted gps update app).
2022-11-06 09:08:47 +00:00
- gps signal is noisy : there is therefore a small delay for instant speed. sometimes you may jump somewhere else.
2023-07-11 09:18:30 +00:00
- if you adventure in gorges the gps signal will become garbage.
2022-11-06 09:08:47 +00:00
- your gpx trace has been decimated and approximated : the **REAL PATH** might be **A FEW METERS AWAY**
- sometimes the watch will tell you that you are lost but you are in fact on the path. It usually figures again
the real gps position after a few minutes. It usually happens when the signal is acquired very fast.
2022-11-06 09:08:47 +00:00
- buzzing does not always work: when there is a high load on the watch, the buzzes might just never happen :-(.
- buzzes are not strong enough to be always easily noticed.
- be careful when **GOING DOWNHILL AT VERY HIGH SPEED**. I already missed a few turning points and by the time I realized it,
I had to go back uphill by quite a distance.
2022-07-11 14:51:03 +00:00
## Creator
2022-11-06 09:08:47 +00:00
Feel free to give me feedback : is it useful for you ? what other features would you like ?
2023-07-05 13:46:45 +00:00
If you want to raise issues the main repository is [https://github.com/wagnerf42/BangleApps](here) and
the rust code doing the actual map computations is located [https://github.com/wagnerf42/gps](here).
2023-07-08 09:46:38 +00:00
You can try the cutting edge version at [https://wagnerf42.github.io/BangleApps/](https://wagnerf42.github.io/BangleApps/)
2023-07-05 13:46:45 +00:00
2022-07-11 14:51:03 +00:00
frederic.wagner@imag.fr