Installation
The full ROS guide can be found here. It is important you install ROS Jazzy Jalisco for AutoNav 2025. Always make sure the documentation pages you read say Jazzy on them.
If you are only interested in ROS for use with SCR, then you can follow the abbreviated instructions below:
Install Guide
Open a terminal (either in WSL or just a regular terminal if you're dual-booting) and run the following commands:
sudo apt install software-properties-common
sudo add-apt-repository universe
sudo apt update && sudo apt install curl -y
export ROS_APT_SOURCE_VERSION=$(curl -s https://api.github.com/repos/ros-infrastructure/ros-apt-source/releases/latest | grep -F "tag_name" | awk -F\" '{print $4}')
curl -L -o /tmp/ros2-apt-source.deb "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/ros2-apt-source_${ROS_APT_SOURCE_VERSION}.$(. /etc/os-release && echo $VERSION_CODENAME)_all.deb"
sudo dpkg -i /tmp/ros2-apt-source.deb
sudo apt update
sudo apt upgrade
sudo apt install ros-jazzy-ros-base
If you are dual booting you can install ros-jazzy-desktop instead for access to the graphical ROS tools.
Sourcing
To use ROS commands, you will need to add the following line to your ~/.bashrc file (if .bashrc doens't exist you can make it):
source /opt/ros/jazzy/setup.bash