Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Block rollouts that cut through undrivable area #19

Open
wants to merge 1 commit into
base: openplanner.1.15
Choose a base branch
from

Conversation

blabla-my
Copy link

@blabla-my blabla-my commented Jul 22, 2023

Hello, maintainers of OpenPlanner.

As discussed in hatem-darweesh/autoware.ai.openplanner#6, rollouts that cut through undrivable areas are not filtered out, leading the ego vehicle driving towards unexpected regions. This PR aims at solving this problem.

The approach is described as follows:

  1. Enable load_wayarea in VectorMapLoader to load wayareas from wayarea.csv.
  2. In TrajectoryEvaluator::doOneStep, check every waypoint of every generated rollout to find if it is not inside the drivable area. If so, block the rollout.

The approach is optional. A parameter named enableBlockingRolloutsOutOfMap can be set true to enable this mechanism.

Note: To fully implement this approach, I also send a PR to the core_planning repo, linked here: hatem-darweesh/core_planning#18

@blabla-my
Copy link
Author

Hello @hatem-darweesh ,

This PR has not received a response for a long time, and I want to confirm if this solution is acceptable. If it is not, I kindly request your advice.

Thanks for your attention.

@xsmeiwu
Copy link

xsmeiwu commented Sep 18, 2024

能否把你的修改的代码发我一下,我的工程里面也需要有这个功能!邮箱[email protected],微信18629141183

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