Compare commits

...
Author SHA1 Message Date
dasemu f38f361c5b Merge pull request #17 from Dasemu/feat/gpx-road-routing-tft-camera
feat: road-route imported GPX stops and widen the TFT camera
2026-10-26 17:26:18 +01:00
dasemuandClaude Opus 5.5 997816f2e4 feat: route GPX deviations back to the nearest point ahead
After a sustained deviation from an imported route, a road leg from the
current position is prepended to the rest of the route, starting at the
nearest point ahead of the progress made (never behind). While off the
route, passing within 100 m of a later point counts as reaching it.
The imported geometry itself is never replaced.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:17:33 +01:00
dasemuandClaude Opus 5.5 31eea182b9 feat: reroute the leg to an imported route's first point
Leaving the prepended leg before reaching the GPX recalculates that leg
from the current position under the normal off-route policy. Deviations
on the imported route itself are still never rerouted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 17:05:20 +01:00
dasemuandClaude Opus 5.5 646a4a2a2a fix: wait for a precise fix on start and route GPX from the rider
- Start no longer fails when the first fix is coarser than 25 m: both
  searched and imported routes wait up to 60 s for guidance accuracy.
- Starting an imported route more than 150 m from its first point
  prepends a road leg from the current position; traces stay traces.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 16:43:41 +01:00
dasemuandClaude Opus 5.5 b7bf2c2b43 feat: road-route imported GPX stops and widen the TFT camera
- Route points, waypoints and sparse tracks are joined along roads with
  multi-location Valhalla requests (chunks of 20, merged legs); failures
  offer a retry instead of straight lines.
- TFT camera: lower zoom, 45 degree pitch and rider lower in the frame;
  rider zoom offset from Settings and NaviLite zoom requests 51/52.
- Online map failures fall back to an installed offline pack for 30 s.
- Production-facing copy cleanup and docs; version 0.14.8 (25).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 16:27:51 +01:00
dasemu 694fefd98b Merge pull request #15 from Dasemu/feat/gpx-route-road-calculation
Feat/gpx route road calculation
2026-10-26 09:38:49 +01:00
dasemu e5f4cfd8bd chore: bump GPX feature version to 0.14.7 2026-10-26 09:35:45 +01:00
dasemu 6a04c38a77 chore: bump GPX feature version to 0.14.7 2026-10-26 09:35:43 +01:00
dasemu a7f7198fd3 fix: render route preview warning on a new line 2026-10-26 09:29:40 +01:00
dasemu b14c625263 feat: support road calculation for imported GPX stops 2026-10-26 09:28:46 +01:00
dasemu 196b7da8ea feat: support road calculation for imported GPX stops 2026-10-26 09:28:42 +01:00
dasemu 0ee1f621cf feat: support road calculation for imported GPX stops 2026-10-26 09:28:39 +01:00
dasemu d5819d939c Merge pull request #13 from Dasemu/development
Development
2026-10-26 07:41:47 +01:00
Claude 2977db39b6 fix: keep missing bundled assets classified as NOT_FOUND after merging main
Merging main brought the hotfix that filters SDK messages through a fixed
vocabulary before classification and appends that evidence to safeText.
"asset" was not in the vocabulary, so "Could not read asset" reduced to
"could not read" and the NOT_FOUND rule from 0.13.7 never matched,
failing MapRenderDiagnosticsTest.missingBundledAssetIsReportedAsNotFound.

Allow "asset"/"assets" as diagnostic vocabulary and expect the evidence
suffix the merged safeText now carries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FdDjmR7v3NW8B5F37mxZWE
2026-10-26 05:53:34 +00:00
Claude 6316c8854c release: promote development as 0.14.6 and automate version bumps
The development -> main promotion must carry x.(y+1).z relative to main
(0.13.6 -> 0.14.6), but development still declared 0.13.7, so the branch
and version policy check failed.

