Skip to content

avoidance ignores pedestrian if there is a bus behind #2095

Open
@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

In behavior_path_planner module, it is possible to disable avoidance for some obstacles, such as pedestrian.

For example in the following situation, a pedestrian is on the path and the vehicle does not try to avoid it:
Screenshot from 2022-10-18 15-57-11

However, if there is another obstacle that can be avoided behind the pedestrian, then the vehicle tries to avoid both:
Screenshot from 2022-10-18 15-57-39

I guess "unavoidable" obstacles have been introduced to avoid risky manoeuver (e.g. the pedestrian will likely not stay on the middle of the road, so it is better to simply wait). In such case, the vehicle should stop in front of the pedestrian like in the first screenshot.

Expected behavior

The vehicle never avoid non-target obstacle.

Actual behavior

non-target obstacle is avoided under some circumstances

Steps to reproduce

see pictures above

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)status:staleInactive or outdated issues. (auto-assigned)type:bugSoftware flaws or errors.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions