carla icon indicating copy to clipboard operation
carla copied to clipboard

Custom vehicle being continuously and infinitely spawned

Open eslaaam3 opened this issue 2 years ago • 2 comments

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):

  • This answer on this issue #2925 for rigging the vehicle and creating its blueprint.
  • This issue #4784 because it has a similar error to the one I had, but unfortunately it didn't help.
  • #3789

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

eslaaam3 avatar Aug 16 '22 12:08 eslaaam3

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.

stale[bot] avatar Jun 02 '23 01:06 stale[bot]

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

gsmario avatar May 17 '24 10:05 gsmario

I'm closing this issue, feel free to reopen it if you need more help. Thanks.

gsmario avatar Jun 07 '24 13:06 gsmario