mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 08:47:45 +08:00
Update README.md
This commit is contained in:
@@ -7,9 +7,9 @@ For more information, demos and tutorials about this package, visit [rtabmap_ros
|
|||||||
|
|
||||||
For the RTAB-Map libraries and standalone application, visit [RTAB-Map's home page](http://introlab.github.io/rtabmap) or [RTAB-Map's wiki](https://github.com/introlab/rtabmap/wiki).
|
For the RTAB-Map libraries and standalone application, visit [RTAB-Map's home page](http://introlab.github.io/rtabmap) or [RTAB-Map's wiki](https://github.com/introlab/rtabmap/wiki).
|
||||||
|
|
||||||
## Installation
|
# Installation
|
||||||
|
|
||||||
### ROS distribution
|
## ROS distribution
|
||||||
RTAB-Map is released as binaries in the ROS distribution. For **latest binaries**, use [ros-shadow-fixed](http://wiki.ros.org/ShadowRepository) repository.
|
RTAB-Map is released as binaries in the ROS distribution. For **latest binaries**, use [ros-shadow-fixed](http://wiki.ros.org/ShadowRepository) repository.
|
||||||
* Kinetic
|
* Kinetic
|
||||||
```
|
```
|
||||||
@@ -30,11 +30,12 @@ $ sudo apt-get install ros-hydro-rtabmap-ros
|
|||||||
* Note that rtabmap_ros Hydro binaries are stuck at version 0.8.12. To use the latest version, see [Build from source](https://github.com/introlab/rtabmap_ros#build-from-source) below.
|
* Note that rtabmap_ros Hydro binaries are stuck at version 0.8.12. To use the latest version, see [Build from source](https://github.com/introlab/rtabmap_ros#build-from-source) below.
|
||||||
|
|
||||||
When launching `rtabmap_ros`'s nodes, if you have the error `error while loading shared libraries...`, add the next line at the end of your `~/.bashrc` to fix it:
|
When launching `rtabmap_ros`'s nodes, if you have the error `error while loading shared libraries...`, add the next line at the end of your `~/.bashrc` to fix it:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ros/kinetic/lib/x86_64-linux-gnu
|
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ros/kinetic/lib/x86_64-linux-gnu
|
||||||
```
|
```
|
||||||
|
|
||||||
### Build from source
|
## Build from source
|
||||||
This section shows how to install RTAB-Map ros-pkg on **ROS Hydro/Indigo/Jade/Kinetic** (Catkin build). RTAB-Map works only with the PCL >=1.7, which is the default version installed with ROS Hydro/Indigo/Jade/Kinetic (**Fuerte and Groovy are not supported**).
|
This section shows how to install RTAB-Map ros-pkg on **ROS Hydro/Indigo/Jade/Kinetic** (Catkin build). RTAB-Map works only with the PCL >=1.7, which is the default version installed with ROS Hydro/Indigo/Jade/Kinetic (**Fuerte and Groovy are not supported**).
|
||||||
|
|
||||||
* The next instructions assume that you have set up your ROS workspace using this [tutorial](http://wiki.ros.org/catkin/Tutorials/create_a_workspace). I will use kinetic prefix for convenience, but it should work with Hydro, Indigo and Jade. The workspace path is `~/catkin_ws` and your `~/.bashrc` contains:
|
* The next instructions assume that you have set up your ROS workspace using this [tutorial](http://wiki.ros.org/catkin/Tutorials/create_a_workspace). I will use kinetic prefix for convenience, but it should work with Hydro, Indigo and Jade. The workspace path is `~/catkin_ws` and your `~/.bashrc` contains:
|
||||||
@@ -45,6 +46,7 @@ $ source ~/catkin_ws/devel/setup.bash
|
|||||||
```
|
```
|
||||||
|
|
||||||
* Make sure you don't have the binaries installed too (if you tried them before):
|
* Make sure you don't have the binaries installed too (if you tried them before):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ sudo apt-get remove ros-kinetic-rtabmap
|
$ sudo apt-get remove ros-kinetic-rtabmap
|
||||||
```
|
```
|
||||||
@@ -86,7 +88,7 @@ $ git clone https://github.com/introlab/rtabmap_ros.git src/rtabmap_ros
|
|||||||
$ catkin_make
|
$ catkin_make
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Update to new version
|
### Update to new version
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cd rtabmap
|
$ cd rtabmap
|
||||||
|
|||||||
Reference in New Issue
Block a user