Update tutorials

This commit is contained in:
Yu Asabe 2022-10-04 15:28:09 +09:00
parent 97defc78ec
commit 03a7695cda
1 changed files with 15 additions and 1 deletions

View File

@ -1,4 +1,18 @@
# Tutorials # Tutorials
Simulations can be an easy way of verifying the functionality of AutowareV2X before an actual field test. Simulations can be an easy way of verifying the functionality of AutowareV2X before an actual field test.
Here, since we want to test both the sending and receiving of information through AutowareV2X, we will need at least two AutowareV2X instances. For this, we will use a Docker-based environment. Here, since we want to test both the sending and receiving of information through AutowareV2X, we will need at least two AutowareV2X instances. For this, we will use a Docker-based environment.
## Using CPM in a simulation-based environment
1. Create Docker networks
```
$ docker network create --driver=bridge --subnet=10.0.0.0/16 v2x_net -o com.docker.network.bridge.name="v2x_net"
```
# Launch Autoware container
rocker --nvidia --x11 --user --volume $HOME/autoware_docker --volume $HOME/autoware_map -- ghcr.io/autowarefoundation/autoware-universe:latest-cuda
$ cd autoware_docker
$ . install/setup.bash
$ ros2 launch autoware_v2x v2x.launch.xml network_interface:=eth1
```