Rasterize layered map updates for faster composition - #4
Merged
SamuelFoo merged 4 commits intoJul 27, 2026
Conversation
Store per-source cell contributions instead of retained region geometry. Preserve expiry precedence and discard cells when static map geometry changes. Signed-off-by: SamuelFoo <fooenzesamuel@gmail.com>
Buffer up to 1024 validated region updates in FIFO order and replay them when the static grid arrives. Drop the oldest update when the queue is full. Signed-off-by: SamuelFoo <fooenzesamuel@gmail.com>
Replay deterministic reset, overlapping, and moving update traces. Report phase latency, throughput, peak RSS, and a composed-grid checksum for A/B comparisons. Signed-off-by: SamuelFoo <fooenzesamuel@gmail.com>
Explain cell-based refresh and pre-map queue behavior. Add commands for the three benchmark scenarios and checksum-based A/B comparison. Signed-off-by: SamuelFoo <fooenzesamuel@gmail.com>
SamuelFoo
force-pushed
the
feat/rasterize-region-updates
branch
from
July 27, 2026 21:39
36c8099 to
ba2eb91
Compare
2 tasks
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.
New feature implementation
Implemented feature
This PR follows up on SamuelFoo/next_gen_prototype#3 by rasterizing region updates when they arrive instead of retaining region geometry and rasterizing it again during every map composition.
The server stores contributions by source, map, update type, and grid cell.
Implementation description
This PR adds:
reset_sourcebehaviorBenchmark results
feat/replan-obstacle-demo)feat/rasterize-region-updates)resetresetrolling-overlaprolling-overlaprolling-movingrolling-movingRun the benchmark scenarios with:
Matching checksums confirm that two revisions produce the same composed maps before their performance results are compared.
GenAI Use
We follow OSRA's policy on GenAI tools
Generated-by: GPT-5
@arjo129 ready for review!