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 the open-source tools you need for your next robotics project. When installing ROS2 Humble, rviz2 will also be installed.

Installation

  1. Refer to the Quick Start - System Usage -- Web Login section, and log in to the device's web desktop.
  2. Click the App Center button, then select Robot.

alt text

alt text

  1. Install "aidros-pyenv-bootstrap"
    1. Click aidros-pyenv-bootstrapalt text
    2. Click the Install button, and enter the password: "aidlux" alt text
  2. Install "aidros-pyenv-ros2-humble"
    1. Click aidros-pyenv-ros2-humblealt text
    2. Click the Install button, and enter the password: "aidlux" alt text

Verification

After installing ROS2 Humble, you can verify whether the installation was successful using the following method.

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

  • Open a Terminal window, execute the commands to load environment variables and send a message:

shell
source /opt/ros/humble/setup.bash
ros2 run demo_nodes_cpp talker

alt text

  • Open another Terminal window, execute the commands to load environment variables and listen for messages:
shell
source /opt/ros/humble/setup.bash
ros2 run demo_nodes_cpp listener

alt text