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

The CARLA server uses the wrong map! This scenario requires to use map Town02 #46

Open
shikharvashistha opened this issue Mar 6, 2024 · 0 comments

Comments

@shikharvashistha
Copy link

shikharvashistha commented Mar 6, 2024

What could be the issue ?

I'm using the default settings

./leaderboard/scripts/run_evaluation.sh
/home/user/Desktop/shikharvashistha/lav/leaderboard/leaderboard/leaderboard_evaluator.py:85: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  if LooseVersion(dist.version) < LooseVersion('0.9.10'):

========= Preparing RouteScenario_0 (repetition 0) =========
> Setting up the agent
> Loading the world

The scenario could not be loaded:
> The CARLA server uses the wrong map!This scenario requires to use map Town02

Traceback (most recent call last):
  File "/home/user/Desktop/shikharvashistha/lav/leaderboard/leaderboard/leaderboard_evaluator.py", line 306, in _load_and_run_scenario
    self._load_and_wait_for_world(args, config.town, config.ego_vehicles)
  File "/home/user/Desktop/shikharvashistha/lav/leaderboard/leaderboard/leaderboard_evaluator.py", line 224, in _load_and_wait_for_world
    "This scenario requires to use map {}".format(town))
Exception: The CARLA server uses the wrong map!This scenario requires to use map Town02
> Registering the route statistics
export CARLA_ROOT=/home/user/Desktop/shikharvashistha/carla
export LEADERBOARD_ROOT=/home/user/Desktop/shikharvashistha/lav/leaderboard
export SCENARIO_RUNNER_ROOT=/home/user/Desktop/shikharvashistha/lav/scenario_runner
export TEAM_AGENT=/home/user/Desktop/shikharvashistha/lav/team_code_v2/lav_agent_fast.py
export TEAM_CONFIG=/home/user/Desktop/shikharvashistha/lav/team_code_v2/config.yaml

export SCENARIOS=/home/user/Desktop/shikharvashistha/lav/leaderboard/data/all_towns_traffic_scenarios_public.json
export REPETITIONS=1
export CHECKPOINT_ENDPOINT=results.json 
export DEBUG_CHALLENGE=0
export CHALLENGE_TRACK_CODENAME=SENSORS
export CUDA_LAUNCH_BLOCKING=1
export ROUTES=/home/user/Desktop/shikharvashistha/lav/assets/routes_lav_valid.xml
export CONFIGFILE=/home/user/Desktop/shikharvashistha/lav/assets/routes_lav_valid.xml
export PYTHONPATH=/home/user/Desktop/shikharvashistha/lav/scenario_runner
export PYTHONPATH=$PYTHONPATH:/home/user/Desktop/shikharvashistha/lav/leaderboard
export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI
export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI/util
export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI/carla
export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI/carla/agents
export PYTHONPATH=$PYTHONPATH:${CARLA_ROOT}/PythonAPI/carla/dist/carla-0.9.12-py3.7-linux-x86_64.egg

@dotchen

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