Skip to content

Update multi-vehicle behavior planning flow#248

Open
Tayhirro wants to merge 1 commit into
ucla-mobility:mainfrom
Tayhirro:feature/multi-vehicle-behavior-planning
Open

Update multi-vehicle behavior planning flow#248
Tayhirro wants to merge 1 commit into
ucla-mobility:mainfrom
Tayhirro:feature/multi-vehicle-behavior-planning

Conversation

@Tayhirro

Copy link
Copy Markdown

Summary

This PR improves the CAV behavior planning and local planning flow for multi-vehicle scenarios.

Main changes:

  • Update route completion handling so scenario loops can manage finished CAVs without terminating the process.
  • Improve behavior-agent route planning, car-following, and push-destination fallback logic.
  • Refill the local planner waypoint buffer before trajectory generation.
  • Reduce duplicated CAV control-loop code across scenario scripts by reusing ScenarioManager.

Validation

  • git diff --check
  • git diff --name-only -- '*.py' | xargs python3 -m py_compile

@xuhan417

Copy link
Copy Markdown
Contributor

Hi Tayhirro,

Many thanks for contributing to the OpenCDA! Your work looks solid at first glance.

Could you please provide a brief technical document of the PR introducing the logic and improvement of this PR? It helps the team to better understand the issue and test/merge your work. A high-level template is provided here.

Best,
Xu

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