From Homepage of Andreas Arnold

Stuff: Tricks with ROS

This sections contains tricks to do with ROS, the Robot Operating System. This is mostly a page of tricks I wrote for my own private use, but if they are useful for you, that's good too.

Install a missing ROS package

(fom answer here)

Open terminal and navigate to src folder in your catkin workspace:

 cd ~/catkin_ws/src

Then clone the repository using:

 git clone -b <branch> <address>

For example, if you are looking to run it in ros hydro, your command could look like:

 git clone -b hydro-devel https://github.com/ros/common_msgs.git

Once it is completed, do the following:

 cd ~/catkin_ws 
 catkin_make

Note:

- if the branch does not exist, browse the Git repository manually and find a proper one.

Retrieved from http://arnold.uthar.net/index.php?n=Stuff.ROS0
Page last modified on August 19, 2019, at 04:43 PM (Paris)