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.
(fom answer here)
Open terminal and navigate to src folder in your catkin workspace:
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
- if the branch does not exist, browse the Git repository manually and find a proper one.