ifm / ifm3d

Library and Utilities for working with ifm pmd-based 3D ToF Cameras
https://api.ifm3d.com
Apache License 2.0
110 stars 69 forks source link

[ifm3d 1.3.3] O3R 2D intrinsic calibration values access #414

Closed desengph closed 1 year ago

desengph commented 1 year ago

When trying to access the extrinsic / intrinsic calibration values of a 2D stream, I get the following log messages.

These are logs and not explicitly raised as exceptions to ensure backward compatibility with existing code.

2023-07-20 16:07:27 ERROR [/builds/syntron/support/csr/ifm3d/ifm3d/modules/framegrabber/src/libifm3d_framegrabber/default_organizer.cpp:60] No meta chunk found! 2023-07-20 16:07:27 WARN [/builds/syntron/support/csr/ifm3d/ifm3d/modules/framegrabber/src/libifm3d_framegrabber/frame_grabber_impl.hpp:632] Bad image: std::exception**Describe the bug**

Configuration/Environment (please complete the following information):

Fix This is a known bug when accessing the ifm3d helper method Extrinsic and Intrinsic of a RGB stream. These helper methods will be fixed in future versions.

Workaround Use the RGB_INFO chunk and deserialize via its respective deserializer module: https://api.ifm3d.com/stable/_autosummary/ifm3dpy.deserialize.RGBInfoV1.html#ifm3dpy.deserialize.RGBInfoV1.intrinsic_calibration

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

BigBoot commented 1 year ago

The deserialize module is the way to access structured data going forward, the helper code for the TOFInfo chunks will be kept for backwards compatibility, but no new helper code will be added.