Sentdex / Carla-RL

Reinforcement Learning codebase for self-driving car in Carla

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

nunothebrites opened this issue · comments

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