feat: align Q10 map rendering with V1#900
Draft
tubededentifrice wants to merge 7 commits into
Draft
Conversation
Contributor
Author
This was referenced Jul 25, 2026
tubededentifrice
marked this pull request as ready for review
July 25, 2026 14:05
tubededentifrice
marked this pull request as draft
July 25, 2026 14:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This draft intentionally remains the aggregate implementation and full real-device/Home Assistant before-and-after reference. Please review and merge the smaller PRs:
dpMultiMaprefresh transportThe stacked PRs include an explicit incremental compare link in their descriptions. Once each parent merges, its child can be rebased onto
mainwithout changing the review boundary.What changed
dpMultiMaplist/get flowWhy
Q10 maps did not consistently refresh through
dpRequestDps, erase polygons were projected with the trace scale, and Q10 maintained custom marker/path/wall drawing that differed from V1. The V1 palette also intentionally repeats some colors (for example, room slots 2 and 12), so adjacent rooms using those slots could visually merge. The saved dock coordinates were also receiving the world origin a second time, which moved the dock off its real position, while an idle trace contains no robot coordinates. The Q10charger_phiis already the V1-compatible outward heading and must be preserved directly: R1 reports about3°and points right, while RDC reports about91°and points up. Together these issues made through-window phantom areas remain visible, hid or misplaced the charging robot/dock, merged some adjacent rooms, and allowed the Q10 and V1 renderers to drift.Before / after
Captured from the same R1 map in the configured local Home Assistant test instance. The before image is the original preview saved before any change in this PR. The after image is the final R1 Home Assistant render with corrected erase zones, restrictions, transparency, adjacent-room colors, and charging robot/dock placement.
Validation
pytest -q— 901 passed, 86 snapshots passedruff check .ruff format --check .codespellon all changed filesgit diff --checkcharger_phi=3°) places the dock left of the robot, pointing right, with no idle pathcharger_phi=91°remains upward-facing; both cardinal directions are covered by regression testsImpact
The map/protocol changes remain scoped to Q10. The shared room-color policy is also applied to V1 base-map parsing: it preserves every canonical room color unless an edge-adjacent room already uses the same RGB value, and resets from the canonical palette on every parse to prevent color drift.