RoPod/Tutorials/ROS installation: Difference between revisions
No edit summary |
|||
Line 28: | Line 28: | ||
Get familiar with catkin workspaces, which will allow you to build a ROS node in the future. Moreover, get familiar on how to run a ros node. | Get familiar with catkin workspaces, which will allow you to build a ROS node in the future. Moreover, get familiar on how to run a ros node. | ||
If you already cloned the [[ RoPod/Tutorials/Configuring GitHub | ropod-project-software]] in your home directory, then you should be able to compile the software now: | |||
<pre> | |||
cd ~/ropod-project-software/catkin_workspace | |||
catkin_make | |||
</pre> | |||
In the next part of the tutorial we are going to see how [[ RoPod/Tutorials/Matlab and a ROS node interface | Matlab and ROS can communicate]]. | In the next part of the tutorial we are going to see how [[ RoPod/Tutorials/Matlab and a ROS node interface | Matlab and ROS can communicate]]. |
Revision as of 09:19, 12 October 2017
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 ROS
ROS have several distributions (versions). Install ROS kinetic distribution, which is the one compatible with ubuntu 16.04. Follow the instructions on this webpage.
http://wiki.ros.org/kinetic/Installation/Ubuntu
(This is not valid/ to be checked)Then, install roslaunch, which will be useful when launching multiple ROS applications from packages.
sudo apt-get install python-roslaunch
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
You can get familiar with ROS using the tutorials for beginners available at http://wiki.ros.org/ROS/Tutorials.
Get familiar with catkin workspaces, which will allow you to build a ROS node in the future. Moreover, get familiar on how to run a ros node.
If you already cloned the ropod-project-software in your home directory, then you should be able to compile the software now:
cd ~/ropod-project-software/catkin_workspace catkin_make
In the next part of the tutorial we are going to see how Matlab and ROS can communicate.