Skip to content

Vehicle not able to avoid static obstacle by changing lane. #2079

Closed
@VRichardJP

Description

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

I am testing static obstacle avoidance with the planning simulator.

I have set enable_avoidance_over_same_direction to true so that the vehicle is able to avoid static obstacles when there is not enough space on the current lane.

However, when I try it with a fake bus on the shoulder of the road, the vehicle seems not to consider it is possible to leave the lane:
blocked

And yet, if I move the goal point to the other lane, autoware is able to generate a path with lane change:
could lane change

If autoware can change lane, surely it should be able to avoid the bus? Is there any other parameter besides enable_avoidance_over_same_direction I should consider changing?

Expected behavior

Ego vehicle can avoid the bus in the situation above

Actual behavior

The vehicle is stuck behind the bus for ever.

Steps to reproduce

  1. use map with 2 lanes
  2. add bus on the shoulder of the road, so that there is not enough space to avoid it by staying on the lane

Versions

No response

Possible causes

No response

Additional context

No response

Metadata

Assignees

No one assigned

    Labels

    component:planningRoute planning, decision-making, and navigation. (auto-assigned)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions