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

behavior_path_planner does not create a shift point some cases #2197

Closed
3 tasks done
beyzanurkaya opened this issue Nov 2, 2022 · 0 comments · Fixed by #2198
Closed
3 tasks done

behavior_path_planner does not create a shift point some cases #2197

beyzanurkaya opened this issue Nov 2, 2022 · 0 comments · Fixed by #2198
Assignees
Labels
priority:high High urgency and importance. type:bug Software flaws or errors.

Comments

@beyzanurkaya
Copy link
Contributor

beyzanurkaya commented Nov 2, 2022

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

The shift points created when avoiding an obstacle are calculated with the formula lateral_collison_margin + vehicle_width/2 + lateral_collison_safety_margin. However, in some cases, the shift point calculated with this formula may be out of lanelet. In such a case, the shift point does not occur. Instead of not creating the shift point directly, a max_allowable_lateral_distance should be used for such cases.

Expected behavior

If the shift point to be created is outside of the lanlet, at least a shift point should be created close to the lanelet border. If avoid_margin is bigger than max_allowable_lateral_distance then max_allowable_lateral_distance should be used for avoid_margin.

197485336-bdc48046-8ae3-443a-aa8b-c321fa3c5d1a

Actual behavior

If the shift point calculated with lateral collison margin + vehicle width/2 + lateral_collison_safety_margin is bigger than max_allowable_lateral_distance, no shift point is created.

197485272-5ceef24f-d0ab-492f-a9c9-d21b05bbb682

Steps to reproduce

  1. Download isuzu_vehicle_launch in here
  2. Download test.zip
  3. run ros2 launch scenario_test_runner scenario_test_runner.launch.py sensor_model:=sample_sensor_kit vehicle_model:=isuzu_vehicle \ scenario:=/scenario/path/test.yaml \ architecture_type:=awf/universe launch_rviz:=false launch_autoware:=true

Versions

No response

Possible causes

No response

Additional context

No response

@BonoloAWF BonoloAWF added the type:bug Software flaws or errors. label Nov 2, 2022
@BonoloAWF BonoloAWF added the priority:high High urgency and importance. label Nov 2, 2022
@beyzanurkaya beyzanurkaya self-assigned this Nov 3, 2022
@xmfcx xmfcx added this to the Bus ODD Nov-Dec Milestone milestone Nov 15, 2022
@mehmetdogru mehmetdogru moved this to Done in Bus ODD Project Nov 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority:high High urgency and importance. type:bug Software flaws or errors.
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants