# "How to add zed to your own robot urdf" & "About zed-rtabmap-example"

**URL:** <https://community.stereolabs.com/t/how-to-add-zed-to-your-own-robot-urdf-about-zed-rtabmap-example/838>\
**Category:** ROS1\
**Tags:** slam, ros, jetson\
**Created:** [February 4, 2022, 7:14am UTC](https://community.stereolabs.com/t/how-to-add-zed-to-your-own-robot-urdf-about-zed-rtabmap-example/838 "2022-02-04T07:14:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![plaid](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/p/94ad74/32.png) [@plaid](https://community.stereolabs.com/u/plaid)\
**Post date:** [February 4, 2022, 7:14am UTC](https://community.stereolabs.com/t/how-to-add-zed-to-your-own-robot-urdf-about-zed-rtabmap-example/838/1 "2022-02-04T07:14:21Z")

</div>

I am now looking to SLAM using zed-rtabmap-example.  
So I would like to know about the following two things.

(1) I would like to know how to add zed to my robot urdf. Currently, the robot’s base\_link and zed\_base\_link coexist under base\_footprint. I want to change this to base\_footprint-\>base\_link-\>zed\_camera, but I don’t know how.

(2) In zed-rtabmap-example, I can change the odom topic, but I can’t. I want to use wheel odom, but for some reason, even if I change the topic, the zed odom is forced to be used. How can I get wheel odom into rtabmap?

---

<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 7, 2022, 11:14am UTC](https://community.stereolabs.com/t/how-to-add-zed-to-your-own-robot-urdf-about-zed-rtabmap-example/838/2 "2022-02-07T11:14:41Z")

</div>

Hi @plaid

1. you must provide the correct transformation between the `zed_base_link` and the robot `base_link` frame by setting the following parameters:  
[https://github.com/stereolabs/zed-ros-wrapper/blob/master/zed\_wrapper/launch/zed2i.launch#L31-L36](https://github.com/stereolabs/zed-ros-wrapper/blob/master/zed_wrapper/launch/zed2i.launch#L31-L36)

2. Can you explain how you are changing the odometry reference?
