# GEN 3 Positional Tracking does not work if tracking\_parameters.enable\_imu\_fusion is set to True

**URL:** <https://community.stereolabs.com/t/gen-3-positional-tracking-does-not-work-if-tracking-parameters-enable-imu-fusion-is-set-to-true/11361>\
**Category:** Python\
**Tags:** slam, python, sdk\
**Created:** [May 27, 2026, 5:13pm UTC](https://community.stereolabs.com/t/gen-3-positional-tracking-does-not-work-if-tracking-parameters-enable-imu-fusion-is-set-to-true/11361 "2026-05-27T17:13:37Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Riccardo](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/r/ce7236/32.png) [@Riccardo](https://community.stereolabs.com/u/Riccardo)\
**Post date:** [May 27, 2026, 5:13pm UTC](https://community.stereolabs.com/t/gen-3-positional-tracking-does-not-work-if-tracking-parameters-enable-imu-fusion-is-set-to-true/11361/1 "2026-05-27T17:13:37Z")

</div>

Testing the “position tracking” python example from SDK 5.3, it fails: the translation is always 0.0, and this warning appears frequently:

`[2026-05-27 18:22:34 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.`

if imu fusion is turned off, it works, if GEN 1 is used with imu on, it works.

---

<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:** [May 28, 2026, 10:01am UTC](https://community.stereolabs.com/t/gen-3-positional-tracking-does-not-work-if-tracking-parameters-enable-imu-fusion-is-set-to-true/11361/2 "2026-05-28T10:01:40Z")

</div>

Hi @Riccardo  
Welcome to the [StereoLabs](https://www.stereolabs.com/) community.

Please try to launch the ZED Sensor Viewer tool and let me know if it provides valid data feeds.  
Please send a few screenshots or a screen recording.

---

<div class="post-metadata">

**Author:** ![Riccardo](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/r/ce7236/32.png) [@Riccardo](https://community.stereolabs.com/u/Riccardo)\
**Post date:** [May 29, 2026, 7:14am UTC](https://community.stereolabs.com/t/gen-3-positional-tracking-does-not-work-if-tracking-parameters-enable-imu-fusion-is-set-to-true/11361/3 "2026-05-29T07:14:06Z")

</div>

Hello,  
Unfortunaly i cannot upload media it seems, as I am a new user. IMU seems to work fine in the Sensor Viewer, in fact GEN\_1 with IMU fusion works, the problem is IMU fusion with GEN\_3 only,

thanks for your help!

---

<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:** [May 29, 2026, 9:44am UTC](https://community.stereolabs.com/t/gen-3-positional-tracking-does-not-work-if-tracking-parameters-enable-imu-fusion-is-set-to-true/11361/4 "2026-05-29T09:44:16Z")

</div>

Can you please share the full log with GEN\_3

---

<div class="post-metadata">

**Author:** ![Riccardo](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/r/ce7236/32.png) [@Riccardo](https://community.stereolabs.com/u/Riccardo)\
**Post date:** [May 29, 2026, 9:49am UTC](https://community.stereolabs.com/t/gen-3-positional-tracking-does-not-work-if-tracking-parameters-enable-imu-fusion-is-set-to-true/11361/5 "2026-05-29T09:49:22Z")

</div>

Sure, this is the log of the positional tracking example:

```auto

python /usr/local/zed/samples/positional\ tracking/positional\ tracking/python/positional_tracking.py

================================================================================
ZED Positional Tracking

[Sample] Positional tracking mode: Explore (default)

[2026-05-29 11:46:29 UTC][ZED][INFO] Logging level INFO
[2026-05-29 11:46:29 UTC][ZED][INFO] Using USB input… Switched to default resolution HD720
[2026-05-29 11:46:30 UTC][ZED][INFO] [Init] Camera successfully opened.
[2026-05-29 11:46:30 UTC][ZED][INFO] [Init] Camera FW version: 1523
[2026-05-29 11:46:30 UTC][ZED][INFO] [Init] Video mode: HD720@30
[2026-05-29 11:46:30 UTC][ZED][INFO] [Init] Serial Number: S/N 10027835
[2026-05-29 11:46:30 UTC][ZED][INFO] [Init] Depth mode selected: NEURAL. Ensure this mode matches your application’s performance and accuracy requirements. See 
 for help.

================================================================================
Positional Tracking Parameters

[Sample] set_floor_as_origin false
[Sample] set_gravity_as_origin true
[Sample] enable_area_memory true
[Sample] enable_pose_smoothing false
[Sample] enable_imu_fusion true
[Sample] set_as_static false
[Sample] depth_min_range -1.0
[Sample] enable_2d_ground_mode false
[Sample] mode GEN 3

================================================================================
Interaction

[Sample] ‘space’ to toggle camera view visibility
[Sample] ‘d’ to switch background color from dark to light
[Sample] ‘p’ to enable / disable current live point cloud display
[Sample] ‘l’ to enable / disable landmark display
[Sample] ‘f’ to follow the camera
[Sample] ‘z’ to reset the view
[Sample] ‘ctrl’ + drag to rotate
[Sample] ‘esc’ to exit

[2026-05-29 11:46:32 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:33 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:34 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:34 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:38 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:38 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:39 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:39 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:40 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:40 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:41 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:41 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:42 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:42 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:42 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:43 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:43 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:44 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:45 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:45 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:46 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:46 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:47 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:48 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:48 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:49 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:50 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:50 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.
[2026-05-29 11:46:51 UTC][ZED][WARNING] Initial IMU prior rotation seems to be wrong, resetting positional tracking with a better prior.

```

I can see in the viewer the camera rotating with a stocking behavior (it stops whenever that warning appears), but the position is fixed in the origin and never changes.

---

<div class="post-metadata">

**Author:** ![Riccardo](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/r/ce7236/32.png) [@Riccardo](https://community.stereolabs.com/u/Riccardo)\
**Post date:** [May 29, 2026, 9:54am UTC](https://community.stereolabs.com/t/gen-3-positional-tracking-does-not-work-if-tracking-parameters-enable-imu-fusion-is-set-to-true/11361/6 "2026-05-29T09:54:15Z")

</div>

This is a recording of the screen

---

<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:** [May 29, 2026, 3:48pm UTC](https://community.stereolabs.com/t/gen-3-positional-tracking-does-not-work-if-tracking-parameters-enable-imu-fusion-is-set-to-true/11361/7 "2026-05-29T15:48:06Z")

</div>

You should give the module time to initialize the Inertial fusion.

Furthermore, the light in the environment looks very low, making it hard to detect good visual features to be tracked.

---

<div class="post-metadata">

**Author:** ![Riccardo](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/r/ce7236/32.png) [@Riccardo](https://community.stereolabs.com/u/Riccardo)\
**Post date:** [May 29, 2026, 3:52pm UTC](https://community.stereolabs.com/t/gen-3-positional-tracking-does-not-work-if-tracking-parameters-enable-imu-fusion-is-set-to-true/11361/8 "2026-05-29T15:52:57Z")

</div>

it has been tested in a lot of different conditions, and also pointing to texture rich scenes with a lot of light. What do you mean about give time to the module to initialize? I tried waiting a couple of seconds before moving the camera but this does not change the result

---

<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:** [May 29, 2026, 4:24pm UTC](https://community.stereolabs.com/t/gen-3-positional-tracking-does-not-work-if-tracking-parameters-enable-imu-fusion-is-set-to-true/11361/9 "2026-05-29T16:24:43Z")

</div>

Please use ZED Explorer to record an SVO file under the same conditions and share it with me.  
One minute of recording is enough.

---

<div class="post-metadata">

**Author:** ![Riccardo](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/r/ce7236/32.png) [@Riccardo](https://community.stereolabs.com/u/Riccardo)\
**Post date:** [June 1, 2026, 6:59am UTC](https://community.stereolabs.com/t/gen-3-positional-tracking-does-not-work-if-tracking-parameters-enable-imu-fusion-is-set-to-true/11361/10 "2026-06-01T06:59:53Z")

</div>

Here is the SVO, It’s too big to be directly uplaoded here:

> **[Dropbox](https://www.dropbox.com/scl/fi/441fdhrrca8pso3q4rq6r/HD720_SN10027835_08-50-31.svo2?rlkey=sa8jgd8ralwg1i5vudx76lyoe&st=wm4gda57&dl=0)**

---

<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:** [June 3, 2026, 12:45pm UTC](https://community.stereolabs.com/t/gen-3-positional-tracking-does-not-work-if-tracking-parameters-enable-imu-fusion-is-set-to-true/11361/11 "2026-06-03T12:45:58Z")

</div>

Hi @Riccardo  
I analyzed the SVO file with samples and ZED Tools, and I cannot find anything weird about it.

I shared the SVO and the other details with the ZED SDK team to verify why this “hiccup” problem happens.

I also recommend you test your camera with the ZED SDK v5.3.1, which will be released in the next few days.

---

<div class="post-metadata">

**Author:** ![Riccardo](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/r/ce7236/32.png) [@Riccardo](https://community.stereolabs.com/u/Riccardo)\
**Post date:** [June 3, 2026, 2:38pm UTC](https://community.stereolabs.com/t/gen-3-positional-tracking-does-not-work-if-tracking-parameters-enable-imu-fusion-is-set-to-true/11361/12 "2026-06-03T14:38:18Z")

</div>

ok, I will test with the new release and let you know, thanks!!

---

<div class="post-metadata">

**Author:** ![Riccardo](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/r/ce7236/32.png) [@Riccardo](https://community.stereolabs.com/u/Riccardo)\
**Post date:** [June 8, 2026, 1:56pm UTC](https://community.stereolabs.com/t/gen-3-positional-tracking-does-not-work-if-tracking-parameters-enable-imu-fusion-is-set-to-true/11361/13 "2026-06-08T13:56:33Z")

</div>

Hello,

The new release did not solve the problem

---

<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:** [June 8, 2026, 3:56pm UTC](https://community.stereolabs.com/t/gen-3-positional-tracking-does-not-work-if-tracking-parameters-enable-imu-fusion-is-set-to-true/11361/14 "2026-06-08T15:56:39Z")

</div>

Hi @Riccardo  
Thank you for all the details.  
The ZED SDK team is analyzing the problem and will fix it in one of the next releases.
