autowarefoundation / autoware.universe

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

The ego vehicle sometimes does not make lane change behind the NPC Vehicle. #6968

Open Kim-mins opened 4 months ago

Kim-mins commented 4 months ago

Checklist

Description

Hi team,

I'm currently running Autoware with Carla, and I met a situation that the ego vehicle sometimes does not make lane change behind the NPC Vehicle.

Here are the videos: [frontview] and rviz below:

https://github.com/autowarefoundation/autoware.universe/assets/50267797/b10979de-e800-437d-813b-b023dc7a82e7

At the start of the rviz video, the trajectory for lane change instantly show up, but it disappears right away. Also, at 0:03, the lane changing trajectory also appears, but only the straight trajectory remains. So the ego vehicle stops forever behind the stopping vehicle.

However, I'm confused as I also observed sometimes the lane change is successful: [frontview2] As you can see in the frontview2 video, every NPC Vehicles and the starting point of the ego vehicle are the same, but the ego could change lane and successfully goes to the destination.

Expected behavior

I hope changing lane always to be successful.

Actual behavior

But sometimes the ego vehicle cannot properly make lane change.

Steps to reproduce

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

Versions

Possible causes

No response

Additional context

No response

TianYifan-Vincent commented 3 months ago

@Kim-mins Sorry to bother you. I'm also learning on the scenario about the ego vehicle making lane change. I have tried the bridge zenoh_carla_bridge and open_planner. But I can't reappear the lane changing scenario when the ego vehicle runs behind the NPC vehicle, even not lane change trajectory like what you presented, only the straight trajectory. Do I need to write additional code for this in the bridge or does my lanelet2 map not support lane changing?

Kim-mins commented 3 months ago

Hi @TianYifan-Vincent!

For the lane change, you should modify the lanelet2 map file. I referred to the map file provided here, and modified the lanes around the starting point of the video above.

TianYifan-Vincent commented 3 months ago

@Kim-mins Thanks for your help! Indeed this awsim map is more standardized and detailed. The lanelet2 map file can be used and modified in autoware, but how to create the corresponding Carla map?

Kim-mins commented 3 months ago

Actually, I don't know how to create carla map either.. I just partially modified the carla map file referring to the lines for supporting lane change from awsim's map.

sgNicola commented 3 months ago

@Kim-mins Thanks for your help! Indeed this awsim map is more standardized and detailed. The lanelet2 map file can be used and modified in autoware, but how to create the corresponding Carla map?

Hi, you can use RoadRunner to create the corresponding Carla map.

Kim-mins commented 2 months ago

Sorry for late response @sgNicola.

Thank you for the information! I'll try it soon!

stale[bot] commented 1 week ago

This pull request has been automatically marked as stale because it has not had recent activity.