carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.11k stars 3.58k forks source link

Accident detector in CARLA #6741

Closed AOOOOOA closed 4 months ago

AOOOOOA commented 1 year ago

Hi,

I notice there is a collision detector in Carla sensor used for detecting the collision event. But I haven't found the corresponding code block for the collision detector implementation. Could you please tell me where I can find it? And I'm also curious about whether Carla has other accident detectors besides the collision detector. Could you please help me with that? @krmartin @sunpochin @Jazzinghen @cesarsouza @armando-fandango Thanks!

TzabarDolev commented 12 months ago

Hi, I just wrote a short blog post about collision detectors on the Carla simulator research blog - https://carlasimblog.wordpress.com/2023/09/18/collision-detection-systems-in-cars-enhancing-safety-and-realism-in-carla-simulator/, and added a code example for it.

AOOOOOA commented 12 months ago

Hi, I just wrote a short blog post about collision detectors on the Carla simulator research blog - https://carlasimblog.wordpress.com/2023/09/18/collision-detection-systems-in-cars-enhancing-safety-and-realism-in-carla-simulator/, and added a code example for it.

Thanks so much. Your blog is clear and helps a lot. But I want to know how the collision sensor works in Carla. i.e. how does the collision sensor know there is a collision happened? I have searched the code but didn't find the corresponding code snippet.

TzabarDolev commented 12 months ago

Hi, I just wrote a short blog post about collision detectors on the Carla simulator research blog - https://carlasimblog.wordpress.com/2023/09/18/collision-detection-systems-in-cars-enhancing-safety-and-realism-in-carla-simulator/, and added a code example for it.

Thanks so much. Your blog is clear and helps a lot. But I want to know how the collision sensor works in Carla. i.e. how does the collision sensor know there is a collision happened? I have searched the code but didn't find the corresponding code snippet.

Hi, Actually it was answered here - https://github.com/carla-simulator/carla/issues/4409

AOOOOOA commented 12 months ago

Hi, I just wrote a short blog post about collision detectors on the Carla simulator research blog - https://carlasimblog.wordpress.com/2023/09/18/collision-detection-systems-in-cars-enhancing-safety-and-realism-in-carla-simulator/, and added a code example for it.

Thanks so much. Your blog is clear and helps a lot. But I want to know how the collision sensor works in Carla. i.e. how does the collision sensor know there is a collision happened? I have searched the code but didn't find the corresponding code snippet.

Hi, Actually it was answered here - #4409

Thank U so much!

Blyron commented 4 months ago

Hi We are closing this issue, please reopen again if something comes up