Luca96 / carla-driving-rl-agent

Code for the paper "Reinforced Curriculum Learning for Autonomous Driving in CARLA" (ICIP 2021)
MIT License
98 stars 23 forks source link

Cannot spawn actor #24

Open nguyenvantruong1905 opened 1 year ago

nguyenvantruong1905 commented 1 year ago
Cannot spawn actor. Try changing the spawn_point (Location(x=-87.276062, y=24.441530, z=0.600000)) to something else.

this is my issue. I try choose one emlement in available_spawn_points in random_spawn_point instead random. But it not run pls help me

Luca96 commented 1 year ago

Hi, the error occurs when the spawn location is already occupied: it happens when some other actor (typically a vehicle) is placed on that location, and sometimes even when restarting your own agent twice.

Try picking another spawn point, or reset the CARLA simulator.