Skip to content

Conversation

@KmakD
Copy link

@KmakD KmakD commented Oct 10, 2025

Overview

Author: Dawid Kmak

Issue

Issue link (if present): #742
Issue description: Disparity to depth conversion uses wrong focal length

Changes

ROS distro: Jazzy
List of changes:

  • Add focalLength param to convertDispToDepth function
  • Use left camera focal length for conversion

Testing

Hardware used: OAK-D-PRO-W-POE
Depthai library version: ros-jazzy-depthai/noble,now 2.30.0-1noble.20250424.110737 amd64

Visuals from testing

Measured distance to object: 600mm

Before:
image
After:
image |

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant