Installing Armbian and ROS

Let's observe the following steps to set up ROS on the Armbian OS:

  1. Installing the OS requires you to do the following:
    1. Download the Armbian Bionic version image file from this website: https://dl.armbian.com/tinkerboard/Ubuntu_bionic_default_desktop.7z.
    2. Once the image is downloaded, insert the SD card into your system and open Etcher.
    3. Select the downloaded image and the specific SD card location and click Flash!.
    4. Once completed, load the SD card into the SBC.
  2. Loading the OS requires that you do the following:
    1. Now that the SD card is loaded, power the SBC using an appropriate power supply adapter.
    2. 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
  1. To install ROS on Armbian, do the following:
    1. 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'
    1. Set up keys using the following command:
$ sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
    1. Now, ensure the Debian package is up to date using the following command:
$ sudo apt-get update
    1. Install ROS-desktop using the following command:
$ sudo apt-get install ros-melodic-desktop
    1. Now, initialize rosdep using the following commands:
$ sudo rosdep init

$ rosdep update
    1. Once initialized, set up the environment using the following commands:
$ echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc

$ source ~/.bashrc
    1. 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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.22.242.141