autowarefoundation / autoware.universe

https://autowarefoundation.github.io/autoware.universe/
Apache License 2.0
936 stars 613 forks source link

[Dense-Urban-ODD] Improve cruise planner slowing down capabilities to overtaking NPC #7877

Open ahmeddesokyebrahim opened 2 months ago

ahmeddesokyebrahim commented 2 months ago

Checklist

Description

Part of:

Dense Urban ODD Characteristics

In the context of Dense Urban ODD, we need to fine-tune the existing parameters of the obstacle_cruise_planner or potentially develop new features to improve the slowing down of ego vehicle to overtaking road user maintaining both passengers safety and comfortability.

Purpose

Overtaking npc to ego lane then slowing down with different speeds "UC-NTR-001-0008"

The following image describes the scenario where ...

The purpose of improvement in the following cases is to mitigate any unnecessary declaration (slowing down) value by ego vehicle while keeping the distance with overtaking npc.

NPC slowing down from 20 to 15 km/h "PASSED :heavy_check_mark: "

https://github.com/user-attachments/assets/917cda44-981e-42f1-9347-f7e694c41fd6

NPC slowing down from 20 to 12.5 km/h "FAILED :x:"

https://github.com/user-attachments/assets/53c59784-d77e-4438-b367-d6689d1e2109

NPC slowing down from 20 to 10 km/h "FAILED :x:"

https://github.com/user-attachments/assets/7fc53112-fbc0-48a5-aab8-57528b8b6f7e

For reproducing the issue using scenario simulation, you can use the these scenario and map files.

Possible approaches

The obstacle_cruise_planner should be capable of handling the situations mentioned above.

Definition of done

mitsudome-r commented 1 month ago

This is the full length video of a scenario which doesn't abort when the failure condition is met. https://www.youtube.com/watch?v=c0ql4gGCVvo