mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
Update README.md
This commit is contained in:
@@ -5,20 +5,12 @@ RTAB-Map's ROS2 package (branch `ros2`). **UNDER CONSTRUCTION**: currently most
|
|||||||
|
|
||||||
# Installation
|
# Installation
|
||||||
|
|
||||||
* RTAB-Map library:
|
|
||||||
```bash
|
|
||||||
$ cd ~
|
|
||||||
$ git clone https://github.com/introlab/rtabmap.git rtabmap
|
|
||||||
$ cd rtabmap/build
|
|
||||||
$ cmake ..
|
|
||||||
$ make -j4
|
|
||||||
$ sudo make install
|
|
||||||
$ sudo ldconfig
|
|
||||||
```
|
|
||||||
* RTAB-Map ROS2 package:
|
* RTAB-Map ROS2 package:
|
||||||
```bash
|
```bash
|
||||||
$ cd ~/ros2_ws
|
$ cd ~/ros2_ws
|
||||||
|
$ git clone https://github.com/introlab/rtabmap.git src/rtabmap
|
||||||
$ git clone --branch ros2 https://github.com/introlab/rtabmap_ros.git src/rtabmap_ros
|
$ git clone --branch ros2 https://github.com/introlab/rtabmap_ros.git src/rtabmap_ros
|
||||||
|
$ export MAKEFLAGS="-j6" # Can be ignored if you have a lot of RAM
|
||||||
$ colcon build
|
$ colcon build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user