Set versionName 0.14.6 (versionCode 23 > main's 22) and the README
version. Add a --write mode to the policy script that applies the exact
required versionName, versionCode and README version for any allowed
source/destination pair, and make a failed check print that command, so
bumps are never computed by hand again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FdDjmR7v3NW8B5F37mxZWE
2026-10-26 05:52:21 +00:00
dasemu b6eeb62929 Merge branch 'main' into development 2026-10-26 06:48:25 +01:00
dasemu 20436c119f Merge pull request #12 from Dasemu/fix/tft-missing-glyph-ranges
fix: keep TFT snapshots alive when labels need unbundled glyph ranges
2026-10-26 03:27:45 +01:00
Claude bca606170f fix: keep TFT snapshots alive when labels need unbundled glyph ranges
MapLibre's MapSnapshotter aborts the whole still image on any glyph load
error. The offline style only bundled Noto Sans ranges 0-2047, while the
Asturias archive labels use U+1E36/U+1E37 (Asturian Ḷḷ) and typographic
quotes/dashes, so the TFT failed with SDK/STYLE_READY UNKNOWN/UNKNOWN
("Could not read asset") whenever such a label was in view, while the
phone MapView kept working.

Bundle the unmodified demotiles ranges 7680-7935 and 8192-8447, add an
empty placeholder for every other BMP range, report missing assets as
NOT_FOUND, and release 0.13.7.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014YKH4z66ZCe2wK4GvgRg7g
2026-10-26 02:19:57 +00:00
dasemu 4d0df9c0a2 Merge pull request #11 from Dasemu/hotfix/tft-render-diagnostics
Improve TFT map failure diagnostics and preserve incident onset
2026-10-13 16:00:33 +02:00
dasemu 21dc71a450 Merge pull request #10 from Dasemu/hotfix/imported-route-rejoin
hotfix: resume GPX guidance when rejoining after a detour
2026-10-13 15:28:09 +02:00
Darío Sevilla 93a20d35d7 fix: retain actionable TFT SDK diagnostics and prolonged failure onset 2026-10-13 13:19:27 +00:00
Darío Sevilla 21023d229c test: prevent false arrival when rejoining a closed GPX trace 2026-10-13 13:18:46 +00:00
Darío Sevilla bdd5b4f1ab fix: resume imported GPX guidance after a confirmed detour 2026-10-13 13:14:19 +00:00
dasemu 1a14b3164d Merge pull request #9 from Dasemu/fix/gpx-route-track-pair
Fix GPX import with route stops and a detailed track
2026-10-13 14:50:00 +02:00
Darío Sevilla 67c5ba684b fix: import GPX files containing route stops and a detailed track 2026-10-13 10:08:55 +00:00
dasemu bdb91c3d7a Merge pull request #8 from Dasemu/fix/branch-version-policy
Install PR branch and version policy on development
2026-10-13 11:59:46 +02:00
286 changed files with 1960 additions and 145 deletions

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ NavFrame is an experimental Android navigation app that renders its own 480×240
The owner has confirmed static and synthetic NavFrame frames on a Xiaomi 11 Lite 5G NE running Android 14 and a 2026 Yamaha MT-07, and the bundled Asturias map working offline on the phone. On 2026-10-12, the owner reported that the latest version displayed the map on the TFT for about 20 minutes, then showed `Mapa no disponible` in La Corredoria (Oviedo) for the rest of the trip while the phone map continued working. An offline map was installed. The exact installed build, diagnostic code and background state were not recorded; the cause is under investigation. This establishes a successful map display followed by a persistent failure, not sustained TFT reliability. The owner has confirmed static and synthetic NavFrame frames on a Xiaomi 11 Lite 5G NE running Android 14 and a 2026 Yamaha MT-07, and the bundled Asturias map working offline on the phone. On 2026-10-12, the owner reported that the latest version displayed the map on the TFT for about 20 minutes, then showed `Mapa no disponible` in La Corredoria (Oviedo) for the rest of the trip while the phone map continued working. An offline map was installed. The exact installed build, diagnostic code and background state were not recorded; the cause is under investigation. This establishes a successful map display followed by a persistent failure, not sustained TFT reliability.
The current checkout is version 0.13.5. The 0.13 series adds voice/routing language selection for Spanish, English, German, French, and Italian, plus a system-language option; unsupported system locales resolve to English. Speech still depends on the Android TextToSpeech engine and its installed voice data. The app includes offline map and place data for Asturias, plus installable regional packages. Worldwide regions can be discovered and built on demand through the [regional package workflow](docs/GLOBAL_OFFLINE.md); this is not complete worldwide coverage. Installed packages currently provide map and local place/camera data. Offline route calculation, global camera completeness, and complete worldwide font coverage are not provided. The current checkout is version 0.14.8. The 0.13 series adds voice/routing language selection for Spanish, English, German, French, and Italian, plus a system-language option; unsupported system locales resolve to English. Speech still depends on the Android TextToSpeech engine and its installed voice data. The app includes offline map and place data for Asturias, plus installable regional packages. Worldwide regions can be discovered and built on demand through the [regional package workflow](docs/GLOBAL_OFFLINE.md); this is not complete worldwide coverage. Installed packages currently provide map and local place/camera data. Offline route calculation, global camera completeness, and complete worldwide font coverage are not provided.
Route calculation and address search use configurable online services. Spoken output uses the selected language when Android provides voice data; voice availability and offline behavior depend on the device's TextToSpeech engine. Physical validation of route guidance, voice playback, camera alerts, sustained TFT map rendering, and a 30-minute screen-off session remains pending unless a newer test report says otherwise. Route calculation and address search use configurable online services. Spoken output uses the selected language when Android provides voice data; voice availability and offline behavior depend on the device's TextToSpeech engine. Physical validation of route guidance, voice playback, camera alerts, sustained TFT map rendering, and a 30-minute screen-off session remains pending unless a newer test report says otherwise.
+2 -2
View File
@@ -15,8 +15,8 @@ android {
applicationId = "dev.navframe.app" applicationId = "dev.navframe.app"
minSdk = 26 minSdk = 26
targetSdk = 35 targetSdk = 35
versionName = "0.13.5" versionName = "0.14.8"
versionCode = 21 versionCode = 25
} }
if (hasReleaseSigning) { if (hasReleaseSigning) {
signingConfigs.create("production") { signingConfigs.create("production") {
+3 -1
View File
@@ -2,7 +2,9 @@
Unmodified glyph PBF files supplied by MapLibre demotiles, font/Noto Sans Regular. Unmodified glyph PBF files supplied by MapLibre demotiles, font/Noto Sans Regular.
Source: https://github.com/maplibre/demotiles/tree/gh-pages/font/Noto%20Sans%20Regular Source: https://github.com/maplibre/demotiles/tree/gh-pages/font/Noto%20Sans%20Regular
Unicode ranges 0–2047. The license below is reproduced unchanged from that font directory. Unicode ranges 0–2047, 7680–7935 (Latin Extended Additional, e.g. Asturian Ḷ/ḷ) and 8192–8447 (General Punctuation, e.g. ’ – —).
Every other range up to 65535 is an empty NavFrame placeholder containing no glyph data, generated by tools/offline/fill-glyph-ranges.py.
The license below is reproduced unchanged from that font directory.
This Font Software is licensed under the SIL Open Font License, This Font Software is licensed under the SIL Open Font License,
Version 1.1. Version 1.1.
@@ -0,0 +1,3 @@
Noto Sans Regular 10240-10495
@@ -0,0 +1,3 @@
Noto Sans Regular 10496-10751
@@ -0,0 +1,3 @@
Noto Sans Regular 10752-11007
@@ -0,0 +1,3 @@
Noto Sans Regular 11008-11263
@@ -0,0 +1,3 @@
Noto Sans Regular 11264-11519
@@ -0,0 +1,3 @@
Noto Sans Regular 11520-11775
@@ -0,0 +1,3 @@
Noto Sans Regular 11776-12031
@@ -0,0 +1,3 @@
Noto Sans Regular 12032-12287
@@ -0,0 +1,3 @@
Noto Sans Regular 12288-12543
@@ -0,0 +1,3 @@
Noto Sans Regular 12544-12799
@@ -0,0 +1,3 @@
Noto Sans Regular 12800-13055
@@ -0,0 +1,3 @@
Noto Sans Regular 13056-13311
@@ -0,0 +1,3 @@
Noto Sans Regular 13312-13567
@@ -0,0 +1,3 @@
Noto Sans Regular 13568-13823
@@ -0,0 +1,3 @@
Noto Sans Regular 13824-14079
@@ -0,0 +1,3 @@
Noto Sans Regular 14080-14335
@@ -0,0 +1,3 @@
Noto Sans Regular 14336-14591
@@ -0,0 +1,3 @@
Noto Sans Regular 14592-14847
@@ -0,0 +1,3 @@
Noto Sans Regular 14848-15103
@@ -0,0 +1,3 @@
Noto Sans Regular 15104-15359
@@ -0,0 +1,3 @@
Noto Sans Regular 15360-15615
@@ -0,0 +1,3 @@
Noto Sans Regular 15616-15871
@@ -0,0 +1,3 @@
Noto Sans Regular 15872-16127
@@ -0,0 +1,3 @@
Noto Sans Regular 16128-16383
@@ -0,0 +1,3 @@
Noto Sans Regular 16384-16639
@@ -0,0 +1,3 @@
Noto Sans Regular 16640-16895
@@ -0,0 +1,3 @@
Noto Sans Regular 16896-17151
@@ -0,0 +1,3 @@
Noto Sans Regular 17152-17407
@@ -0,0 +1,3 @@
Noto Sans Regular 17408-17663
@@ -0,0 +1,3 @@
Noto Sans Regular 17664-17919
@@ -0,0 +1,3 @@
Noto Sans Regular 17920-18175
@@ -0,0 +1,3 @@
Noto Sans Regular 18176-18431
@@ -0,0 +1,3 @@
Noto Sans Regular 18432-18687
@@ -0,0 +1,3 @@
Noto Sans Regular 18688-18943
@@ -0,0 +1,3 @@
Noto Sans Regular 18944-19199
@@ -0,0 +1,3 @@
Noto Sans Regular 19200-19455
@@ -0,0 +1,3 @@
Noto Sans Regular 19456-19711
@@ -0,0 +1,3 @@
Noto Sans Regular 19712-19967
@@ -0,0 +1,3 @@
Noto Sans Regular 19968-20223
@@ -0,0 +1,3 @@
Noto Sans Regular 20224-20479
@@ -0,0 +1,3 @@

Noto Sans Regular 2048-2303
@@ -0,0 +1,3 @@
Noto Sans Regular 20480-20735
@@ -0,0 +1,3 @@
Noto Sans Regular 20736-20991
@@ -0,0 +1,3 @@
Noto Sans Regular 20992-21247
@@ -0,0 +1,3 @@
Noto Sans Regular 21248-21503
@@ -0,0 +1,3 @@
Noto Sans Regular 21504-21759
@@ -0,0 +1,3 @@
Noto Sans Regular 21760-22015
@@ -0,0 +1,3 @@
Noto Sans Regular 22016-22271
@@ -0,0 +1,3 @@
Noto Sans Regular 22272-22527
@@ -0,0 +1,3 @@
Noto Sans Regular 22528-22783
@@ -0,0 +1,3 @@
Noto Sans Regular 22784-23039
@@ -0,0 +1,3 @@

Noto Sans Regular 2304-2559
@@ -0,0 +1,3 @@
Noto Sans Regular 23040-23295
@@ -0,0 +1,3 @@
Noto Sans Regular 23296-23551
@@ -0,0 +1,3 @@
Noto Sans Regular 23552-23807
@@ -0,0 +1,3 @@
Noto Sans Regular 23808-24063
@@ -0,0 +1,3 @@
Noto Sans Regular 24064-24319
@@ -0,0 +1,3 @@
Noto Sans Regular 24320-24575
@@ -0,0 +1,3 @@
Noto Sans Regular 24576-24831
@@ -0,0 +1,3 @@
Noto Sans Regular 24832-25087
@@ -0,0 +1,3 @@
Noto Sans Regular 25088-25343
@@ -0,0 +1,3 @@
Noto Sans Regular 25344-25599
@@ -0,0 +1,3 @@

Noto Sans Regular 2560-2815
@@ -0,0 +1,3 @@
Noto Sans Regular 25600-25855
@@ -0,0 +1,3 @@
Noto Sans Regular 25856-26111
@@ -0,0 +1,3 @@
Noto Sans Regular 26112-26367
@@ -0,0 +1,3 @@
Noto Sans Regular 26368-26623
@@ -0,0 +1,3 @@
Noto Sans Regular 26624-26879
@@ -0,0 +1,3 @@
Noto Sans Regular 26880-27135
@@ -0,0 +1,3 @@
Noto Sans Regular 27136-27391
@@ -0,0 +1,3 @@
Noto Sans Regular 27392-27647
@@ -0,0 +1,3 @@
Noto Sans Regular 27648-27903
@@ -0,0 +1,3 @@
Noto Sans Regular 27904-28159
@@ -0,0 +1,3 @@

Noto Sans Regular 2816-3071
@@ -0,0 +1,3 @@
Noto Sans Regular 28160-28415
@@ -0,0 +1,3 @@
Noto Sans Regular 28416-28671
@@ -0,0 +1,3 @@
Noto Sans Regular 28672-28927
@@ -0,0 +1,3 @@
Noto Sans Regular 28928-29183
@@ -0,0 +1,3 @@
Noto Sans Regular 29184-29439
@@ -0,0 +1,3 @@
Noto Sans Regular 29440-29695
@@ -0,0 +1,3 @@
Noto Sans Regular 29696-29951
@@ -0,0 +1,3 @@
Noto Sans Regular 29952-30207
@@ -0,0 +1,3 @@
Noto Sans Regular 30208-30463
@@ -0,0 +1,3 @@
Noto Sans Regular 30464-30719
@@ -0,0 +1,3 @@

Noto Sans Regular 3072-3327
@@ -0,0 +1,3 @@
Noto Sans Regular 30720-30975
@@ -0,0 +1,3 @@
Noto Sans Regular 30976-31231
@@ -0,0 +1,3 @@
Noto Sans Regular 31232-31487
@@ -0,0 +1,3 @@
Noto Sans Regular 31488-31743
@@ -0,0 +1,3 @@
Noto Sans Regular 31744-31999
@@ -0,0 +1,3 @@
Noto Sans Regular 32000-32255
@@ -0,0 +1,3 @@
Noto Sans Regular 32256-32511
@@ -0,0 +1,3 @@
Noto Sans Regular 32512-32767
@@ -0,0 +1,3 @@
Noto Sans Regular 32768-33023
@@ -0,0 +1,3 @@
Noto Sans Regular 33024-33279
@@ -0,0 +1,3 @@

Noto Sans Regular 3328-3583
@@ -0,0 +1,3 @@
Noto Sans Regular 33280-33535
Loaded 100 of 286 files, more files were not shown because too many files have changed in this diff. Show more