# Huge drift with ZED2i

**URL:** <https://community.stereolabs.com/t/huge-drift-with-zed2i/289>\
**Category:** Python\
**Tags:** python\
**Created:** [June 15, 2021, 8:47am UTC](https://community.stereolabs.com/t/huge-drift-with-zed2i/289 "2021-06-15T08:47:23Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrassi](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/m/e5b9ba/32.png) [@mrassi](https://community.stereolabs.com/u/mrassi)\
**Post date:** [June 15, 2021, 8:47am UTC](https://community.stereolabs.com/t/huge-drift-with-zed2i/289/1 "2021-06-15T08:47:24Z")

</div>

I just received my ZED2i, I ran the python demo relevant to tracking (positional\_tracking.py) I noticed a huge drift on the Y axis (up and down) I tried enabling and disabling tracking parameters such as

- tracking\_parameters.enable\_area\_memory
- tracking\_parameters.enable\_imu\_fusion  
and most others, still when I lift the sensor, move around with it and place it back in its original location the drift is about 15-20cm although the movements I made are less than 1 meter.  
I am using  
-CUDA 11  
-SDK 3.5  
-REFERENCE\_FRAME.WORLD  
-RESOLUTION.HD720 and HD1080

I used the Intel realsense T265 for a couple of years with acceptable results. I bought the ZED2i expecting much better results as the advertised translational drift is 0.3%  
Your help is appreciated

---

<div class="post-metadata">

**Author:** ![prelee](https://community.stereolabs.com/user_avatar/community.stereolabs.com/prelee/32/109_2.png) [@prelee](https://community.stereolabs.com/u/prelee)\
**Post date:** [June 23, 2021, 5:38am UTC](https://community.stereolabs.com/t/huge-drift-with-zed2i/289/2 "2021-06-23T05:38:50Z")

</div>

Hi Mrassi,

I have had this problem as well with my Zed2 (not Zed2i), when we’ve travelled quite a distance (~100m), we would be out by tens of meters in the vertical direction.

It’s possible some of my issue comes from us starting and stopping SVO files (for some reason we can’t record more than a 3-5 minute SVO file without crashing our python Application). I don’t know if you’re doing a similar thing.

Just thought I would echo your issue in case it raises the response from Stereolabs.

---

<div class="post-metadata">

**Author:** ![mrassi](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/m/e5b9ba/32.png) [@mrassi](https://community.stereolabs.com/u/mrassi)\
**Post date:** [June 23, 2021, 8:28am UTC](https://community.stereolabs.com/t/huge-drift-with-zed2i/289/3 "2021-06-23T08:28:57Z")

</div>

Hi, I have been in contact with customer support and they admitted that this is their problem. It is a software issue so addressing it shouldn’t be hard hopefully. Is there any drift in the horizontal x,y axis? how much is it from your point of view?

---

<div class="post-metadata">

**Author:** ![prelee](https://community.stereolabs.com/user_avatar/community.stereolabs.com/prelee/32/109_2.png) [@prelee](https://community.stereolabs.com/u/prelee)\
**Post date:** [June 29, 2021, 2:44am UTC](https://community.stereolabs.com/t/huge-drift-with-zed2i/289/4 "2021-06-29T02:44:13Z")

</div>

There is some drift in X and Y (horizontal) certainly, but not as bad as the Z (vertical) drift, I haven’t quantified it though.

We’re still evaluating, and I got a similar response from Stereolabs, it’s good theyr’e working on it but yeah makes it pretty unsuitable for our purposes until we get that sorted.

---

<div class="post-metadata">

**Author:** ![Geoffrey1500](https://community.stereolabs.com/user_avatar/community.stereolabs.com/geoffrey1500/32/184_2.png) [@Geoffrey1500](https://community.stereolabs.com/u/Geoffrey1500)\
**Post date:** [August 19, 2021, 3:08am UTC](https://community.stereolabs.com/t/huge-drift-with-zed2i/289/5 "2021-08-19T03:08:09Z")

</div>

Hi,

I also found this problem when using zed 2i. When I turn on ZEDfu’s offline mode, there is a very large drift in the Y direction (UP and Down direction). When I turn offline mode, this problem seems to be improved very well. But this should work in the opposite way.

Hopefully we’ll hear back from Stereolabs soon.

---

<div class="post-metadata">

**Author:** ![mrassi](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/m/e5b9ba/32.png) [@mrassi](https://community.stereolabs.com/u/mrassi)\
**Post date:** [August 19, 2021, 7:14am UTC](https://community.stereolabs.com/t/huge-drift-with-zed2i/289/6 "2021-08-19T07:14:50Z")

</div>

Hi,  
How do you turn on and off ZEDfu’s offline mode? I am coding using the python SDK. Any settings for that? many thanks

---

<div class="post-metadata">

**Author:** ![Geoffrey1500](https://community.stereolabs.com/user_avatar/community.stereolabs.com/geoffrey1500/32/184_2.png) [@Geoffrey1500](https://community.stereolabs.com/u/Geoffrey1500)\
**Post date:** [August 19, 2021, 8:21am UTC](https://community.stereolabs.com/t/huge-drift-with-zed2i/289/7 "2021-08-19T08:21:35Z")

</div>

Hi,

You can refer to this post [ZEDfu:Turn on OffLine leads to poor performance](https://community.stereolabs.com/t/zedfu-turn-on-offline-leads-to-poor-performance/420).

The offline mode is avaliable in the ZED tools (ZEDfu). But I’m not sure how to code with the python SDK to turn on or off the offline mode.

Hope this information is useful.

---

<div class="post-metadata">

**Author:** ![Geoffrey1500](https://community.stereolabs.com/user_avatar/community.stereolabs.com/geoffrey1500/32/184_2.png) [@Geoffrey1500](https://community.stereolabs.com/u/Geoffrey1500)\
**Post date:** [August 24, 2021, 10:43am UTC](https://community.stereolabs.com/t/huge-drift-with-zed2i/289/8 "2021-08-24T10:43:02Z")

</div>

Hi Mrassi,

Have you figured it out yet?

---

<div class="post-metadata">

**Author:** ![mrassi](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/m/e5b9ba/32.png) [@mrassi](https://community.stereolabs.com/u/mrassi)\
**Post date:** [October 30, 2021, 9:21am UTC](https://community.stereolabs.com/t/huge-drift-with-zed2i/289/9 "2021-10-30T09:21:15Z")

</div>

Nothing yet, I just downloaded the new SDK and it is still aweful
