# /zed/zed\_node/odom keep randomly reset

**URL:** <https://community.stereolabs.com/t/zed-zed-node-odom-keep-randomly-reset/11140>\
**Category:** Software\
**Tags:** python, ros2\
**Created:** [April 4, 2026, 2:04pm UTC](https://community.stereolabs.com/t/zed-zed-node-odom-keep-randomly-reset/11140 "2026-04-04T14:04:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![theBestMan](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/t/b4bc9f/32.png) [@theBestMan](https://community.stereolabs.com/u/theBestMan)\
**Post date:** [April 4, 2026, 2:04pm UTC](https://community.stereolabs.com/t/zed-zed-node-odom-keep-randomly-reset/11140/1 "2026-04-04T14:04:22Z")

</div>

Greetings, I would like to know something. I am running Zed2i node in ROS2 version humble on jetson orin nano. what I had experience is that, the odom reading keep resetting into 0 value. Is this normal?. Here I attach one of the test where I just move the camera around in square motion you could see that the /zed/zed\_node/odom reset back to zero.  
best regard  
thebestman

 ![problem](https://community.stereolabs.com/uploads/default/original/2X/3/33907db5a48c09a6c9d8847102fb7f0335c2bee0.png)

---

<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:** [April 7, 2026, 10:09am UTC](https://community.stereolabs.com/t/zed-zed-node-odom-keep-randomly-reset/11140/2 "2026-04-07T10:09:30Z")

</div>

> [@theBestMan](#):
>
> what I had experience is that, the odom reading keep resetting into 0 value. Is this normal?

Yes, it is. It’s the default expected behavior when the parameter `pos_tracking.reset_odom_with_loop_closure` is set to `true`:

> <https://github.com/stereolabs/zed-ros2-wrapper/blob/master/zed_wrapper/config/common_stereo.yaml#L114C13-L114C41>

The effect of this behavior is to make the origin of the local odometry and the global position to the same value to reset odometry drift.
