guardstrikelab / carla_apollo_bridge

This project aims to provide a data and control bridge for the communication between the latest version of Apollo and Carla.
Apache License 2.0
323 stars 94 forks source link

Carla not starting correctly #149

Open NebulaVGC opened 1 year ago

NebulaVGC commented 1 year ago

Hello all. I have been following the getting start guide, but I have been running into an issue when starting Carla. I clone the repo and run ./scripts/docker_run_carla.sh. However, Carla does not open for me. I am able to get DreamView to run, but when I run python main.py, I get this error: image

When I docker ps, it says that Carla has been restarting constantly. image I am assuming that Carla is not running correctly, and I was wondering if anyone could help me out. Thanks!

XiaoFei9704 commented 1 year ago

Can you provide the output log of running this script? ./scripts/docker_run_carla.sh

NebulaVGC commented 1 year ago

The only thing it says is that the container has been started. image

XiaoFei9704 commented 1 year ago

Ok, before starting carla, how much memory did you have on your computer? If the memory is less than 16GB, it may cause carla to restart due to insufficient memory.

NebulaVGC commented 1 year ago

I currently have 10/32 GBs used before starting carla.

XiaoFei9704 commented 1 year ago

It seems that there is no problem with the memory. There may be other problems during startup. Try deleting the carla container and restarting it. docker rm -f carla-simulator-1 ./scripts/docker_run_carla.sh

NebulaVGC commented 1 year ago

Restarting the container did not seem to do anything.

NebulaVGC commented 1 year ago

Also, Carla runs fine when I open a separate .exe, just not in docker.