mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
2c5cf1a6b38c9291f199ded815e7845a748cf443
rtabmap_ros
RTAB-Map's ROS2 package (branch ros2). UNDER CONSTRUCTION: currently most nodes are ported to ROS2, however they are not all tested yet. The interface is the same than on ROS1 (parameters and topic names should still match ROS1 documentation on rtabmap_ros). See launch/ros2 subfolder for some ROS2 examples with turtlebot3 in simulation (tested under ROS2 Eloquent distro).
Installation
- RTAB-Map library:
$ cd ~ $ git clone https://github.com/introlab/rtabmap.git rtabmap $ cd rtabmap/build $ cmake .. $ make -j4 $ sudo make install - RTAB-Map ROS2 package:
$ cd ~/ros2_ws $ git clone --branch ros2 https://github.com/introlab/rtabmap_ros.git src/rtabmap_ros $ colcon build
Example
```bash
$ ros2 launch turtlebot3_gazebo turtlebot3_world.launch.py
$ ros2 launch rtabmap_ros turtlebot3_scan.launch.py
```
Languages
C++
84.9%
Python
11.9%
CMake
1.6%
Dockerfile
1%
C
0.4%
Other
0.2%