kochlisGit / Noise-Adaptive-Driving-Assistance-System

Noise-Adaptive Driving Assistance System (NADAS) using Deep Reinforcement Learning, State-Estimation & State Representation
MIT License
2 stars 1 forks source link

python3 run_carla.py #3

Open yihsinma opened 10 months ago

yihsinma commented 10 months ago

I have opened carlaue4(./CarlaUE4.sh), but this error occurs when executing python3 run_carla.py. Can you tell me how to solve this?

(noiseacc) ma@ma-ROG-Strix:~/Downloads/carla/CARLA_0.9.13/PythonAPI/Noise-Adaptive-Driving-Assistance-System$ python3 runcarla.py Launching Carla server... 4.26.2-0+++UE4+Release-4.26 522 0 Disabling core dumps. MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

LowLevelFatalError [File:Unknown] [Line: 136] Exception thrown: bind: Address already in use Signal 11 caught. Malloc Size=65538 LargeMemoryPoolOffset=65554 CommonUnixCrashHandler: Signal=11 Malloc Size=131160 LargeMemoryPoolOffset=196744 Malloc Size=131160 LargeMemoryPoolOffset=327928 Engine crash handling finished; re-raising signal 11 for the default handler. Good bye. Segmentation fault (core dumped) Carla server has crashed! Relaunching... Launching Carla server... 4.26.2-0+++UE4+Release-4.26 522 0 Disabling core dumps. MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

LowLevelFatalError [File:Unknown] [Line: 136] Exception thrown: bind: Address already in use Signal 11 caught. Malloc Size=65538 LargeMemoryPoolOffset=65554 CommonUnixCrashHandler: Signal=11 Malloc Size=131160 LargeMemoryPoolOffset=196744 Malloc Size=131160 LargeMemoryPoolOffset=327928 Engine crash handling finished; re-raising signal 11 for the default handler. Good bye. Segmentation fault (core dumped) Carla server has crashed! Relaunching... Launching Carla server... 4.26.2-0+++UE4+Release-4.26 522 0 Disabling core dumps. MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

kochlisGit commented 10 months ago

Hello, Please check the following:

  1. Carla simulator's version is 0.9.13
  2. Python's carla library is also 0.9.13 (pip install carla==0.9.13). You can check the version by typing on your terminal: pip show carla
  3. Your Python version is 3.7

Also, from this message, it looks like there is a problem with the simulator initialization. Make sure that:

  1. Your simulator can run without Python interface. On windows, you can double click carla.exe. On Linux, navigate to carla's directory with your terminal and type ./carla.sh.
  2. You have the requirements to run the simulator. Without GPU or a decent CPU, it is possible that Carla crushes on initialization. If that's the case, try running the simulator with minimum requirements by setting graphic levels to "Low". The documentation here tells you how to do it: https://carla.readthedocs.io/en/latest/start_quickstart/
yihsinma commented 10 months ago

There is nothing on this website https://carla.readthedocs.io/en/latest/start_quickstart/

kochlisGit commented 10 months ago

Try again https://carla.readthedocs.io/en/latest/start_quickstart/ You can find it by search "graphics" using ctrl+F