Installation Guide
Overview
This guide goes over the steps to install some of the tools, software, and SDKs that we use.
Ubuntu
There are a few different methods to set up a Ubuntu system that works with ROS 2.
Native Install
- Download the Ubuntu 22.04 ISO here.
- Make a bootable USB with the ISO.
- Install Ubuntu Desktop
- Install ROS 2
VM
- Download the Ubuntu 22.04 ISO here.
- Install a VM hypervisor:
- Install Ubuntu Desktop
- Install ROS 2
WSL2
- Open PowerShell or Windows Command Prompt in administrator mode by right-clicking and selecting "Run as administrator"
- Then enter the instllation command:
wsl --install --d Ubuntu-22.04
- Then restart your machine.
- Install ROS 2
ROS 2
- Install ROS 2 Humble
- Be sure to do the full desktop install (
sudo apt install ros-humble-desktop
). - To verify that your installation works correctly, try the examples.
- Be sure to do the full desktop install (
- Run these commands:
sh
cd ~
echo "source /opt/ros/humble/setup.bash" >> .bashrc
This will make it so the source
command will be run for you automatically every time you open a new terminal.
Nav2
Install Nav2 with these commands:
sh
sudo apt install ros-humble-navigation2 \
ros-humble-nav2-bringup \
ros-humble-turtlebot3-gazebo \
Verify the installation was successful by running these commands:
sh
export TURTLEBOT3_MODEL=waffle
export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/opt/ros/humble/share/turtlebot3_gazebo/models
ros2 launch nav2_bringup tb3_simulation_launch.py headless:=False
For more information, see the Nav2 documentation.
ZED SDK
The ZED SDK can be installed on both Ubuntu and Windows. If you are installing on Windows, make sure you have CUDA installed beforehand.
- Install the ZED SDK
- Verify that the installation was successful by running the ZED Explorer and ZED Depth Viewer.
- If you installed it on Ubuntu, you can also play with the ROS 2 tools.