Sentdex / Carla-RL

Reinforcement Learning codebase for self-driving car in Carla
MIT License
364 stars 98 forks source link

Problem with the agent connecting to the server (sources/carla.py) #18

Closed nunothebrites closed 3 years ago

nunothebrites commented 3 years ago

VScode is highlighting many errors in carla.py in every carla. line and I think it's because of this line: self.client = carla.Client(*settings.CARLA_HOSTS[carla_instance][:2]) In all the other files Carla API is working well, also "CARLA_HOSTS" is set right in settings.py so that doesn't seem to be the problem. The script runs and the simulator opens but it keeps printing "ERROR" on "Carla1" and in "Agent1" and nothing happens, nor npc's spawn, neither agent. @daniel-kukiela @Sentdex