# ZED-X IMU Calibration

**URL:** <https://community.stereolabs.com/t/zed-x-imu-calibration/7316>\
**Category:** ZED X\
**Tags:** sdk\
**Created:** [October 25, 2024, 3:54pm UTC](https://community.stereolabs.com/t/zed-x-imu-calibration/7316 "2024-10-25T15:54:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Waelyn](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/w/9fc29f/32.png) [@Waelyn](https://community.stereolabs.com/u/Waelyn)\
**Post date:** [October 25, 2024, 3:54pm UTC](https://community.stereolabs.com/t/zed-x-imu-calibration/7316/1 "2024-10-25T15:54:43Z")

</div>

Hi folks,

I’ve been getting some weird drifting behavior with my ZED X position tracking. It looked possibly IMU related, so I went to go re-calibrate my IMU and I’m getting this with SDK 4.2.1:

```auto
$ /usr/local/zed/tools/ZED_Calibration --cimu
Detecting devices....
Failed to detect Camera model

```

If I roll back my SDK version to 4.1.4 I get this:

```auto
$ /usr/local/zed/tools/ZED_Calibration --cimu
Detecting devices....
--> ZED-X(M) Found
############## Starting Calibration ... Camera must stay still... please wait until finished ##############
--> Opening ZED-X(M) IMU...
 Creating new bias
  <|> OLD Bias Acc : 0 0 0
  <|> OLD Bias Gyro : 0.000228536 0.000205408 -0.000318063
--> Reset Online Bias in memory .... 
  <|> NEW Bias Acc : 0 0 0
  <|> NEW Bias Gyro : 0 0 0
Done.

```

Which on one hand is good, it’s opening and writing new biases, but it’s writing all zeros which _has_ to be wrong. If I unplug the camera, plug it back in, and restart the daemon the “old bias” values are now zero not the factory calibration numbers so they definitely were written to the camera.

I’ve tested the above with both the 1.0.5 zed x driver on Jetpack 5.1.2 and the 1.1.1 driver on Jetpack 6.

So I guess 2 questions, 1) Is this supposed to work for the ZED-X? And 2) Is there a way to recover the factory calibration at least if manual doesn’t work?

---

<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:** [October 28, 2024, 10:59am UTC](https://community.stereolabs.com/t/zed-x-imu-calibration/7316/2 "2024-10-28T10:59:20Z")

</div>

Hi @Waelyn  
thank you for reporting this problem.  
It has been noted and it will be fixed in one of the next SDK patches.
