Skip to content

[0.9.15 / 0.10.0] LIDAR passes through dynamic objects when replaying recording #8771

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

Open
dmv5383 opened this issue Mar 19, 2025 · 2 comments
Assignees

Comments

@dmv5383
Copy link

dmv5383 commented Mar 19, 2025

Setup
Describe the setup you are using to run CARLA along with its version:

  • CARLA version: 0.9.15 and 0.10.0
  • Platform: Ubuntu 22
  • Python version: 3.8 and 3.10
  • GPU: GTX 1070

Describe the bug
The LIDAR simulation is only able to interact with the map and passes straight through dynamic objects such as vehicles and walkers. This seems to be an issue with physics being disabled when replaying a record. Is there any way to enable the physics simulation?

Based on #7092 I tried setting vehicle.set_collisions(True) and vehicle.set_simulate_physics(True) but it didn't work.

I also tried upgrading from 0.9.15 to 0.10.0 but the issue persisted.

Screenshots

Image
@dmv5383
Copy link
Author

dmv5383 commented Mar 19, 2025

Seems to be related to #7092, #7238, and #6911 which say the problem was fixed, but the problem persisted after upgrading.

@Blyron
Copy link
Contributor

Blyron commented Apr 7, 2025

Yeah the issue is in CarlaReplayer.cpp. Line234, I think that line should be
RootComponent->SetCollisionEnabled(ECollisionEnabled::QueryOnly);

I haven't tested and I did not have time.

@Blyron Blyron self-assigned this Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants