I installed ROS on Ubuntu 18.04

Preface

This time, I installed ubuntu 18.04 last time, so I will install ROS further. The target environment is as follows, and basically install according to the reference site.

Target person

Those who want to install ROS People who have seen roswiki but are not sure what it says in English

Target environment

ubuntu18.04 ROS Melodic (Please note that the version of ROS to be installed differs depending on the version of ubuntu)

do install

First, get permission to install ROS on your PC

ros_install_1


sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'

Next, set the key

ros_install_2


sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654

Update the package

ros_install_3


sudo apt update

ROS recommended in tall is performed, so enter the following command (ROS, rqt, rviz, robot-generic libraries, 2D / 3D simulators and 2D / 3D perception)

ros_install_4


sudo apt install ros-melodic-desktop-full

Initialize rosdep. rosdep is a simple installation of the system needed to run ROS.

ros_install_5


sudo rosdep init
rosdep update

Build an environment

ros_install_6


echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
source ~/.bashrc

Install tools to build ROS packages

ros_install_7


sudo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential

This is the end of ROS installation for the time being. From here on, I'm going to do various things using ROS.

Reference site

http://wiki.ros.org/melodic/Installation/Ubuntu

Recommended Posts

I installed ROS on Ubuntu 18.04
I installed tensorRT on Ubuntu 18.04
I installed TensorFlow (GPU version) on Ubuntu
[ROS] Install ROS (melodic) on Ubuntu (18.04)
Remove ubuntu installed on Windows 10 machine
[Linux] I installed CentOS on VirtualBox
I tried Cython on Ubuntu on VirtualBox
I couldn't input Japanese on Ubuntu 20.04
ROS study # 1 Install ros-noetic on ubuntu 20.04
I installed Linux on my Mac
I installed Ubuntu on a USB stick on a dual boot PC
I installed FreeCAD on Linux (Ubuntu) and created an icon
[Super rudimentary] I installed GDAL on Anaconda
Shebang on Ubuntu 20.04
I stumbled upon installing sentencepiece on ubuntu
I installed Kivy on a Mac environment
I installed OpenCV-Python on my Raspberry Pi
I can't install Dask with pip on Ubuntu
Install TensorFlow on Ubuntu
[Streamlit] I installed it
Install PySide2 on Ubuntu
Install JModelica on Ubuntu
build Python on Ubuntu
Install Python 3.3 on Ubuntu 12.04
Installing pyenv on ubuntu 16.04
Install Theano on Ubuntu 12.04
Install angr on Ubuntu 18.04
Install pip / pip3 on Ubuntu
I got a UnicodeDecodeError when pip install on ubuntu
I made a Python3 environment on Ubuntu with direnv.
I want to use OpenJDK 11 on Ubuntu Linux 18.04 LTS / 18.10
Set up Python 3.4 on Ubuntu
Run Jupyter on Ubuntu on Windows
Use matplotlib on Ubuntu 12 & Python
SoftwareRAID 0 on SereneLinux (Ubuntu 18.04 Desktop)
USB Wifi on Ubuntu 20.04LTS
Set matplotlib font on ubuntu
I installed the automatic machine learning library auto-sklearn on centos7
Where I stumbled on SQLite3
Put Python 3.x on Ubuntu
Rebuild kernel on Ubuntu 20.04 (on Azure)
Operate ubuntu on VScode (windows10)
Create command shortcuts on Ubuntu 16.04
Install GoLand IDE on Ubuntu
Display GUI messages on Ubuntu
Install OpenCV on Ubuntu + python
wsl Install PostgreSQL on Ubuntu 18.04
Introducing TensorFlow on Ubuntu + Python 2.7
63rd day I installed tensorflow.
Install Caffe on Ubuntu 14.04 (GPU)
I ran python on windows
Install Docker on WSL Ubuntu 18.04
I tried MLflow on Databricks
Day 65 I installed matplotlib to draw graphs on my Jupyter notebook.
I installed Taiga.IO on CentOS7 (I made a script while I was there)
I tried playing Windows games using Steam Play on Ubuntu 20.04 LTS
I tried AdaNet on table data
Install Python 3.8 on Ubuntu 18.04 (OS standard)
Python 3.4 pyvenv fails on Ubuntu 14.04 LTS
Changed partition mount point on Ubuntu
Install Caffe on Ubuntu 14.04 (CPU mode)