Commit Graph
399 Commits
Author SHA1 Message Date
randy 17891c53b5 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
CI / check (push) Successful in 22s
CI / deploy (push) Successful in 17s
2026-11-30 19:19:37 +01:00
randy 5f4c7c6ee8 Navigation: rerouting off the route (30 m for 3 fixes, HDOP ≤ 5, every 15 s at most) from the position to the points not reached yet; lanes as SVG arrows, the ones to take bold; dashboard background see-through with a slider; the GNSS simulation starts at a random place in the offline countries, the map jumping there
CI / check (push) Successful in 22s
CI / deploy (push) Successful in 18s
2026-11-30 19:11:07 +01:00
randy fbccb2acc9 GNSS follow glides the marker and the camera linearly to each fix over the poll interval instead of jumping; the simulation sends a fix every 0.5 s
CI / check (push) Successful in 22s
CI / deploy (push) Successful in 17s
2026-11-30 18:48:20 +01:00
randy 8680cdbee7 GNSS course worked out server-side (App.gnss_update, for the CAN node and the simulation, which send none): following in 3D turns heading-up behind the position again
CI / check (push) Successful in 23s
CI / deploy (push) Successful in 17s
2026-11-30 18:45:32 +01:00
randy f65eb98d18 Docs: the HMC5883L heading — ESPHome's atan2(-x, y) is −180..180, the node now adds 360 to the negatives (they arrived as 0 in its 0..360 encoding) 2026-11-30 18:42:50 +01:00
randy 190a8ad334 Dashboard overlay (Overlays → Live → Dashboard): one inclinometer (compass ring, roll and pitch), speed, the speed limit with an over-limit warning and, on the route, the next limit change, traffic signal, maneuver and its lanes; /api/route gains speed_limits, signals and lanes, POST /api/road gives the driven road's limit; GNSS simulation (random trips over Valhalla) for trying it without the car; the HMC5883L heading in can.json
CI / check (push) Successful in 24s
CI / deploy (push) Successful in 17s
2026-11-30 18:30:21 +01:00
randy 5958ffd153 Road names and route numbers past z16 keep the same spacing on the ground (symbol-spacing grows with the zoom), not one every few meters at z22 2026-11-30 18:30:21 +01:00
randy 500acf9fd5 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
randy 5c023619ec Map data pull over brick's nginx: X-Accel-Buffering: no on map files (buffered, nginx's 1 GB temp file cap ended every bigger download there); each attempt resumes from the part on disk (curl's --retry kept its first offset); a file that can't be written is skipped, not the whole run
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 17s
2026-11-29 17:52:02 +01:00
randy 62045be0f7 TRUSTED_NETWORKS=connected: requests from the subnets the server's interfaces are on right now count as logged in (the car's server, whichever Wi-Fi it's on); CIDRs still work alongside
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 23s
2026-11-29 17:19:13 +01:00
randy ea14b110e6 kiwix waits for a non-empty ZIM instead of a restart loop (on the car's server each restart's veth set off avahi's mDNS announcements and filled the Pi's Wi-Fi); pull-maps drops a connection a minute without data so the retry resumes (Wi-Fi switched under it)
CI / check (push) Successful in 22s
CI / deploy (push) Successful in 17s
2026-11-29 17:03:53 +01:00
randy f9fbcdbbc5 Map data pull: of kiwix/ only the served wikipedia.zim, not the other ZIMs lying there (65 GB)
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 17s
2026-11-29 13:13:02 +01:00
randy 5eea31c741 Update dependency maplibre-gl to v6.20.0
CI / check (pull_request) Successful in 21s
CI / deploy (pull_request) Skipped
CI / check (push) Successful in 20s
CI / deploy (push) Successful in 17s
2026-11-29 11:49:22 +00:00
randy 6a0d6194fe CANopen diagnostics and map data over HTTPS: /can.html (interfaces, nodes with heartbeat state and last EMCY, decoded signals, every COB-ID with role, count, rate and last data); signals can mark an invalid raw value (esphome-canopen's unknown) and NaN gives no value; the CAN reader never dies and a broken can.json only turns CAN off; the GNSS node mcu-stm32-xiao-c5-2 (0x21) and host networking for the car's server in docs; bin/pull-maps.sh pulls map data from GET /api/sync/maps(/file) with SYNC_TOKEN instead of rsync over SSH, resuming cut-off downloads
CI / check (push) Successful in 42s
CI / deploy (push) Successful in 18s
2026-11-29 12:47:23 +01:00
randy a3e5fefaf1 3D relief like OsmAnd: the 3D button raises the terrain on its own DEM source (exaggeration 1.5), no longer needing Terrain shading or waiting for isStyleLoaded (false while tiles load, so it never came on); color-relief uses ["elevation"] (MapLibre 6), which had broken the whole Terrain shading overlay
CI / check (push) Successful in 22s
CI / deploy (push) Successful in 18s
2026-11-28 19:37:40 +01:00
randy dbe742321a 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
CI / check (push) Successful in 22s
CI / deploy (push) Successful in 18s
2026-11-27 23:22:32 +01:00
randy 850a5946ad Native CAN (the van's final setup, MQTT the stopgap): SocketCAN on any number of interfaces, CANopen frame roles, heartbeat states and NMT start, signals decoded by data/can.json (id/mask, byte/bit, type, scale/offset, unit); gnss.* signals feed the GNSS control, GET /api/can; tested over vcan0
CI / check (push) Successful in 20s
CI / deploy (push) Successful in 17s
2026-11-27 22:48:46 +01:00
randy 78bdc7f6f0 Symbols page: point symbols grouped into categories (safety, accessibility, water, camping, food, winter, trails, transport, sights, programs, services) by name, empty ones hidden while filtering
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 18s
2026-11-27 17:26:34 +01:00
randy 9015a4936d Side panels: header icon buttons one size and color (pin and export menu no longer off), title cut short instead of wrapping; tree dividers between siblings so a folder's line comes after its contents; Offline data group rows centered, subregion row smaller; plugin rows wrap with the whole Run button 2026-11-27 17:26:34 +01:00
randy b32f7d3bd3 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
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 18s
2026-11-27 14:40:46 +01:00
randy 4bcd85f269 Hiking trails: lanes built only from the route pieces around the view (half a view each side), rebuilt when the view leaves it, drawn from zoom 11 — a whole country's graph took seconds per rebuild on the main thread and froze the browser
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 17s
2026-11-27 14:34:24 +01:00
randy cf43c3e926 Update ghcr.io/renovatebot/renovate Docker tag to v45
CI / check (push) Successful in 20s
CI / deploy (push) Successful in 17s
2026-11-27 14:30:12 +01:00
randy cd8444ce2a Runtime map images (texture patterns, peak triangle) added with every style before tiles ask for them; styleimagemissing kept as the fallback (MapLibre 6 skips an image added from it for the requesting tile)
CI / check (push) Successful in 23s
CI / deploy (push) Successful in 17s
2026-11-27 14:29:29 +01:00
randy f0ff5f390f Hiking trails: the main checkbox loads the countries in view from zoom 10 (and those panned into), not all at once — together ~1 GB of GeoJSON the browser never finished; /api/hiking-trails also sends each country's bbox 2026-11-27 14:29:29 +01:00
randy 477f68f5b3 Map: ski lifts and cable cars (OpenMapTiles aerialway, which Liberty doesn't draw) as a line with topo cross ticks from z12, named from z13; night colors
CI / check (push) Successful in 20s
CI / deploy (push) Successful in 18s
2026-11-27 14:15:21 +01:00
randy 3561cb2f45 Side panels: OsmAnd-style list dividers between rows, section headings on a gray band, full-width group separators in the sidebar rail 2026-11-27 14:15:21 +01:00
randy 49900c1703 Drop gpsd support and the GNSS simulator service: the car's GNSS comes over CAN later; /api/gnss/position and the GNSS control stay, fed through GNSS_LATEST
CI / check (push) Successful in 20s
CI / deploy (push) Successful in 17s
2026-11-27 13:59:53 +01:00
randy 09a9d8baba Test: the cut-off download case runs as the last attempt, so the new retry doesn't hang CI for minutes reconnecting to a one-shot server 2026-11-27 13:59:46 +01:00
randy 064871b687 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
CI / check (push) Successful in 8m50s
CI / deploy (push) Successful in 17s
2026-11-27 12:47:58 +01:00
randy 3f4b30d737 Side panels: finger-sized rows and controls on desktop too (one layout, as OsmAnd); track and folder actions (edit, download, delete) behind one ⋯ menu
CI / check (push) Successful in 8m50s
CI / deploy (push) Successful in 17s
2026-11-27 12:30:30 +01:00
randy cc833d5793 Map: protected area names while zoomed out (z6–10, local name, green italic) and mountain peaks from z7 (triangle drawn at runtime as SDF, name and elevation, highest win a collision); both recolored in night mode 2026-11-27 12:30:30 +01:00
randy 6182a2856d Points: bare waypoints (Google saved places) as small NPS-style dots instead of an empty badge, names as dark labels with a white halo from zoom 10; every library point editable (Edit/Move/Delete) when logged in, not only notes
CI / check (push) Successful in 8m51s
CI / deploy (push) Successful in 17s
2026-11-27 00:06:20 +01:00
randy 9a3c2fc1d2 Update dependency puma to v8.1.3
CI / check (pull_request) Successful in 9m0s
CI / deploy (pull_request) Skipped
CI / check (push) Successful in 9m0s
CI / deploy (push) Successful in 38s
2026-11-25 20:11:31 +00:00
randy 0aee739ac3 Google Maps saved lists from a scheduled Google Takeout: hourly check of TAKEOUT_DIR (brick's Drive backup, mounted read-only), the zip with Takeout/Saved/*.csv picked by its central directory (photo parts skipped), each list into Google Maps/<list>; positions decoded offline from the place's S2 feature id and refined by Nominatim, unresolved ones flagged approximate in the popup (cleared when moved by hand); points matched by Google id per folder, so a new export updates them (own color/icon/position kept, deleted stay deleted)
CI / check (push) Successful in 8m56s
CI / deploy (push) Successful in 38s
2026-11-25 15:10:30 +01:00
randy 261b4c053e Touch screens: finger-sized (44 px) rows, buttons and checkboxes in every side panel and sidebar menu; desktop keeps the compact lists
CI / check (push) Successful in 8m59s
CI / deploy (push) Successful in 24s
2026-11-24 21:59:13 +01:00
randy f1c2b22821 Feature inspector also on right click and long press (touch browsers fire contextmenu), not only Alt+click
CI / check (push) Successful in 8m50s
CI / deploy (push) Successful in 17s
2026-11-24 21:21:15 +01:00
randy b98a3ebcf1 Offline build: retry a stalled Geofabrik download (3 attempts, 120 s read timeout) and report network errors as a BuildError; a timed-out Last-Modified HEAD no longer fails the build
CI / check (push) Successful in 8m50s
CI / deploy (push) Successful in 18s
2026-11-24 14:27:29 +01:00
randy 637f739e18 Auto night mode: below zoom 5 keep the last real place for the sun check (zoomed out to the world the map center can sit in another time zone's night)
CI / check (push) Successful in 1m12s
CI / deploy (push) Successful in 17s
2026-11-24 13:32:09 +01:00
randy 2c27bcd6bf Update dependency maplibre-contour to v0.2.0
CI / check (push) Successful in 20s
CI / deploy (push) Successful in 18s
2026-11-24 13:03:20 +01:00
randy 357d28bf72 Map textures after field test: forest texture dropped (too busy), scrub / dwarf pine gets its own tint + bushes from zoom 11 instead of the grass texture; strict reserves and natural monuments a step darker than landscape protected areas; fix military outline losing its source
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 18s
2026-11-24 13:00:52 +01:00
randy 25f5c42a1b NPS-style protected areas and textures: national parks keep the full sage fill, other protected areas a translucent gray-green with a dashed outline, military areas red hatch + outline; forest (z12+) and grass (z13+) textures drawn on canvas and registered on styleimagemissing, with night variants; legend rows
CI / check (push) Successful in 20s
CI / deploy (push) Successful in 18s
2026-11-23 19:19:11 +01:00
randy 31b27a0852 Night map palette instead of inverting it: dark blue-gray ground, roads a step lighter, muted ochre motorways, light-gray labels on dark halos, switched live with setPaintProperty (NightMap); raster overlays dimmed, own track/point colors kept; the UI panels keep the invert filter for now
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 17s
2026-11-23 16:23:35 +01:00
randy 80d0039148 GNSS simulator: report the real direction of travel (it drives the loop counterclockwise, so the bearing is -angle, not angle+90°)
CI / check (push) Successful in 18s
CI / deploy (push) Successful in 17s
2026-11-23 16:15:15 +01:00
randy 06ae14bc02 Bigger night mode button (40 px tap target, 26 px glyph)
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 17s
2026-11-23 16:12:48 +01:00
randy e9c9e96b92 Following the GNSS receiver or the browser's own position turns the map heading-up in the 3D view, position in the lower part of the screen, like a car navigation
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 17s
2026-11-23 16:11:48 +01:00
randy fdd77986c1 Offline hiking trails drawn only from zoom 10 (a whole country's lanes rebuilt per zoom froze the zoomed-out map); TODO: server in the car (RPi CM5) — builds on brick, offline login, HTTPS, Pi kiosk display, home ⇄ car sync with conflict handling, hardware buttons over CAN
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 17s
2026-11-23 15:56:20 +01:00
randy 2470099877 Login lasts 90 days instead of the browser session — Android dropped the session cookie whenever it killed the browser/PWA, forcing a fresh Gitea login + MFA
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 17s
2026-11-23 15:04:17 +01:00
randy 9148c9a411 Night mode (auto after sunset / on / off, one invert+dim filter for now), tracker drawn as a top-down vehicle rotated by its GNSS course with a heading-up tilted Navigate mode, side panels float over the map on phone width instead of squeezing it
CI / check (push) Successful in 36s
CI / deploy (push) Successful in 18s
2026-11-23 15:03:58 +01:00
randy 0e5f79f8e4 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
CI / check (push) Successful in 20s
CI / deploy (push) Successful in 18s
2026-11-19 11:57:36 +01:00
randy 3fc8c75c60 NPS park maps overlay: park points and map footprints, a park search, a park popup listing its Harpers Ferry Center maps with local PDF/GeoTIFF links, and the 289 georeferenced ones laid over the base map with an opacity slider; data from data/nps served by /api/nps and /nps/{overlay,geotiff,pdf}
CI / check (push) Successful in 19s
CI / deploy (push) Successful in 17s
2026-11-19 10:52:17 +01:00