Skip to content

Commit

Permalink
enable gui
Browse files Browse the repository at this point in the history
  • Loading branch information
cgeller committed Feb 5, 2024
1 parent 773184a commit b457d3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/evaluate-scenario/files/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ services:
count: 1
capabilities: [gpu]
privileged: True
environment:
DISPLAY: $DISPLAY
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
image: $SIMULATOR_IMAGE
command: bash -ic './CarlaUE4.sh -nosound $SIMULATOR_FLAGS 2>/dev/null'

Expand Down
1 change: 1 addition & 0 deletions .github/actions/evaluate-scenario/scripts/setup-carlos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ echo "$(cat $COMPOSE_FILE_PATH)" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT

# start simulator
xhost +local:
docker compose -f $COMPOSE_FILE_PATH up -d carla-simulator

0 comments on commit b457d3a

Please sign in to comment.