RoPod/Tutorials/ROS installation: Difference between revisions

From Control Systems Technology Group
Jump to navigation Jump to search
mNo edit summary
 
Line 1: Line 1:
<div style="width: 40%; float: right;"><center>{{:RoPod_Table_Menu}}</center></div>
<div style="width: 40%; float: right;"><center>{{:RoPod_Table_Menu}}</center></div>


<div STYLE="float: left; width:60%">
<div style="float: left; width:60%">
=Get familiar with ROS =
=Get familiar with ROS=
The Robot Operating System (ROS) is a framework for writing robot software. ROS uses concepts like nodes, topics, messages, etc. Get familiar with them by searching on the web. You can start reading at:
The Robot Operating System (ROS) is a framework for writing robot software. ROS uses concepts like nodes, topics, messages, etc. Get familiar with them by searching on the web. You can start reading at:
http://wiki.ros.org/ROS/Concepts
http://wiki.ros.org/ROS/Concepts


= Install basic set of packages =  
=Install basic set of packages=  


<pre>sudo apt-get -y update && apt-get install -y \
<pre>sudo apt-get -y update && apt-get install -y \
Line 24: Line 24:
libjsoncpp-dev</pre>
libjsoncpp-dev</pre>


=Install ROS =
=Install ROS=
ROS have several distributions (versions). Install ROS noetic distribution, which is the one compatible with ubuntu 20.04. Follow the instructions on this webpage. Install the Desktop-Full version. Make sure you follow '''at least steps 1.1-1.7 in the webpage .'''
ROS have several distributions (versions). Install ROS Noetic distribution, which is the one compatible with Ubuntu 20.04. Follow the instructions on this webpage. Install the Desktop-Full version. Make sure you follow '''at least steps 1.1-1.6 in the webpage.'''


http://wiki.ros.org/noetic/Installation/Ubuntu
http://wiki.ros.org/noetic/Installation/Ubuntu
Note: An alternative method would be to install Docker with pre-installed ROS: https://hub.docker.com/_/ros


To test the installation, run in a terminal the ROS core:
To test the installation, run in a terminal the ROS core:

Latest revision as of 14:58, 15 February 2023

Get familiar with ROS

The Robot Operating System (ROS) is a framework for writing robot software. ROS uses concepts like nodes, topics, messages, etc. Get familiar with them by searching on the web. You can start reading at: http://wiki.ros.org/ROS/Concepts

Install basic set of packages

sudo apt-get -y update && apt-get install -y \
	nano \
	vim \
	git \
	mercurial \
	cmake \
	build-essential \
	automake \
	libtool \
	libtool-bin \
	pkg-config \
	wget \
	curl \
	unzip \
	libjsoncpp-dev

Install ROS

ROS have several distributions (versions). Install ROS Noetic distribution, which is the one compatible with Ubuntu 20.04. Follow the instructions on this webpage. Install the Desktop-Full version. Make sure you follow at least steps 1.1-1.6 in the webpage.

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

Note: An alternative method would be to install Docker with pre-installed ROS: https://hub.docker.com/_/ros


To test the installation, run in a terminal the ROS core:

roscore

Then in another terminal you can type:

rostopic list

You should be able to see at least the following:

/rosout
/rosout_agg