Skip to content

docs: document relative_map workflow — start, path generation, and stop#227

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/explain-relative-map-workflow
Draft

docs: document relative_map workflow — start, path generation, and stop#227
Copilot wants to merge 2 commits into
mainfrom
copilot/explain-relative-map-workflow

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 26, 2026

The modules/world_model/relative_map README 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.md

  • Module Start — 100 ms TimerComponent; four topic readers (perception_obstacles, chassis, localization/pose, navigation); config loading via relative_map_config.pb.txt
  • Periodic ProcessingProc → Process → CreateMapFromNavigationLane call chain under mutex; publishes MapMsg to /apollo/relative_map
  • Path Generation (GeneratePath) — two-tier priority cascade:
    • Offline-navigation mode (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 stitching
    • Perception-only fallback: cubic-polynomial centerline from left/right lane-marker coefficients (y = c0 + c1·x + c2·x² + c3·x³), speed-proportional path length (150–250 m)
  • Map Creation (CreateMap) — hdmap::Lane entries with shared boundaries between adjacent lanes, Road wrapper, forward neighbour IDs
  • Module StopStop() log; no cleanup needed
Original prompt

modules/world_model/relative_map的工作流程是什么,什么时候开始,什么时候结束,中间是如何生成路径的?

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.

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
Copilot AI requested a review from daohu527 March 26, 2026 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants