For Autoware's general documentation, see Autoware Documentation.
For detailed documents of Autoware Universe components, see Autoware Universe Documentation.
Check if docker is installed, if not installed, install it
docker
Clone autowarefoundation repo
git clone https://github.com/HelloWorldRobotics/autowarefoundation.git
Clone the main repos
cd autowarefoundation
mkdir src
vcs import src < autoware.repos
Load docker image from .tar file (Find a way to get this file from Mr. Kennedy)
docker load -i autoware_universe.tar
#Note: Your image name might be different, and this process takes awhile
Run the docker
docker run --rm -it --network=host --privileged -v $HOME:$HOME -v /dev:/dev autoware_universe
#Note: Your image name might be different
Build autoware universe workspace
cd /home/nvidia/autowarefoundation
#Note: Your directory path to autowarefoudation might be different
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
Run autoware
ros2 launch autoware_launch autoware.launch.xml vehicle_model:=sample_vehicle sensor_model:=awsim_sensor_kit map_path:=$HOME/autoware_maps/mranti
Note: Change the paths and arguments based on your use
Install Ubuntu 22.04 on x86 Device
Clone autowarefoundation repo and install dependencies
sudo apt-get -y update
sudo apt-get -y install git
git clone https://github.com/HelloWorldRobotics/autowarefoundation.git
cd autowarefoundation
./setup-dev-env.sh
Construct the workspace and pull from all repos relating to autoware from HWR Github
cd autowarefoundation
mkdir src
vcs import src < autoware.repos
Install ROS dependencies
source /opt/ros/humble/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
source /autowarefoundation/install/setup.bash
Launch autoware (replace arguments to suit your needs)
ros2 launch autoware_launch autoware.launch.xml vehicle_model:=sample_vehicle sensor_model:=awsim_sensor_kit map_path:=$HOME/autoware_maps/ninshinjuku/
Install mr tool by running ./setup.sh from tarsv5_ws repo
Pull all Autoware repos from HWR Repo
cd autowarefoundation
mr pull
mr commit
mr push
Go into each invidually forked repos in HWR github
Click sync fork option in github
Note: Skip this step if using Docker image, we already installed it in the docker
sudo apt install chrony
Outside the docker, add this line in the host computer in /etc/chrony/chrony.conf Note: Change the subnet (3rd number) to match your router subnet
allow 192.168.1.0/24
Outside the docker, add this line in the client computer in /etc/chrony/chrony.conf Note: Change the IP address to match your Host device IP
server 192.168.1.XX iburst
Outside the docker, run this command on both host and client computers. Done! Will affect the docker too
systemctl restart chronyd