-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Possible Bug--Collision Sensor failed to report collision event in several scenarios #7025
Comments
Same issue here.Hope for fixing this issue. |
We have indeed identified the issue of "collision but collision sensor failed to detect". We will soon post and update the list of it. Could you please verify the bugs? @bernatx @Axel1092 @corkyw10 @marcgpuig @nsubiron @germanros1987 |
We have identified 9 different types of events in which the collision sensor fails to work. https://docs.google.com/spreadsheets/d/1gCQAl9F7e9Co85OTAlQ0VIifq6cCFWIvEWT9FE1vWzo/edit?usp=sharing We provided the environment configurations and some control parameters in the sheet. Our test scenarios are selected from scenario runner. Could you please investigate these problems and provide an update or patch to address them? Here are two sample videos for you to refer. Additional videos can be found in the sheet. If you need more information, please feel free to ask me. 0_flb_type1.mp4pcf-type1.mp4 |
Hi, I found some users reported issues with the collision sensor of the old version(ref #3183). It is said that the old issues were fixed in Carla0.9.10 but I found issues with the collision sensor still exist in Carla 0.9.13. It seems like the old issues haven't been totally fixed or the last fix brings new problems. Could you please check? Thanks. @Blyron @XGodina @MattRoweEAIF @MattRowe18 @bernatx |
Hello! Could supply the code which you found the issue? |
Sure! Below is the code I use. Usage:The usage is:
python scenario_runner.py --openscenario
python ego_vehicle_github.py FollowLeadingVehicle 20 1 0 5 8 0.15 -0.01 100 all_temp_data/temp_data0 result.txt 2000 (I named it as ego_vehicle_github.py, and the args corresponding to the initial driving speed, initial driving angle x, initial driving angle y, distance between ego vehicle and other actor to change the driving behavior, new driving speed, new driving angle x, new driving angle y, etc. Exact configuration:Here are some samples that will create the bug scenarios, if you run it, and it report a normal collision event or no collision happened, try to run it multiple times since the simulation has some randomness. FollowLeadingVehicle:
PedestrianCrossingFront
LaneChangeSimple:
|
Hi Blyron, Thanks! |
Hello! We have detected the issue, it will be fixed soon. |
Hello! Could you try this adding the attribute is invicible false to your walkers BP?
|
Hi Blyron, I will try and tell you the result. Thanks. |
We are fixing pedestrians soon. At least for the moment for bycicles will take more time which we have not right now, but we will look into it in the near future |
Glad to hear that! I will try the invincible pedestrian code in my project and give you the results. |
This should be fixed in the latest dev, branch |
I do not know how to do that. If you have any issues just link to this post |
CARLA version: 0.9.13
Platform/OS: ubuntu 18.04
Problem you have experienced:
Possible Bug: The collision sensor doesn't work in some conditions.
What you expected to happen: The collision sensor should report the collision event whenever the collision happens.
Steps to reproduce:
We used Scenario Runner and tested different scenarios like FollowLeadingVehicle, IntersectionCollisionAvoidance, LaneChangeSimple, etc. We discovered that sometimes collisions were visible to the naked eye, but the collision detector did not report the event. Here are some videos and the corresponding parameters:
video.mp4
Above is the FollowLeadingVehicle scenario, we set the initial driving speed of the vehicle is 20, which does not affect the final result because it seems that the vehicle doesn't need the acceleration process when changing speed in Carla. When the ego vehicle is 4m away from the NPC actor, we change the driving speed to 6, and change the driving angle to (x = 1 and y = -0.31).
initial speed: 20
distance to change driving behavior: 4m
speed after change driving behavior: 6
driving angle after change driving behavior: (x = 1, y = -0.31)
The collision sensor attached on ego vehicle doesn't report the collision event. For the sake of caution and fairness, we also attached a collision sensor on the NPC actor, it also failed to report the incident. We have run multiple rounds of tests in different scenarios and this problem appeared under different parameters. We are working on finding some patterns in the data results. Now at first glance, it looks like low speed, pedestrians, and bicycles are a few of the elements more prone to this problem, however, there are also cases of non-report when NPC is a vehicle. We will report the conclusion later.
The text was updated successfully, but these errors were encountered: