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

Static avoidance planner generates wrong trajectory when tries to avoid obstacles on two sides #9210

Open
3 tasks done
firemark opened this issue Oct 31, 2024 · 0 comments
Open
3 tasks done
Assignees
Labels
type:bug Software flaws or errors.

Comments

@firemark
Copy link

Checklist

  • I've read the contribution guidelines.
  • I've searched other issues and no duplicate issues were found.
  • I'm convinced that this is not my fault but a bug.

Description

When the two obstacles are on two sides around narrow lanelet and one obstacle is "parked" then generates wrong trajectory that triggers obstacle_stop by the obstacle cruiser planner.

Preview

avoidance.mp4

Expected behavior

Due to sufficient space for both sides, trajectory should be not modified.

Actual behavior

The avoidance planner generated trajectory too close to the obstacle that triggers obstacle_stop from the obstacle cruise planner.

Steps to reproduce

I tested on carla in Town03.

I generated two vehicles on both sides around lanelet.

The first vehicle should collide with the lanelet (it should be tagged as parked vehicle).

The second should be on the adjacent lanelet.

Versions

  • OS: Ubuntu 24.04
  • ROS: humble (docker image)
  • Autoware commit id: a967adb

Possible causes

What I understand:

  1. To avoid an obstacle, it's generated shift points as single shift line
  2. For both sides, they're generated two shift lines (negative and positive) and merged into one.
  3. Due to some reasons (e.g. not sufficient space for hard margin_ or an obstacle is near goal/vehicle) generating shift points are discarded for the obstacle (or side?)

Case A

Two shift lines are generated properly.

image

Case B

Due to not sufficient space for the obstacle on the left side, shift line for left side is not generated properly and merged shift line is equal to right shift line. This generates wrong trajectory which is too near the left obstacle.

image

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Software flaws or errors.
Projects
Development

No branches or pull requests

3 participants