当前位置:网站首页>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 .
边栏推荐
- Uni app screenshot with canvas and share friends
- vm虚拟机中使用NAT模式特别说明
- Leetcode notes: Weekly contest 280
- S-msckf/msckf-vio technical route and code details online blog summary
- Data visualization and Matplotlib
- Record the treading pit of grain Mall (I)
- Leetcode notes: biweekly contest 70
- Servlet
- How to standardize the creation of a pytorch project
- Leetcode notes: Weekly contest 276
猜你喜欢

DUF:Deep Video Super-Resolution Network Using Dynamic Upsampling Filters ... Reading notes

Prediction of COVID-19 by RNN network

MES系统是什么?MES系统的操作流程是怎样?

Explain the basic working principle of Ethernet

You get download the installation and use of artifact

Pytorch practice: predicting article reading based on pytorch

Record the treading pit of grain Mall (I)

Mathematical knowledge - matrix - matrix / vector derivation

Mathematical Essays: Notes on the angle between vectors in high dimensional space

FPGA to flip video up and down (SRAM is61wv102416bll)
随机推荐
System service configuration service - detailed version
ctfshow web4
企业上线MES软件的费用真的很贵?
MATLAB image processing - Otsu threshold segmentation (with code)
制造企业生产排产现状和APS系统的解决方案
Vision Transformer | CVPR 2022 - Vision Transformer with Deformable Attention
千万别把MES只当做工具,不然会错过最重要的东西
后MES系统的时代,已逐渐到来
Getting started with Jetson nano Series IV: common skills of NVIDIA Jetson nano
MES系统质量追溯功能,到底在追什么?
Data visualization and Matplotlib
APS软件有哪些排程规则?有何异常处理方案?
MYSQL中的锁的机制
(P33-P35)lambda表达式语法,lambda表达式注意事项,lambda表达式本质
对企业来讲,MES设备管理究竟有何妙处?
Leetcode notes: biweekly contest 70
How to write simple music program with MATLAB
智能制造的时代,企业如何进行数字化转型
Numpy generates row vectors and column vectors (1024 water medal text)
ERP的生产管理与MES管理系统有什么差别?