2022-10-04 04:36:54 +00:00
# Tutorials
Simulations can be an easy way of verifying the functionality of AutowareV2X before an actual field test.
2022-10-04 06:28:09 +00:00
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
```