docs: document relative_map workflow — start, path generation, and stop#227
Draft
Copilot wants to merge 2 commits into
Draft
docs: document relative_map workflow — start, path generation, and stop#227Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
Co-authored-by: daohu527 <10419854+daohu527@users.noreply.github.com> Agent-Logs-Url: https://github.com/wheelos/apollo-lite/sessions/f4245b79-3244-4bd9-bc62-d9f6ce1df6f8
Copilot
AI
changed the title
[WIP] Document workflow of relative map in world model
docs: document relative_map workflow — start, path generation, and stop
Mar 26, 2026
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.
The
modules/world_model/relative_mapREADME only listed inputs/outputs with no explanation of how the module actually operates. This adds a full Workflow section covering every major stage.Changes to
README.mdTimerComponent; four topic readers (perception_obstacles,chassis,localization/pose,navigation); config loading viarelative_map_config.pb.txtProc → Process → CreateMapFromNavigationLanecall chain under mutex; publishesMapMsgto/apollo/relative_mapGeneratePath) — two-tier priority cascade:OFFLINE_GENERATED): ENU→FLU coordinate conversion, ~250 m segment selection, left-to-right lane sorting, lane-marker merge (90 % nav line + 10 % marker), perceived/default width assignment, cyclic-route stitchingy = c0 + c1·x + c2·x² + c3·x³), speed-proportional path length (150–250 m)CreateMap) —hdmap::Laneentries with shared boundaries between adjacent lanes,Roadwrapper, forward neighbour IDsStop()log; no cleanup neededOriginal prompt
Created from VS Code.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.