Git
Let's assume that the Git source you would like to check out is located at
git://repository/package_name. To do the initial checkout and build the package in
your personal catkin directory, run the following commands. (If necessary, change the
first command to reflect the actual location of your personal catkin source directory.)
cd ~/catkin_ws/src
git clone git://repository/package_name
cd ~/catkin_ws
catkin_make
source devel/setup.bash
rospack profile
To update the package later on, run the commands:
Reviewing the ROS Basics - 21$
cd ~/catkin_ws/src/package_name
git pull
cd ~/catkin_ws
catkin_make
source devel/setup.bash
Let's assume that the Git source you would like to check out is located at
git://repository/package_name. To do the initial checkout and build the package in
your personal catkin directory, run the following commands. (If necessary, change the
first command to reflect the actual location of your personal catkin source directory.)
cd ~/catkin_ws/src
git clone git://repository/package_name
cd ~/catkin_ws
catkin_make
source devel/setup.bash
rospack profile
To update the package later on, run the commands:
Reviewing the ROS Basics - 21$
cd ~/catkin_ws/src/package_name
git pull
cd ~/catkin_ws
catkin_make
source devel/setup.bash