Skip to content

Commit 613a753

Browse files
Merge pull request #2147 from jasonrandrews/review
Technical review of automotive Learning Path
2 parents 218c799 + 7bfdd39 commit 613a753

2 files changed

Lines changed: 12 additions & 7 deletions

File tree

content/learning-paths/automotive/openadkit2_safetyisolation/3_container_spliting.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,9 @@ Run the following command in your project directory:
8989

9090
```bash
9191
cd docker
92-
9392
export TIMEOUT=120
9493
export CONF_FILE=/home/ubuntu/openadkit_demo.autoware/docker/etc/simulation/config/fail_static_obstacle_avoidance.param.yaml
9594
export COMMON_FILE=/home/ubuntu/openadkit_demo.autoware/docker/etc/simulation/config/common.param.yaml
96-
9795
docker compose -f docker-compose.yml pull
9896
```
9997

@@ -315,9 +313,8 @@ export COMMON_FILE=$SCRIPT_DIR/etc/simulation/config/common.param.yaml
315313
export NGROK_AUTHTOKEN=""
316314
export NGROK_URL=""
317315
export TIMEOUT=300
318-
319316
# Launch the container
320-
docker compose -f docker/docker-compose-2ins.yml run --rm planning-control bash
317+
docker compose -f docker-compose-2ins.yml run --rm planning-control bash
321318
```
322319

323320
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
336333

337334
Same with Publisher side, you need to set the required environment variables and launch the Simulator container.
338335

336+
Navigate to the directory with the Docker Compose file:
337+
338+
```bash
339+
cd $HOME/openadkit_demo.autoware/docker
340+
```
341+
342+
Launch the application:
343+
339344
```bash
340345
export SCRIPT_DIR=/home/ubuntu/openadkit_demo.autoware/docker
341346
export CONF_FILE=$SCRIPT_DIR/etc/simulation/config/fail_static_obstacle_avoidance.param.yaml
@@ -345,7 +350,7 @@ export NGROK_URL=""
345350
export TIMEOUT=300
346351
347352
# Launch the container
348-
docker compose -f docker/docker-compose-2ins.yml run --rm simulator bash
353+
docker compose -f docker-compose-2ins.yml run --rm simulator bash
349354
```
350355

351356
Once inside the container shell, activate the ROS 2 environment and start publishing to the /hello topic:

content/learning-paths/automotive/openadkit2_safetyisolation/4_multiinstance_executing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ On each instance, copy the appropriate launch script into the `openadkit_demo.au
3636
export NGROK_URL=$NGROK_URL
3737

3838
# Start planning-control
39-
echo "Running planning v1.."
40-
TIMEOUT=120 CONF_FILE=$CONF_FILE_PASS docker compose -f "$SCRIPT_DIR/docker-compose-2ins.yml" up planning-control -d
39+
echo "Running planning v1.."
40+
TIMEOUT=120 CONF_FILE=$CONF_FILE_PASS docker compose -f "$SCRIPT_DIR/docker-compose-2ins.yml" up planning-control -d
4141
{{< /tab >}}
4242

4343
{{< tab header="Visualizer & Simulator" language="bash">}}

0 commit comments

Comments
 (0)