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

No visual output when running distributed container #11

Open
ClemensLinnhoff opened this issue Jan 2, 2025 · 1 comment
Open

No visual output when running distributed container #11

ClemensLinnhoff opened this issue Jan 2, 2025 · 1 comment

Comments

@ClemensLinnhoff
Copy link

ClemensLinnhoff commented Jan 2, 2025

Because of various dependency problems running the co-simulation alongside Carla in a single container, I tried the distributed example.
Not sure if I understood this correctly. I started Carla in a separate docker with

sudo docker run --privileged --gpus all --net=host -e DISPLAY=$DISPLAY -e SDL_VIDEODRIVER=x11 -v /tmp/.X11-unix:/tmp/.X11-unix:rw carlasim/carla:0.9.13 /bin/bash ./CarlaUE4.sh -vulkan

Then I ran setup.sh --visual and selected the distributed example. The simulation does something, I think. At least some OSI trace files are generated in ostar_osmpservice_2. But the Carla window does not change.

@ClemensLinnhoff
Copy link
Author

ClemensLinnhoff commented Jan 2, 2025

I think I understand. OpenDRIVE and OpenSCENARIO are not loaded automatically.
I could start the scenario runner in a separate docker and then I can see the scenario is played in Carla. But not it is not synced to CoSiMa.
Is there an example on how to set up the scenario_runner in a separate Docker to work with CoSiMa?

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