Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run Berkeley Minor map with 0.9.10 #24

Open
RyanC1681 opened this issue Jun 25, 2021 · 0 comments
Open

Unable to run Berkeley Minor map with 0.9.10 #24

RyanC1681 opened this issue Jun 25, 2021 · 0 comments

Comments

@RyanC1681
Copy link

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:

  1. Go to 'carla_version.txt' update to 0.9.10
  2. Click on 'carla_runner.py'
  3. 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())
  4. 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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant