当前位置:网站首页>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 .
边栏推荐
猜你喜欢

Convolutional neural network CNN based cat dog battle picture classification (tf2.1 py3.6)

Record the treading pit of grain Mall (I)

Vision Transformer | Arxiv 2205 - TRT-ViT 面向 TensorRT 的 Vision Transformer

MATLAB image processing - cosine noise removal in image (with code)

Fundamentals of Mathematics - Taylor Theorem

Talk about the four basic concepts of database system

Prediction of COVID-19 by RNN network
![Easyexcel exports excel tables to the browser, and exports excel through postman test [introductory case]](/img/ca/0e2bd54a842a393231ec6db5ab02c2.png)
Easyexcel exports excel tables to the browser, and exports excel through postman test [introductory case]

(P40-P41)move资源的转移、forward完美转发

Literature reading: raise a child in large language model: rewards effective and generalizable fine tuning
随机推荐
Symfony 2: multiple and dynamic database connections
HDLC protocol
ctfshow web3
Mathematical knowledge - derivation - Basic derivation knowledge
Record the treading pit of grain Mall (I)
S-msckf/msckf-vio technical route and code details online blog summary
A brief summary of C language printf output integer formatter
Introduction to SDI video data stream format (frequency, rate, YUV, EAV, SAV)
Model Trick | CVPR 2022 Oral - Stochastic Backpropagation A Memory Efficient Strategy
What is an extension method- What are Extension Methods?
(P17-P18)通过using定义基础类型和函数指针别名,使用using和typedef给模板定义别名
Ten important properties of determinant
How to write simple music program with MATLAB
Leetcode notes: Weekly contest 279
Leetcode notes: Weekly contest 278
Servlet advanced
Leetcode notes: biweekly contest 71
StrVec类 移动拷贝
KAtex problem of vscade: parseerror: KAtex parse error: can't use function '$' in math mode at position
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