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

Carla-0.9.10.1 FPS #122

Open
chan-yuu opened this issue Feb 27, 2025 · 3 comments
Open

Carla-0.9.10.1 FPS #122

chan-yuu opened this issue Feb 27, 2025 · 3 comments

Comments

@chan-yuu
Copy link

Hello, I found carla_0.9.10.1 version frame rate is very low, So I wanted to change it to carla_0.9.13, but the map didn't seem to correspond:

------------town: Town10HD------------
------------get_map().name: Carla/Maps/Town10HD------------

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

Traceback (most recent call last):
  File "leaderboard/leaderboard/leaderboard_evaluator.py", line 320, in _load_and_run_scenario
    self._load_and_wait_for_world(args, config.town, config.ego_vehicles)
  File "leaderboard/leaderboard/leaderboard_evaluator.py", line 237, in _load_and_wait_for_world
    raise Exception("The CARLA server uses the wrong map!"
Exception: The CARLA server uses the wrong map!This scenario requires to use map Town10HD

look forward to your reply

@deepcs233
Copy link
Collaborator

Hi!

You may need to download the map package for the new version.

@chan-yuu
Copy link
Author

chan-yuu commented Mar 1, 2025

I should have gone through the whole process over and over again, but there's still this problem.

========= Preparing RouteScenario_3 (repetition 0) =========
> Setting up the agent
Fatal Python error: Segmentation fault

Thread 0x00007f9192387700 (most recent call first):
  File "/home/user/anaconda3/envs/lmd/lib/python3.8/threading.py", line 306 in wait
  File "/home/user/anaconda3/envs/lmd/lib/python3.8/threading.py", line 558 in wait
  File "/home/user/anaconda3/envs/lmd/lib/python3.8/threading.py", line 1252 in run
  File "/home/user/anaconda3/envs/lmd/lib/python3.8/threading.py", line 932 in _bootstrap_inner
  File "/home/user/anaconda3/envs/lmd/lib/python3.8/threading.py", line 890 in _bootstrap

Current thread 0x00007f94b88004c0 (most recent call first):
  File "/home/user/Documents/cyun/LMDrive/leaderboard/team_code/lmdriver_agent.py", line 80 in __init__
  File "/home/user/Documents/cyun/LMDrive/leaderboard/team_code/lmdriver_agent.py", line 175 in setup
  File "/home/user/Documents/cyun/LMDrive/leaderboard/leaderboard/autoagents/autonomous_agent.py", line 45 in __init__
  File "leaderboard/leaderboard/leaderboard_evaluator.py", line 272 in _load_and_run_scenario
  File "leaderboard/leaderboard/leaderboard_evaluator.py", line 418 in run
  File "leaderboard/leaderboard/leaderboard_evaluator.py", line 483 in main
  File "leaderboard/leaderboard/leaderboard_evaluator.py", line 492 in <module>
./leaderboard/scripts/run_evaluation.sh:行 47: 120909 段错误               (核心已转储) python3 -u ${LEADERBOARD_ROOT}/leaderboard/leaderboard_evaluator.py --scenarios=${SCENARIOS} --routes=${ROUTES} --repetitions=${REPETITIONS} --track=${CHALLENGE_TRACK_CODENAME} --checkpoint=${CHECKPOINT_ENDPOINT} --agent=${TEAM_AGENT} --agent-config=${TEAM_CONFIG} --debug=${DEBUG_CHALLENGE} --record=${RECORD_PATH} --resume=${RESUME} --port=${PORT} --trafficManagerPort=${TM_PORT}

Image

like Segmentation fault during evaluation #14

@deepcs233
Copy link
Collaborator

The version of Python Carla API should also be upgraded and I can't make sure that the new version of the Carla simulator can run with our codebase. BTW, I think the speed of the newer simulator may not bring much improvement.

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

2 participants