Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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">}}
Expand Down