carla-simulator / carla

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

Custom vehicle being continuously and infinitely spawned #5674

Open eslaaam3 opened 1 year ago

eslaaam3 commented 1 year ago

CARLA version: 0.9.13 Platform/OS: Ubuntu 20.04 Problem you have experienced: Custom vehicle is being continuously spawned What you expected to happen: Custom vehicle spawned properly and only once Steps to reproduce: run python3 manual_control.py --filter <vehicle> Other information (documentation you consulted, workarounds you tried):

I have created a custom vehicle in Blender and used the above mentioned resources to create the blueprint in Carla. But when I try to use manual_control.py to spawn the vehicle, it keeps showing the errors shown in pictures below and keeps spawning the vehicle continuously and infinitely. I think every time the spawning fails, a new vehicle is spawned! I tried running python3 manual_control.py --filter a2 and the Audi A2 works perfectly. I also tried modifying Audi A2 in VehicleFactory to add my vehicle's blueprint and ran python3 manual_control.py --filter a2 again, but the same issue persists.

Unreal Engine after spawning the vehicle

Unreal2

Error1

Error2

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

gsmario commented 2 weeks ago

Hello, sorry for the long time to answer. Did you solve your problem? If you still need help let me know.