1.8 KiB
1.8 KiB
Installing AutowareV2X
AutowareV2X is used as an add-on module to the open-source autonomous driving stack called Autoware. Therefore, in order to properly use AutowareV2X, Autoware must first be installed on the system.
Prerequisites
- OS
- Ubuntu 20.04
- Ubuntu 22.04
- ROS
- ROS2 Galactic
Installing Autoware
Refer to the Official Autoware Documentation for the newest installation procedures. In a nutshell, you can run the following commands:
# Clone repository
git clone https://github.com/autowarefoundation/autoware.git
cd autoware
# Install dependencies using Ansible
./setup-dev-env.sh
# Use vcstool to import more repositories
mkdir src
vcs import src < autoware.repos
# Install dependent ROS packages
source /opt/ros/galactic/setup.bash
rosdep update
rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO
# Build the workspace
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
Adding AutowareV2X
- Edit the
autoware.repos
file and add the following two repositories to the end.
v2x/autoware_v2x:
type: git
url: git@github.com:tlab-wide/autoware_v2x.git
version: main
v2x/vanetza:
type: git
url: git@github.com:tlab-wide/vanetza.git
version: socktap-cpm-tr103562
- Update the repository
vcs import src < autoware.repos
vcs pull src
- Install dependent ROS packages
source /opt/ros/galactic/setup.bash
rosdep install -y --from-paths src --ignore-src --rosdistro $ROS_DISTRO
- Build the workspace
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release