Skip to content

ROS2 Humble Installation

The Robot Operating System (ROS) is a set of software libraries and tools for building robot applications. From drivers and advanced algorithms to powerful developer tools, ROS provides open-source tools needed for your next robotics project. When installing ROS2 Humble, rviz2 will be installed simultaneously.

Installation

bash
sudo aid-pkg install ros2-humble-desktop

Verification

After installing ROS2 Humble, verify the installation success using the following method:

  1. Log in to the Ubuntu Desktop. For remote desktop usage, refer to Remote Desktop Usage.

  2. Open a Terminal window and execute the command: ros2 run demo_nodes_cpp talker to send messages.

alt text

  1. Open another Terminal window and execute the command: ros2 run demo_nodes_cpp listener to listen for messages.

alt text