mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
11d8ebc339ee34d57fd6361816e1abe43ecfbb76
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 ROS2 package:
$ 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 $ export MAKEFLAGS="-j6" # Can be ignored if you have a lot of RAM $ colcon build
Example
$ export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:~/ros2_ws/src/turtlebot3_simulations/turtlebot3_gazebo/models
$ export TURTLEBOT3_MODEL=waffle
$ 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%