Let's observe the following steps to set up ROS on the Armbian OS:
- Installing the OS requires you to do the following:
- Download the Armbian Bionic version image file from this website: https://dl.armbian.com/tinkerboard/Ubuntu_bionic_default_desktop.7z.
- Once the image is downloaded, insert the SD card into your system and open Etcher.
- Select the downloaded image and the specific SD card location and click Flash!.
- Once completed, load the SD card into the SBC.
- Loading the OS requires that you do the following:
- Now that the SD card is loaded, power the SBC using an appropriate power supply adapter.
- You should see a series of loading commands. Once the OS has been booted up, you should see the following screenshot:
Tinkerboard with Armbian loaded
- To install ROS on Armbian, do the following:
- Ensure that Tinkerboard accepts the software from packages.ros.org by setting up sources.list using the following command:
$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu
(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
-
- Set up keys using the following command:
$ sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
-
- Now, ensure the Debian package is up to date using the following command:
$ sudo apt-get update
-
- Install ROS-desktop using the following command:
$ sudo apt-get install ros-melodic-desktop
-
- Now, initialize rosdep using the following commands:
$ sudo rosdep init
$ rosdep update
-
- Once initialized, set up the environment using the following commands:
$ echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
$ source ~/.bashrc
-
- Now, you're done installing ROS on Armbian OS. Run roscore to see that the ROS version is installed. You should see the following Terminal output:
Armbian OS with ROS running (roscore)
Now that you have seen how to set up ROS on Armbian, let's look at a preloaded and available ROS image.