From 9e9b3f9e8cb3b3799ceff0b8267e8fc7c6089c37 Mon Sep 17 00:00:00 2001 From: JulianTrommer Date: Mon, 1 Jul 2024 14:54:01 +0200 Subject: [PATCH] feat: Added route without scenarios --- build/docker-compose.yml | 4 ++- code/routes/routes_simple.xml | 51 +++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 code/routes/routes_simple.xml diff --git a/build/docker-compose.yml b/build/docker-compose.yml index eeece9ed..af4a4ba5 100644 --- a/build/docker-compose.yml +++ b/build/docker-compose.yml @@ -76,7 +76,7 @@ services: capabilities: [ gpu ] #command: bash -c "sleep 10 && python3 /opt/leaderboard/leaderboard/leaderboard_evaluator.py --debug=0 --routes=/opt/leaderboard/data/routes_devtest.xml --agent=/opt/leaderboard/leaderboard/autoagents/npc_agent.py --host=carla-simulator --track=SENSORS" #command: bash -c "sleep 10 && roslaunch agent/launch/dev.launch" - command: bash -c "sleep 10 && sudo chown -R carla:carla ../code/ && sudo chmod -R a+w ../code/ && python3 /opt/leaderboard/leaderboard/leaderboard_evaluator.py --debug=0 --routes=/opt/leaderboard/data/routes_devtest.xml --agent=/workspace/code/agent/src/agent/agent.py --host=carla-simulator --track=MAP" + command: bash -c "sleep 10 && sudo chown -R carla:carla ../code/ && sudo chmod -R a+w ../code/ && python3 /opt/leaderboard/leaderboard/leaderboard_evaluator.py --debug=0 --routes=$${ROUTE} --agent=/workspace/code/agent/src/agent/agent.py --host=carla-simulator --track=MAP" logging: driver: "local" @@ -88,6 +88,8 @@ services: - CARLA_SIM_HOST=carla-simulator - ROS_HOSTNAME=agent - XDG_RUNTIME_DIR=/tmp/runtime-carla + # - ROUTE=/opt/leaderboard/data/routes_devtest.xml + - ROUTE=/workspace/code/routes/routes_simple.xml volumes: - /tmp/.X11-unix:/tmp/.X11-unix # if you change the volume here also change the copy command diff --git a/code/routes/routes_simple.xml b/code/routes/routes_simple.xml new file mode 100644 index 00000000..b119f769 --- /dev/null +++ b/code/routes/routes_simple.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +