Files
rtabmap_ros/README.md
T

25 lines
1.2 KiB
Markdown
Raw Normal View History

2021-09-14 15:41:50 -04:00
rtabmap_ros [![Build Status](https://github.com/introlab/rtabmap_ros/actions/workflows/ros2.yml/badge.svg)](https://github.com/introlab/rtabmap_ros/actions/workflows/ros2.yml)
2014-11-25 17:51:23 -05:00
===========
2021-09-04 11:53:02 -04:00
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](http://wiki.ros.org/rtabmap_ros)). See `launch/ros2` subfolder for some ROS2 examples with turtlebot3 in simulation (requires at least ROS2 Foxy).
2014-11-25 17:51:23 -05:00
2017-03-23 13:45:50 -04:00
# Installation
2014-11-27 13:51:23 -05:00
2020-01-30 17:18:48 -05:00
* RTAB-Map ROS2 package:
```bash
$ cd ~/ros2_ws
2021-07-10 10:34:52 -04:00
$ git clone https://github.com/introlab/rtabmap.git src/rtabmap
2020-01-30 17:18:48 -05:00
$ git clone --branch ros2 https://github.com/introlab/rtabmap_ros.git src/rtabmap_ros
2021-07-10 10:34:52 -04:00
$ export MAKEFLAGS="-j6" # Can be ignored if you have a lot of RAM
$ colcon build
2020-01-30 17:18:48 -05:00
```
2014-11-27 13:51:23 -05:00
2020-01-30 17:18:48 -05:00
# Example
2020-10-07 17:17:46 -04:00
```bash
$ 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
```
2014-11-27 13:51:23 -05:00