Terrain closes by itself again: the road's surface only off the route (back on it the last road's stayed, so the view never closed); while it's open the top row's Limit shows the surface. Navigated, the planned route behind the car thin and dashed under the trip log's track (the line and its casing clear there). The scale back over the map, bottom left. CAN recordings older than CAN_REC_KEEP_HOURS (24 by default, 0 keeps all) deleted when listed and every segment while recording. TODO tidied
This commit is contained in:
1 parent
21ad6c0c21
commit
f981b80599
9 files changed
+80
-34
No files matched your search
@@ -121,9 +121,8 @@ plan from — the server does the heavy lifting. The UI is built for a mouse tod
|
||||
route's next 2 km, Level here (can.json's levelling action, two taps), Road view; on by
|
||||
itself on an unpaved surface (`/api/road` now gives Valhalla's `surface`, off a route only)
|
||||
or roll / pitch past 10° for 10 s, back after 2 km of paved road; Menu: automatic / by
|
||||
hand. Still to do: the surface while on a route (along the route's edges), Surface in the
|
||||
top row in place of Limit while off-road,
|
||||
the lanes in the manoeuvre cell, the profile served from `data/` once the editor exists
|
||||
hand; while it's open the top row's Limit shows the surface. Still to do: the surface while
|
||||
on a route (along the route's edges), the lanes in the manoeuvre cell, the profile served from `data/` once the editor exists
|
||||
** [ ] Softkeys: the CAN keypad's labels on the screen edge next to its keys (G1000 style)
|
||||
** [x] The Trip menu beside the map, not over it (Android Auto's side panel, seen again in
|
||||
signalk-pypilot-newui): the map narrower, its buttons kept, its center (follow, crosshair,
|
||||
@@ -152,11 +151,10 @@ plan from — the server does the heavy lifting. The UI is built for a mouse tod
|
||||
Start / End, the line really driven (`--route-driven`). Stored 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), a restart picks the running trip up from it; the library's track built
|
||||
from it every 5 min and at the end. Still to do: the pictogram, the
|
||||
planned route dashed behind, a walk from another device shown with it, visited points
|
||||
** [ ] Colors: planned vs really driven — the planned route (magenta ahead, the part behind
|
||||
from it every 5 min and at the end. Still to do: the pictogram, a walk from another device shown with it, visited points
|
||||
** [x] Colors: planned vs really driven — the planned route (magenta ahead, the part behind
|
||||
thin and dashed) and the recorded track solid on top (`--route-driven`), docs/design.adoc
|
||||
** [ ] The menu while driving: showing routes and points, editing the trip — all of it on the
|
||||
** [x] The menu while driving: showing routes and points, editing the trip — all of it on the
|
||||
road, so simple: a few big tiles (Trip, Points, Layers, Search), one level deep, rows
|
||||
≥ 76 px, a handful per screen, the action a big button (add a stop here / at a point,
|
||||
skip the next one, move one up/down, show / hide a layer) — no drag, no hover, no small
|
||||
@@ -166,7 +164,7 @@ plan from — the server does the heavy lifting. The UI is built for a mouse tod
|
||||
* [ ] Desktop (the Design canvas' Desktop, 2026-12-03): copy the position under the cursor
|
||||
to the clipboard (a key or the right-click menu) — today only the map's center copies,
|
||||
from the status bar, so the way around it is to put the center on the point first
|
||||
* [ ] Desktop: the scale back over the map, not in the status bar
|
||||
* [x] Desktop: the scale back over the map, not in the status bar
|
||||
* [x] Night mode — topbar button cycles auto (sun below the horizon at the map center) / on / off. The map has its own night palette (`NightMap` in `public/js/map_themes.js`, switched live with setPaintProperty): dark blue-gray ground, roads a step lighter, muted ochre motorways, light-gray labels on dark halos; raster overlays dimmed, our own track/point colors kept
|
||||
** [x] The rest of the UI is still one invert+dim filter — CSS color tokens and a real dark set instead
|
||||
* [x] Tracker as a top-down vehicle (car / motorbike / bicycle from its icon) rotated by the GNSS course, kept while standing still; "Navigate" (tracker card or Overlays status) follows it heading-up, tilted 60°, vehicle in the lower third — panning by hand ends it
|
||||
@@ -250,7 +248,8 @@ already reaches the home MQTT broker (`mqtt_ext`) from ESPHome nodes in `~/espho
|
||||
`data/can_rec/` (a power cut loses at most the last segment), the CANedge `CAN_DataFrame`
|
||||
layout — asammdf decodes it with a DBC (checked against candump: every frame, < 0.002 ms)
|
||||
*** [ ] Checked with CSS Electronics' converters (mdf2csv) too, and in CANalyzer if at hand
|
||||
*** [ ] Old recordings cleaned up (data/can_rec grows ~85 MB an hour at 1000 frames/s)
|
||||
*** [x] Old recordings cleaned up (data/can_rec grows ~85 MB an hour at 1000 frames/s): segments
|
||||
older than `CAN_REC_KEEP_HOURS` (24 by default, 0 keeps all) go — diagnostics only
|
||||
** [ ] Nodes describing themselves — no hand-written signals for our own nodes:
|
||||
*** [x] esphome-canopen nodes over SDO: on a node's first heartbeat read its TPDOs
|
||||
(`0x1800+n`:1 COB-ID, `0x1A00+n` mapping), each mapped entity's type (`0x2001`:N) and
|
||||
@@ -447,7 +446,9 @@ server into the car (on the car's Wi-Fi, next to the MQTT broker) makes everythi
|
||||
already offline work on the road. The Pi only serves; heavy builds stay on brick.
|
||||
|
||||
* [ ] Run the existing docker-compose stack on the CM5 (arm64: our image handles it, check
|
||||
that the Valhalla and kiwix-serve images have arm64 builds); data on NVMe, not the SD card
|
||||
that the Valhalla and kiwix-serve images have arm64 builds); data on NVMe, not the SD card.
|
||||
maptool itself runs on rpi-dev (podman, data in /srv/podman/maptool/data on the NVMe);
|
||||
Valhalla and kiwix-serve there not checked
|
||||
* [ ] Build on brick, ship to the Pi: `offline.pmtiles`, `terrain.pmtiles`, Valhalla
|
||||
`tiles.tar`, `places/*.sqlite`, `hiking_trails/*.geojson`, the ZIM — an rsync (only when
|
||||
refreshed, which is rare) instead of the Pi's own build buttons; hide/disable those there
|
||||
@@ -477,8 +478,9 @@ already offline work on the road. The Pi only serves; heavy builds stay on brick
|
||||
other version into `item_history` and flagged in the UI so it can be restored; a delete vs.
|
||||
an edit keeps the edit
|
||||
** Logged tracker positions: append-only, merged by timestamp, no conflicts
|
||||
* [ ] Hardware buttons: keyboard shortcuts in the page (zoom, Navigate, night mode, …) — the
|
||||
cheap way with any BLE/USB keypad that sends plain keys
|
||||
* [x] Hardware buttons: keyboard shortcuts in the page (zoom, Navigate, night mode, …) — the
|
||||
cheap way with any BLE/USB keypad that sends plain keys. Done in drive mode (the profile's
|
||||
`key`s, see HW integration); the desktop has none yet
|
||||
* [ ] … and the full way: a CANopen keypad (Blink Marine style) on the CAN bus wired straight
|
||||
to the Pi, read by maptool's native CAN (see "Native CAN" above; NMT start, key bitmap
|
||||
from `0x180+node` as `bit` signals, LEDs via `0x200+node` still to send) → the
|
||||
|
||||
Reference in new issue
Block a user