From 7bfdd3939b03c9889abcae33e956aab9cced4089 Mon Sep 17 00:00:00 2001 From: Jason Andrews Date: Wed, 16 Jul 2025 12:58:09 -0500 Subject: [PATCH] Technical review of automotive Learning Path --- .../3_container_spliting.md | 15 ++++++++++----- .../4_multiinstance_executing.md | 4 ++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/content/learning-paths/automotive/openadkit2_safetyisolation/3_container_spliting.md b/content/learning-paths/automotive/openadkit2_safetyisolation/3_container_spliting.md index 71b94ba4bb..94c5d71714 100644 --- a/content/learning-paths/automotive/openadkit2_safetyisolation/3_container_spliting.md +++ b/content/learning-paths/automotive/openadkit2_safetyisolation/3_container_spliting.md @@ -89,11 +89,9 @@ Run the following command in your project directory: ```bash cd docker - export TIMEOUT=120 export CONF_FILE=/home/ubuntu/openadkit_demo.autoware/docker/etc/simulation/config/fail_static_obstacle_avoidance.param.yaml export COMMON_FILE=/home/ubuntu/openadkit_demo.autoware/docker/etc/simulation/config/common.param.yaml - docker compose -f docker-compose.yml pull ``` @@ -315,9 +313,8 @@ export COMMON_FILE=$SCRIPT_DIR/etc/simulation/config/common.param.yaml export NGROK_AUTHTOKEN="" export NGROK_URL="" export TIMEOUT=300 - # Launch the container -docker compose -f docker/docker-compose-2ins.yml run --rm planning-control bash +docker compose -f docker-compose-2ins.yml run --rm planning-control bash ``` Once inside the container shell, activate the ROS 2 environment and start publishing to the /hello topic: @@ -336,6 +333,14 @@ This confirms that DDS communication from the planning node is received on the s Same with Publisher side, you need to set the required environment variables and launch the Simulator container. +Navigate to the directory with the Docker Compose file: + +```bash +cd $HOME/openadkit_demo.autoware/docker +``` + +Launch the application: + ```bash export SCRIPT_DIR=/home/ubuntu/openadkit_demo.autoware/docker export CONF_FILE=$SCRIPT_DIR/etc/simulation/config/fail_static_obstacle_avoidance.param.yaml @@ -345,7 +350,7 @@ export NGROK_URL="" export TIMEOUT=300 # Launch the container -docker compose -f docker/docker-compose-2ins.yml run --rm simulator bash +docker compose -f docker-compose-2ins.yml run --rm simulator bash ``` Once inside the container shell, activate the ROS 2 environment and start publishing to the /hello topic: diff --git a/content/learning-paths/automotive/openadkit2_safetyisolation/4_multiinstance_executing.md b/content/learning-paths/automotive/openadkit2_safetyisolation/4_multiinstance_executing.md index 94a6f66d70..12d69659c5 100644 --- a/content/learning-paths/automotive/openadkit2_safetyisolation/4_multiinstance_executing.md +++ b/content/learning-paths/automotive/openadkit2_safetyisolation/4_multiinstance_executing.md @@ -36,8 +36,8 @@ On each instance, copy the appropriate launch script into the `openadkit_demo.au export NGROK_URL=$NGROK_URL # Start planning-control - echo "Running planning v1.." - TIMEOUT=120 CONF_FILE=$CONF_FILE_PASS docker compose -f "$SCRIPT_DIR/docker-compose-2ins.yml" up planning-control -d + echo "Running planning v1.." + TIMEOUT=120 CONF_FILE=$CONF_FILE_PASS docker compose -f "$SCRIPT_DIR/docker-compose-2ins.yml" up planning-control -d {{< /tab >}} {{< tab header="Visualizer & Simulator" language="bash">}}