autowarefoundation / autoware.universe

https://autowarefoundation.github.io/autoware.universe/
Apache License 2.0
1.01k stars 650 forks source link

Noisy obstacle pointcloud in CARLA prevents right turns #4350

Closed Kim-mins closed 1 year ago

Kim-mins commented 1 year ago

Checklist

Description

Hi team, I'm currently running Autoware on Carla, and I found that the ego vehicle cannot turn right even though there are no obstacles.

You can refer to the video here, and you can see that there are no obstacles, but the vehicle failed to turn right.

The map is carla Town01, and I've observed that this situation occurs on every outer-most corners of the map.

Expected behavior

The ego vehicle successfully turns right, since there's no interference.

Actual behavior

But it can't.

Steps to reproduce

Here's the ros2 bag file.

Or if you want to reproduce it yourself,

  1. please download the following map files: [lanelet2] [pcd]
  2. Run Autoware and spawn the vehicle at the point near to the corner and set a goal to pass the corner, just as the video above.

Please note that, this issue sometimes does not happen, but I think you can reproduce it in high probability.

Versions

I ran the experiment on the container from the image here. Carla version: 0.9.13

Possible causes

To my knowledge, the cause is from obstacle_stop_planner since it manages a stopping plan while driving.

Additional context

No response

maxime-clem commented 1 year ago

The vehicles stops because, based on the obstacle pointcloud, there obstacles are on the path. The default pointcloud processing is maybe not suited to the CARLA simulation and additional filtering may be necessary to solve your issue.

Kim-mins commented 1 year ago

Thank you @maxime-clem! I just noticed the pointcloud information. Maybe the point cloud map I'm using now has some errors. Thank you for answering.

maxime-clem commented 1 year ago

As far as I know the pointcloud map is only used for localization. The obstacle pointcloud is obtained from the lidar sensor after ground removal (https://autowarefoundation.github.io/autoware.universe/main/perception/ground_segmentation/). In your case, it looks like the ground is not correctly filtered.

Kim-mins commented 1 year ago

Thank you for the follow up comment @maxime-clem. I think I got your point. In my understanding, maybe you mean there's a misbehavior on the ground removal process of perception module when Autoware runs on Carla simulator.

By the way, when I run Autoware on Carla, this issue interferes my simulation too frequently and it stops me from running Autoware normally. How's your plan? Can this issue be fixed soon, or in low priority?

maxime-clem commented 1 year ago

I personally do not use Carla so I cannot work on this issue. Since it is not officially supported by Autoware there are not many people who can help. I suggest trying to tune the parameters of the ground filter by yourself. Otherwise, you can try tuning the obstacle_stop_planner, for example by setting enable_z_axis_obstacle_filtering to true.

Kim-mins commented 1 year ago

Thank you for answering @maxime-clem! I'll try your suggestion soon. Then, should I close this issue or not? This issue seems not urgent and only occurs in carla. How do you think? I can follow your issue management policy.

maxime-clem commented 1 year ago

It is okay to keep the issue open and I updated the title of the issue to make it easier to track.

Kim-mins commented 1 year ago

Hi @maxime-clem! I have a good news that, this issue is gone on the recent version of Autoware(2023/07/15). While I was testing a recent version of Autoware for another issue that you answered, I could find that the problem is resolved. Maybe the issue can be closed. Thank you so much!