Reposition FlowEngine as a simulation-driven framework + regression/scaffolding for follow-up work#39
Merged
Conversation
…I x, doc NULL/grammar
Copilot created this pull request from a session on behalf of
caixuf
July 10, 2026 06:20
View session
Owner
|
评估一下是否需要接入地图模块 |
Owner
|
@copilot 评估一下是否需要接入地图模块 |
Owner
|
让行行人后不会动的问题修复下 @copilot |
Contributor
Author
结论:现阶段不需要接入"地图模块"(HD-Map/OpenDRIVE/Lanelet2 + 地图定位);建议只在需要更高场景保真度时,补一层"纯数据的车道几何契约",归入 B1。 现状(地图是隐式硬编码的)
为什么不做重量级地图模块
什么时候才值得做(真实缺口)
建议:作为 B1 下的一张任务卡"轻量车道几何契约(数据驱动,非地图库)",优先级 P2/P3,等直路场景不够用时再落地。如果你希望,我可以先把这层 |
Owner
|
@copilot 作为 B1 下的一张任务卡"轻量车道几何契约(数据驱动,非地图库)",优先级 P2/P3,等直路场景不够用时再落地。如果你希望,我可以先把这层 scenario_loader.h 的接口契约和 IMPLEMENTATION_GUIDE 卡片补上(只定义接口、不写实现),保持和 topic_bridge.h 一样的"契约先行"风格。 |
Copilot stopped work on behalf of
caixuf due to an error
July 10, 2026 06:34
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.
Project direction is refocused: no real-vehicle work (no automotive mass production, ECU/CAN, hard real-time, or safety certification). The two mainlines are software-framework quality and simulation. This PR reframes the positioning and lays down interfaces + a simulation-as-testing harness so remaining plan items can be filled in incrementally — including by less-capable contributors who only need to supply implementations.
Repositioning (remove 实车 semantics)
README.md,docs/EVOLUTION_ROADMAP.md,docs/PROJECT_REVIEW.md: identity changed from "middleware kernel prototype / production ADAS framework" to "simulation-driven middleware framework + reproducible experiment platform". Phase 10 clarified as multi-process simulation deployment; learning loop reworded as in-sim shadow inference (never actuated).Simulation-as-testing (acceptance criterion #1)
tools/scenario_regression.py: one command runs the scenario matrix → scores each → diffs against a baseline (regression ⇒ FAIL). Extension points are data-only: add scenarios or tune gates inscenarios/suite.json.tools/demo_evaluator.py: two composable flags —--scenario(temporarily overridessim_world.scenario_file, restored on exit) and--json-out(machine-readable result). Also fixes scenario loading that readnodeswhile the launcher schema usesprocesses.scenarios/suite.json+ three declarative scenario templates (unprotected intersection, congestion follow, ghost pedestrian).Interface scaffolding (contract now, implementation later)
include/topic_bridge.h: cross-process topic-bridge contract for A3 (PUB/SUB/BIDIR, per-topic stats). Header-only, syntax-checked in C and C++; implementation intentionally deferred.docs/IMPLEMENTATION_GUIDE.md: maps every remaining plan item (A1–B4) to 目标 / 现状 / interface-already-defined / 待实现 / 验收 task cards, pointing at exact files and functions, with a re-prioritized schedule.Docs wiring
docs/README.mdindex +docs/SIMULATION_GUIDE.mdusage section updated for the guide and regression harness.No C sources or build config were modified; changes are documentation, declarative JSON, a header-only interface, and Python tooling that shells out to the existing evaluator.