mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-12 20:49:50 +08:00
Update README.md
This commit is contained in:
@@ -12,11 +12,11 @@ For the RTAB-Map libraries and standalone application, visit the [RTAB-Map's hom
|
|||||||
### ROS distribution
|
### ROS distribution
|
||||||
RTAB-Map is released as binaries in the ROS distribution.
|
RTAB-Map is released as binaries in the ROS distribution.
|
||||||
* Indigo
|
* Indigo
|
||||||
```
|
```bash
|
||||||
$ sudo apt-get install ros-indigo-rtabmap-ros
|
$ sudo apt-get install ros-indigo-rtabmap-ros
|
||||||
```
|
```
|
||||||
* Hydro
|
* Hydro
|
||||||
```
|
```bash
|
||||||
$ sudo apt-get install ros-hydro-rtabmap-ros
|
$ sudo apt-get install ros-hydro-rtabmap-ros
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -26,14 +26,15 @@ This section shows how to install RTAB-Map ros-pkg on **ROS Hydro/Indigo** (Catk
|
|||||||
|
|
||||||
* The next instructions assume that you have setup your ROS workspace using this [tutorial](http://wiki.ros.org/catkin/Tutorials/create_a_workspace). The workspace path is `~/catkin_ws` and your `~/.bashrc` contains:
|
* The next instructions assume that you have setup your ROS workspace using this [tutorial](http://wiki.ros.org/catkin/Tutorials/create_a_workspace). The workspace path is `~/catkin_ws` and your `~/.bashrc` contains:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
source /opt/ros/hydro/setup.bash
|
source /opt/ros/hydro/setup.bash
|
||||||
source ~/catkin_ws/devel/setup.bash
|
source ~/catkin_ws/devel/setup.bash
|
||||||
```
|
```
|
||||||
|
|
||||||
1. First, you need to install the RTAB-Map standalone libraries (**don't checkout in the Catkin workspace** but install in your Catkin's devel folder).
|
1. First, you need to install the RTAB-Map standalone libraries (**don't checkout in the Catkin workspace** but install in your Catkin's devel folder).
|
||||||
|
|
||||||
```
|
```bash
|
||||||
|
$ cd ~
|
||||||
$ git clone https://github.com/introlab/rtabmap.git rtabmap
|
$ git clone https://github.com/introlab/rtabmap.git rtabmap
|
||||||
$ cd rtabmap/build
|
$ cd rtabmap/build
|
||||||
$ cmake -DCMAKE_INSTALL_PREFIX=~/catkin_ws/devel .. [<---double dots included]
|
$ cmake -DCMAKE_INSTALL_PREFIX=~/catkin_ws/devel .. [<---double dots included]
|
||||||
@@ -43,7 +44,7 @@ $ make install
|
|||||||
|
|
||||||
2. Now install the RTAB-Map ros-pkg in your src folder of your Catkin workspace.
|
2. Now install the RTAB-Map ros-pkg in your src folder of your Catkin workspace.
|
||||||
|
|
||||||
```
|
```bash
|
||||||
$ cd ~/catkin_ws
|
$ cd ~/catkin_ws
|
||||||
$ git clone https://github.com/introlab/rtabmap_ros.git src/rtabmap_ros
|
$ git clone https://github.com/introlab/rtabmap_ros.git src/rtabmap_ros
|
||||||
$ catkin_make
|
$ catkin_make
|
||||||
@@ -51,7 +52,7 @@ $ catkin_make
|
|||||||
|
|
||||||
#### Update to new version
|
#### Update to new version
|
||||||
|
|
||||||
```
|
```bash
|
||||||
$ cd rtabmap
|
$ cd rtabmap
|
||||||
$ git pull origin master
|
$ git pull origin master
|
||||||
$ cd build
|
$ cd build
|
||||||
|
|||||||
Reference in New Issue
Block a user