Ubuntu 22.04

In May 2022, Open Robotics released a new distribution of ROS-2 , which was codenamed Humble-Hawksbill. From July 2022, we decided to extend our support to the new distribution of ROS 2.

The new distribution of ROS 2 was released in Ubuntu 22.04. People who are utilizing our robots in different areas of application can easily port to the new distribution of ROS 2, by installing the new version of Ubuntu.

For the migration, we will be using a flavour of Ubuntu known as the Xubuntu . The reason to choose XUbuntu is that it is comparatively lightweight and would be much more efficient in the older machines.

Installation on the robot-PC

Now, we will go through the step-by-step process of migrating the user’s robot to the newest version of ROS:

Note

For this migration process, we strongly recommend the users keep the robot’s old SSD / HDD as a backup device and buy a new one for the new version of Ubuntu.

  1. Install Xubuntu onto the robot. There are various tutorials out there on the internet, select anyone of them.
  2. Clone the robot-setup-tools package from our official GitHub repo.
git clone https://github.com/neobotix/robot-setup-tool.git
  1. Navigate to the Debian folder and install the given .deb package using the following command.
sudo apt install ./neobotix-tools.deb

Once the installation is complete, restart the robot as prompted by the installation process.

Installation on the client-PC

To use any graphical tools like RViz or plotjuggler, we suggest the users also migrate the version of ROS to humble in the client-PC as well. For this, the users can just utilize the normal version of Ubuntu. There are no constraints in the flavor of Ubuntu that the users want to use on the client-PC since it will only be mostly used for visualization and data realization. We are not going to go into detail on the process of installation of Ubuntu 22.04 in the client-PC.

The rest of the tutorial would be emphasizing on “how to establish a remote connection to the robot PC ?” A remote connection is very vital for the user to access the desktop of the Robot PC. For this, we are going to utilize the X2Go server. Note that, the Debian package already installs all the necessary packages to enable the X2Go servers.

The following steps will elaborate on the step-by-step process of installing and configuring the X2Go client for accessing the user’s robot desktop:

  1. Install the X2Go client by using the following command:
sudo apt-get install x2goclient
  1. Open the X2Go client, either by running x2goclient command from the command line or by searching and selecting the application.
  2. Create a new session: Session -> New Session
  3. Set the host to the IP-Address of your robot-PC.
  4. Set the login to the user name, that you gave during the installation process of Xubuntu.
  5. In the session type, select the X2Go/X11 Desktop sharing. Press Okay!
  6. Now select the newly created session, that could be found on the sessions pane in the right side of your screen.
  7. Provide the Login credentials and continue.
  8. Select the Full Access mode in the remote desktop sharing.
  9. Now the user will be able to access the desktop of the Robot-PC.