Getting started learning SLAM (Ubuntu16.04 install ROS kinetic)

  1. Configure Ubuntu's resource library:

" Restricted", "universe" and "multiverse". Generally, there is no need to configure, please refer to the red box in the figure below.

If there is no configuration, you can refer to the official Ubuntu website: click to open the link

  1. Set Ubuntu's sources.list
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 key
sudo apt-key adv --keyserver hkp:

If you cannot connect to the above server, you can try hkp://pgp.mit.edu:80 or hkp://keyserver.ubuntu.com:80

  1. Update package
sudo apt-get update
  1. Install the full version of ROS kinetic
sudo apt-get install ros-kinetic-desktop-full

After installation, you can view the available packages:

apt-cache search ros-kinetic
  1. Initialize rosdep
    You must initialize rosdep before using ROS

  2. Configuration Environment

echo "source /opt/ros/kinetic/setup.bash">>~/.bashrc
  1. Install building package dependencies
sudo apt-get install python-rosinstall python-rosinstall-generator
 python-wstool build-essential
  1. Test ROS installation is successful
  1. Open Termial and enter the following command to initialize the ROS environment:
roscore
  1. Open a new Termial, enter the following command, a little turtle window pops up:
rosrun turtlesim turtlesim_node

  1. Open the new Termial, enter the following command, you can use the arrow keys to control the movement of the turtle in Termial:
rosrun turtlesim turtle_teleop_key

  1. Open a new Termial, enter the following command, a new window will pop up to view the ROS node information:
rosrun rqt_graph rqt_graph

Reference blog link:

https://blog.csdn.net/softimite_zifeng/article/details/78632211

ROS kinetic official website:

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

Recommended Posts

Getting started learning SLAM (Ubuntu16.04 install ROS kinetic)
Getting started with Ubuntu
Install ROS under ROS Ubuntu 18.04[2]
Getting started python learning steps
How to install ROS Noetic in Ubuntu20.04
ubuntu18.04 install docker
ubuntu12.04 install python3
Ubuntu install guide
ubuntu install nodejs
ubuntu 16 install asp.net
ubuntu install leanote
ubuntu install Jenkins
docker install ubuntu
ubuntu16.0.1 install pagoda
ubuntu 18.04 install teamviewer
ubuntu install sendmail