-
Notifications
You must be signed in to change notification settings - Fork 16
Description
Tried to run Berkeley Minor map with 0.9.10 got error as below
INFO - 2021-06-25 09:13:36,985 - ROAR_Sim.carla_client.carla_runner - Restarting on Lap -1
WARNING: Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API
WARNING: Client API version = 0.9.10
WARNING: Simulator API version = 0.9.10-dirty
something bad happened during initialization: init() missing 2 required positional arguments: 'vehicle' and 'agent_settings'
ERROR - 2021-06-25 09:13:39,051 - root - init() missing 2 required positional arguments: 'vehicle' and 'agent_settings'. Might be a good idea to restart Server
To Reproduce
Steps to reproduce the behavior:
- Go to 'carla_version.txt' update to 0.9.10
- Click on 'carla_runner.py'
- Scroll down to revise to
def check_version(self, client):
return ("0.9.10" in client.get_server_version()) == ("0.9.10" in client.get_client_version()) - See error as below:
(ROAR) C:\Users\brian\Documents\ROAR>python ./runner_sim.py
pygame 1.9.6
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "./runner_sim.py", line 35, in
main()
File "./runner_sim.py", line 13, in main
carla_config = CarlaConfig.parse_file(Path("./ROAR_Sim/configurations/configuration.json"))
File "pydantic\main.py", line 482, in pydantic.main.BaseModel.parse_file
File "pydantic\parse.py", line 64, in pydantic.parse.load_file
File "pydantic\parse.py", line 37, in pydantic.parse.load_str_bytes
File "C:\Users\brian.conda\envs\ROAR\lib\json_init_.py", line 348, in loads
return _default_decoder.decode(s)
File "C:\Users\brian.conda\envs\ROAR\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\brian.conda\envs\ROAR\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 22 column 12 (char 528)
Expected behavior
Able to run Berkeley Minor map with 0.9.10 and waypoints
Desktop (please complete the following information):
- OS: Win10
Please help to provide instruction how to run Berkeley Minor map with 0.9.10 more than 2 laps, it works fine on easy map with 0.9.9, but 1 lap only.
Thanks,