Skip to main content
Version: ROS 2 Jazzy

Installing Updates

note

This page explains how to install updates on a robot that is already running ROS 2 Jazzy on Ubuntu 24.04.

If your robot is running an older version of ROS, please refer to our upgrade page.

Updating Debian Packages

Most software on your robot is installed as debian packages managed by Ubuntu. To update these packages, connect your robot to the internet (either with a wired or wireless connection) and run the following commands:

note

The apt command is recommended by Ubuntu, though the older apt-get command is still supported. Both will have the same result of updating packages on the system, so pick whichever command you prefer.

sudo apt update
sudo apt full-upgrade

Updating Source Packages

If you have ROS packages installed from source you must update them manually. Most source packages will be downloaded using git, though some software may use different version control software including svn or cvs.

To update your source packages, run the following commands:

cd /path/to/colcon_ws/src/my_package
git pull

You must update each source package indivudually. If your workspace uses vcstool you can update all of the packages at once by running

cd /path/to/colcon_ws/src
vcs pull

Once you have updated the source packages in your workspace, rebuild it:

cd /path/to/colcon_ws
colcon build

Updating Firmware

After updating packages, your robot may need to have MCU and motor controller firmware updated. Check your robot's diagnostics to see if a firmware update is available. If so, follow the firmware update process for your Clearpath platform: