Ship the recorded HafenCity MAPEMs with the app and match SPATEMs to them
A SPATEM can now be placed on its lanes without the intersection's MAPEM being received. The bundle (assets/mapem/hamburg.txt, built by tools/mapem_bundle.py) holds 15 intersections, 16 revisions, from the 2026-03-18 drive. Matching is on region, intersection id and revision, never on station id, and a stored map more than 2 km from the rider is ignored. A live MAPEM of the SPATEM's revision wins; a stored one of another revision is never used.
This commit is contained in:
@@ -5,6 +5,18 @@ Engineering to-do list. The reviewer-facing open items live in
|
||||
|
||||
## Waiting on hardware
|
||||
|
||||
### Stored HafenCity MAPEMs (added 2026-11-30)
|
||||
|
||||
The app ships 15 intersections (16 revisions) from the 2026-03-18 drive (`assets/mapem/hamburg.txt`,
|
||||
`tools/mapem_bundle.py`) and matches a SPATEM to them on region, intersection id, revision and, when
|
||||
known, position within 2 km. Unit-tested against the recorded SPATEMs and built; not run on the phone.
|
||||
|
||||
- [ ] Install on the Pixel. Replay or receive a SPATEM of a stored intersection **without** its
|
||||
MAPEM: the lanes appear on the V2X map; logcat says `storedMaps: 16 intersection revisions loaded`.
|
||||
- [ ] Ride through HafenCity: note intersections whose SPATEM shows no lanes (revision changed since
|
||||
March, or not in the bundle) and check on the ones that do that the shown light matches the real one.
|
||||
- [ ] Not built yet: saving newly heard or changed MAPEMs on the phone, so the list updates itself.
|
||||
|
||||
### Large SPATEM / MAPEM through V2X_RX in fragments (added 2026-11-23)
|
||||
|
||||
The 2026-11-23 bench run (CiT node sending a 377 B MAPEM and 58 B SPATEM, then 1198 B and 888 B ones; phone on
|
||||
|
||||
Reference in New Issue
Block a user