ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
First of all: do you mean "install" that the end result should be the same as as with apt-get
? I.e. slam_gmapping
is installed in /opt/ros
? Then I would go for the apt-get
version, even though it is possible with catkin directly.
If you "just" want to have it in you workspace, I'd suggest you go through the catkin Tutorials so that you understand what actually happens. In short, the required steps are:
create a catkin workspace:
mkdir -p catkin_ws/src
cd catkin_ws/src
source /opt/ros/<DISTRO>/setup.bash
catkin_init_workspace
clone the repository:
git clone https://github.com/ros-perception/slam_gmapping.git
compile the workspace
cd ..
catkin_make
source the workspace
source devel/setup.bash