# Integrating zedx camera into gazebo using urdf files

**URL:** <https://community.stereolabs.com/t/integrating-zedx-camera-into-gazebo-using-urdf-files/4622>\
**Category:** ROS2\
**Tags:** slam\
**Created:** [February 23, 2024, 3:48am UTC](https://community.stereolabs.com/t/integrating-zedx-camera-into-gazebo-using-urdf-files/4622 "2024-02-23T03:48:20Z")\
**Posts on this page:** 4\
**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:** [February 23, 2024, 3:48am UTC](https://community.stereolabs.com/t/integrating-zedx-camera-into-gazebo-using-urdf-files/4622/1 "2024-02-23T03:48:21Z")

</div>

Hi, I’m currently running a gazebo simulation with a robot I made and want to integrate the zedx camera into the simulation. I’m having trouble doing so and was wondering if there was a guide? There are numerous things im curious about, for example if my simulation and zed wrapper are in different workspaces will that cause an issue? Or how do you set the camera model when using the xacro files or launch scripts to launch gazebo? Lastly how do you properly get the orientation and position of the zedx and my robot to match?

thanks!

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [February 23, 2024, 8:03am UTC](https://community.stereolabs.com/t/integrating-zedx-camera-into-gazebo-using-urdf-files/4622/2 "2024-02-23T08:03:55Z")

</div>

Hi @alboron18  
the ZED Wrapper cannot receive data from a Gazebo simulation, so you cannot simulate a ZED and use the Wrapper with such simulated data.  
Only ISAAC Sim simulation is supported: [Using ZED with ROS 2 and Isaac Sim - Stereolabs](https://www.stereolabs.com/docs/isaac-sim/ros2_integration)

---

<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:** [February 23, 2024, 11:38pm UTC](https://community.stereolabs.com/t/integrating-zedx-camera-into-gazebo-using-urdf-files/4622/3 "2024-02-23T23:38:57Z")

</div>

Thank you for getting back to me. We are running Ubunutu 20.04 and ROS 2 Foxy, so according to the documentation we cannot run Isaac Sim. Is there still no way to use the .stl file in Gazebo?

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [February 24, 2024, 11:37am UTC](https://community.stereolabs.com/t/integrating-zedx-camera-into-gazebo-using-urdf-files/4622/4 "2024-02-24T11:37:30Z")

</div>

Hi @alboron18  
it’s not a problem of STL and URDF, the problem is related to the data processing pipeline.  
There are no methods to ingest Gazebo information into the ZED ROS Wrapper, we must develop a custom Gazebo plugin for that.
