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

The ego vehicle ignores the NPC Vehicle at the intersection and makes collision. #6949

Open
3 tasks done
Kim-mins opened this issue May 8, 2024 · 2 comments
Open
3 tasks done
Labels
CARLA Issue when using the CARLA simulator

Comments

@Kim-mins
Copy link

Kim-mins commented May 8, 2024

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

Hi team,

I'm currently running Autoware with Carla, and I found a situation that the ego vehicle ignores the NPC Vehicle at the intersection, and eventually makes collision.

Here's the video of the situation: [frontview] [rviz]

At 0:10 of rviz video, the ego vehicle encounters a NPC Vehicle at the intersection.
However, even though the ego vehicle knows he need to stop(there's a red line with the phrase 'intersection'), the vehicle does not slow down, and they collides.

Expected behavior

In my opinion, since the ego vehicle cannot know if other vehicles stop or not, the best policy is to stop and go after the NPC Vehicle passes.

Actual behavior

The ego vehicle did not yield to the NPC Vehicle, and they eventually collides.

Steps to reproduce

Here's a ros2bag file for the reproduction: [ros2bag]

Versions

Possible causes

No response

Additional context

No response

@soblin
Copy link
Contributor

soblin commented May 8, 2024

It looks like the map has no "turn_direction" tag for the intersection lane. I can see it because the blinker is not turned on when the vehicle turns left. In that case intersection module does not work.
Please see https://autowarefoundation.github.io/autoware.universe/main/planning/behavior_velocity_intersection_module/#requirementslimitations

@Kim-mins
Copy link
Author

Kim-mins commented May 9, 2024

Thank you for the response @soblin!

I should have written my settings in more detail. Sorry for that.
To my understanding, the blinker always being turned on while turning if turn_direction tag is included to the map, but actually the bridge I'm using now does not support the turn_indicator signal.. so maybe we cannot get any clue from blinker.

Here's my lanelet2 map, and I checked that the intersection has correct turn_directions, and I remember that the directions are also represented in RViz. (like some arrows below on the intersection lane)
image
Also, if I remember correctly, the phrase 'intersection' does not show up when there's no turn_direction tag.

@xmfcx xmfcx added the CARLA Issue when using the CARLA simulator label May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CARLA Issue when using the CARLA simulator
Projects
None yet
Development

No branches or pull requests

3 participants