当前位置:网站首页>Installation series of ROS system (I): installation steps
Installation series of ROS system (I): installation steps
2022-06-12 08:12:00 【Here comes the classmate】
1、 To configure Ubuntu Software and updates for
To configure Ubuntu Software and updates for , Allow installation of non certified software . open “ Software and updates ” Dialog box , The details can be found in Ubuntu Search... In the search button .
After opening, configure according to the following figure .
2、 Set installation source
Due to the domestic wall and other reasons , Tsinghua University is recommended 、 China University of science and technology and other domestic resources , Faster installation .
Official default installation source :
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
Tsinghua University installation source :
sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/ `lsb_release -cs` main" > /etc/apt/sources.list.d/ros-latest.list'
Installation source of University of science and technology of China :
sudo sh -c '. /etc/lsb-release && echo "deb http://mirrors.ustc.edu.cn/ros/ubuntu/ `lsb_release -cs` main" > /etc/apt/sources.list.d/ros-latest.list'
3、 Add key
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
4、 Update source list
sudo apt-get update
5、 install ROS Kinetic Full version
sudo apt-get install ros-kinetic-desktop-full
6、 initialization rosdep
sudo rosdep init
rosdep update
7、 Configure environment variables
For convenience, it can be used in any terminal ROS, Configure the following environment variables .
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
8、 Install dependencies
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential
9、 verification ROS Is the installation successful
(1) First open the terminal Termial( Shortcut key :Ctrl + Alt + T), Enter the following command , Start a node manager :
roscore
As shown in the figure below , Indicates that the opening is successful .
(2) Open a terminal again (Termial), Enter the following command , Pop up a little turtle window :
rosrun turtlesim turtlesim_node


(3) Open a terminal (Termial), Enter the following command
rosrun turtlesim turtle_teleop_key

Use the direction keys on the keyboard to control the movement of the little turtle , As shown in the figure below 
(4) Reopen a Termial, Enter the following command , You can further view ROS Node details :
rosrun rqt_graph rqt_graph
thus , Little Turtle program can be used normally , Express ROS Successfully installed .
边栏推荐
- (P17-P18)通过using定义基础类型和函数指针别名,使用using和typedef给模板定义别名
- 工厂的生产效益,MES系统如何提供?
- Leetcode notes: Weekly contest 279
- Pytorch installation (GPU) in Anaconda (step on pit + fill pit)
- 数据库基础——规范化、关系模式
- Introduction to coco dataset
- Data visualization and Matplotlib
- Discrete chapter I
- (P15-P16)对模板右尖括号的优化、函数模板的默认模板参数
- KAtex problem of vscade: parseerror: KAtex parse error: can't use function '$' in math mode at position
猜你喜欢

(P17-P18)通过using定义基础类型和函数指针别名,使用using和typedef给模板定义别名

FPGA generates 720p video clock

(p25-p26) three details of non range based for loop and range based for loop

Servlet

Vision transformer | arXiv 2205 - TRT vit vision transformer for tensorrt

Group planning chapter I

Pytorch practice: predicting article reading based on pytorch

Symfony 2: multiple and dynamic database connections

制造企业生产排产现状和APS系统的解决方案

Instructions spéciales pour l'utilisation du mode nat dans les machines virtuelles VM
随机推荐
数据库基础——规范化、关系模式
GTEST/GMOCK介绍与实战
Strvec class mobile copy
El expression and JSTL
OpenMP task 原理与实例
vscode 下载慢解决办法
vm虚拟机中使用NAT模式特别说明
Clarify the division of IPv4 addresses
Leetcode notes: biweekly contest 70
Explanation and explanation on the situation that the volume GPU util (GPU utilization) is very low and the memory ueage (memory occupation) is very high during the training of pytoch
企业上MES系统的驱动力来自哪里?选型又该注意哪些问题?
Leetcode notes: biweekly contest 69
What is an extension method- What are Extension Methods?
Cookies and sessions
Procedure execution failed 1449 exception
Vins technical route and code explanation
CONDA reports an error when creating a virtual environment, and the problem is solved
EasyExcel导出Excel表格到浏览器,并通过Postman测试导出Excel【入门案例】
Derivation of Poisson distribution
Py&GO编程技巧篇:逻辑控制避免if else