This website requires JavaScript.
Explore
Help
Sign In
randy
/
maptool
Watch
1
Star
0
Fork
0
Code
Issues
1
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
7901d75ff125927d27417cf13ab48310e287539d
maptool
/
test
T
History
randy
bd689faa93
CI / check (push)
Successful in 43s
Details
CI / deploy (push)
Successful in 17s
Details
Trip log crash-safe like a FIT: an append-only journal per trip (data/trip_log/<started>.ndjson, fsynced every 5 s, a torn last line skipped and the next one on a line of its own), a restart picks the running trip up from it into the same track, no state file to corrupt; the library's track built from it every 5 min and at the end. Drive mode: a pinned side panel's room goes back to the map
2026-12-01 10:14:57 +01:00
..
fixtures
Add an import plugin system, with the Overpass POI query as its first plugin
2026-09-09 16:23:31 +02:00
test_app.rb
GNSS simulation on its own diagnostics page (/sim.html: drive the trip's route or randomly, stop, simulated time, the position and the trip); along the route with a detour now and then (300–800 m off every 3–8 km, routed by Valhalla); simulated time 1–20× with the fixes carrying the simulation's clock, so a recorded trip keeps real speeds (PUT /api/sim/gnss); /api/can says simulated
2026-12-01 02:31:31 +01:00
test_can_discovery.rb
Nodes describe themselves: an SDO client (Can::Sdo) reads each esphome-canopen node's TPDOs and entities (type, name, unit, range) on its first heartbeat, cached by the TPDO layout hash, decoded with no hand-written signals — can.json keeps aliases (with unit conversion) and foreign devices; design doc (NPS planning, cockpit instruments, Unigrid band) with color tokens, the dashboard in cockpit colors; starting the simulation turns the GNSS follow on, the GNSS position an arrow by its course
2026-11-30 19:51:03 +01:00
test_can.rb
CAN: a node that misses 3 heartbeats is flagged silent (one journal line when it stops and when it's back, red in /can.html); /can.html tables as wide as their content, numeric headers aligned with their values
2026-11-30 18:30:21 +01:00
test_fit.rb
Tracks and routes as containers of points: listed (collapsed) under them in the tree, added via a point's popup, a new note or the route planner's navigation pins, and written as course points into the FIT course
2026-11-18 12:39:04 +01:00
test_gnss_sim.rb
GNSS simulation on its own diagnostics page (/sim.html: drive the trip's route or randomly, stop, simulated time, the position and the trip); along the route with a detour now and then (300–800 m off every 3–8 km, routed by Valhalla); simulated time 1–20× with the fixes carrying the simulation's clock, so a recorded trip keeps real speeds (PUT /api/sim/gnss); /api/can says simulated
2026-12-01 02:31:31 +01:00
test_google_saved.rb
Google saved places: a name or description changed here survives a new export (the last imported text is kept per point, a field differing from it counts as a hand edit); the popup marks such a point as edited
2026-11-27 12:47:58 +01:00
test_gpx_store.rb
Consolidate note-drawing into Measure; add edit/delete
2026-09-09 11:39:36 +02:00
test_gpx.rb
Show waypoint photos from newer p4n2gpx exports
2026-09-07 22:38:22 +02:00
test_helper.rb
Offline routing phase 1: valhalla container building from the offline map's extracts, status in the Offline data panel
2026-11-13 21:24:19 +01:00
test_hiking_trails.rb
Trails by kind: the extract keeps hiking, foot, bicycle, mtb and ski routes, each with a kind (educational told apart by educational=yes, the green diagonal marking or the name); versioned so the next offline build redoes old files; the overlay picks kinds (hiking and educational by default), the elevation profile shows the ones for the activity
2026-11-27 14:40:46 +01:00
test_kiwix.rb
Search the offline map and Wikipedia, nearest results first
2026-11-12 12:13:13 +01:00
test_library.rb
Tracks and routes as containers of points: listed (collapsed) under them in the tree, added via a point's popup, a new note or the route planner's navigation pins, and written as course points into the FIT course
2026-11-18 12:39:04 +01:00
test_live_store.rb
Tracker and ITS-G5 as separate overlays, Overlays grouped by category: the tracker gets a name/icon/color, charging from its USB power topic, a floating info card (per-device opacity), a trail of the last 1–24 h and optional position logging that survives restarts (LiveStore); hiking trails keep their main checkbox as an all-countries toggle
2026-11-19 11:57:36 +01:00
test_livetrack_client.rb
Detect a LiveTrack session ending the moment Garmin confirms it, not 30min later
2026-09-20 16:55:57 +02:00
test_livetrack_store.rb
Flag LiveTrack sessions whose map Garmin no longer serves
2026-09-08 14:19:15 +02:00
test_mqtt_client.rb
Vehicle & ITS-G5 overlay: a stdlib MQTT subscriber (MQTT_URL/USERNAME/PASSWORD) keeps the car's LTE tracker position and the ITS-G5 stations heard by mcu-its-g5 (decoded header, stations expire after 60 s), served by /api/live and drawn as a car badge plus stations colored by type with DENM in red; Meshtastic noted in TODO
2026-11-19 00:46:26 +01:00
test_overpass_pois.rb
Fix three bugs found reviewing this session's changes
2026-09-09 18:21:47 +02:00
test_places.rb
Places index: also drop localities, isolated dwellings and kindless objects
2026-11-12 13:42:04 +01:00
test_plugins.rb
Fix three bugs found reviewing this session's changes
2026-09-09 18:21:47 +02:00
test_pmtiles_builder.rb
Trails by kind: the extract keeps hiking, foot, bicycle, mtb and ski routes, each with a kind (educational told apart by educational=yes, the green diagonal marking or the name); versioned so the next offline build redoes old files; the overlay picks kinds (hiking and educational by default), the elevation profile shows the ones for the activity
2026-11-27 14:40:46 +01:00
test_routing.rb
Driving menu Trip: the stops as big rows (look, ✓ passed, ↑ ↓, ✕), a stop at the crosshair, the start at the car, search of saved points and offline places; each leg's km and time (legs_s) and the total, in the route panel too; passed stops kept (not routed, dimmed, editable) — a reroute marks them instead of dropping them; /status.html: every status endpoint full width (the debug panel links it); the trip-as-plan-and-log model and planned-vs-driven colors in docs/TODO
2026-12-01 02:21:14 +01:00
test_search.rb
Unnamed imported tracks (FIT, ...) take the file's name, backfilled once for earlier imports; split and best-effort times with seconds
2026-11-17 23:37:41 +01:00
test_sync.rb
Library sync OsmAnd-style: brick is the server, a client (the car's maptool, SYNC_SERVER_URL) syncs on its Sync button — pulls the server's rows, pushes its own with the source files the server lacks, newer updated_at wins; /api/sync/* guarded by SYNC_TOKEN (written into brick's .env by CI). TRUSTED_NETWORKS logs in the car's LAN (no Gitea offline); TAKEOUT_HOST_DIR for a server without the Takeout; bin/pull-maps.sh pulls map data one way while at home
2026-11-27 23:22:32 +01:00
test_track_stats.rb
Add a Distance/Time toggle to the profile chart's x-axis
2026-09-07 13:54:49 +02:00
test_trip_log.rb
Trip log crash-safe like a FIT: an append-only journal per trip (data/trip_log/<started>.ndjson, fsynced every 5 s, a torn last line skipped and the next one on a line of its own), a restart picks the running trip up from it into the same track, no state file to corrupt; the library's track built from it every 5 min and at the end. Drive mode: a pinned side panel's room goes back to the map
2026-12-01 10:14:57 +01:00
test_trip.rb
Driving menu Trip: the stops as big rows (look, ✓ passed, ↑ ↓, ✕), a stop at the crosshair, the start at the car, search of saved points and offline places; each leg's km and time (legs_s) and the total, in the route panel too; passed stops kept (not routed, dimmed, editable) — a reroute marks them instead of dropping them; /status.html: every status endpoint full width (the debug panel links it); the trip-as-plan-and-log model and planned-vs-driven colors in docs/TODO
2026-12-01 02:21:14 +01:00
test_updater.rb
Shared trip: one itinerary per server (data/trip.json, GET/PUT /api/trip, routed server-side), the route panel edits it when logged in and polls other screens' changes in without moving the camera; the GNSS simulation skips trips under 1 km and starts elsewhere when it can't get on from a road island; the car's server updates itself from a topbar button (SELF_UPDATE=1: newer main with CI passed → bin/update-maptool.sh via maptool-update.path); Android Auto and the trip's next steps in TODO
2026-11-30 19:19:37 +01:00