Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install ROS kinetic in Ubuntu16.04

2025-02-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how Ubuntu16.04 installs ROS kinetic. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

1. Configure the repository for Ubuntu:

"restricted", "universe" and "multiverse". In general, there is no need to configure, refer to the red box in the following figure.

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

two。 Set the sources.list of Ubuntu

Sudo sh-c 'echo "deb http://packages.ros.org/ros/ubuntu

$(lsb_release-sc) main "> / etc/apt/sources.list.d/ros-latest.list'

3. Set up 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

4. Update package

Sudo apt-get update

5. Install full version of ROS kinetic

Sudo apt-get install ros-kinetic-desktop-full

After installation, you can view the available package:

Apt-cache search ros-kinetic

6. Initialize rosdep

Rosdep must be initialized before using ROS

7. Configure the environment

Echo "source / opt/ros/kinetic/setup.bash" > > ~ / .bashrc

8. Dependencies for installing building package

Sudo apt-get install python-rosinstall python-rosinstall-generator

Python-wstool build-essential

9. Test ROS installation successfully

1) Open Termial and enter the following command to initialize the ROS environment:

Roscore

2) Open a new Termial and enter the following command to pop up a little tortoise window:

Rosrun turtlesim turtlesim_node

3) Open the new Termial and enter the following command to control the movement of the turtle through the arrow keys in Termial:

Rosrun turtlesim turtle_teleop_key

4) Open a new Termial, enter the following command, and pop up a new window to view the ROS node information:

Rosrun rqt_graph rqt_graph

Thank you for reading! This is the end of this article on "how to install ROS kinetic in Ubuntu16.04". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

  • How to realize online document Preview in springboot2

    Springboot2 how to achieve online document preview, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem. In the first step, you need to introduce the corresponding jar:

    © 2024 shulou.com SLNews company. All rights reserved.

    12
    Report