# ZEDX odom with 2D LiDAR SLAM

**URL:** <https://community.stereolabs.com/t/zedx-odom-with-2d-lidar-slam/4798>\
**Category:** ROS2\
**Tags:** slam\
**Created:** [March 21, 2024, 4:15pm UTC](https://community.stereolabs.com/t/zedx-odom-with-2d-lidar-slam/4798 "2024-03-21T16:15:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![alboron18](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/a/e79b87/32.png) [@alboron18](https://community.stereolabs.com/u/alboron18)\
**Post date:** [March 21, 2024, 4:15pm UTC](https://community.stereolabs.com/t/zedx-odom-with-2d-lidar-slam/4798/1 "2024-03-21T16:15:06Z")

</div>

Hi there! I’m working on creating a SLAM map in a GPS-denied area using a ZEDX camera and a 2D Lidar. We successfully have the ZEDX odom and the 2D LiDAR scan data separately but having trouble using both datasets to get the ROS2 slam toolbox up and running. I’m not seeing many tutorials out there so some insight into how to get started with this would be great thanks!

---

<div class="post-metadata">

**Author:** ![alboron18](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/a/e79b87/32.png) [@alboron18](https://community.stereolabs.com/u/alboron18)\
**Post date:** [March 21, 2024, 6:36pm UTC](https://community.stereolabs.com/t/zedx-odom-with-2d-lidar-slam/4798/2 "2024-03-21T18:36:09Z")

</div>

Alternatively, we are looking into using rtabmap\_ros with a stereo camera in ROS2. We have the package downloaded and everything looks well in Rviz but we cannot figure out how to use the rtabmap\_rviz GUI.

---

<div class="post-metadata">

**Author:** ![mattrouss](https://community.stereolabs.com/user_avatar/community.stereolabs.com/mattrouss/32/2452_2.png) [@mattrouss](https://community.stereolabs.com/u/mattrouss)\
**Post date:** [March 22, 2024, 10:29am UTC](https://community.stereolabs.com/t/zedx-odom-with-2d-lidar-slam/4798/3 "2024-03-22T10:29:31Z")

</div>

Hi @alboron18,

We currently do not have a guide in order to integrate the ZED X with ROS2 slam toolbox.  
We do however a ROS example to integrate with rtabmap that you can check out here: [https://github.com/stereolabs/zed-ros-examples/tree/master/examples/zed\_rtabmap\_example](https://github.com/stereolabs/zed-ros-examples/tree/master/examples/zed_rtabmap_example)
