Issues with Opening Bag Files with Open3D After Calibration
After successfully calibrating a camera setup, I have been attempting to use Open3D to open and process Bag files containing point cloud data generated from this setup. However, I have run into several issues that have been impeding my progress. These issues seem to be related to the way Bag files are being interpreted and processed within the Open3D framework.
[Open3D WARNING] Unable to open file C:/Users/zazou/Documents/20231009_172627.bag
Traceback (most recent call last):
File c:\users\zazou\appdata\local\programs\python\python39\lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec
exec(code, globals, locals)
File c:\users\zazou\.spyder-py3\temp.py:9
bag_reader.save_frames(output_path,0,18446744073709551615)
RuntimeError: [Open3D Error] (void __cdecl open3d::t::io::RGBDVideoReader::SaveFrames(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,unsigned __int64,unsigned __int64)) D:\a\Open3D\Open3D\cpp\open3d\t\io\sensor\RGBDVideoReader.cpp:37: Null file handler. Please call Open().
[Open3D Error] (void __cdecl open3d::t::io::RGBDVideoReader::SaveFrames(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,unsigned __int64,unsigned __int64)) D:\a\Open3D\Open3D\cpp\open3d\t\io\sensor\RGBDVideoReader.cpp:37: Null file handler. Please call Open().
-
Hi Dimouzoi The official Open3D documentation page at the link below provides guidance about reading RealSense bag files with Open3D.
http://www.open3d.org/docs/release/tutorial/sensor/realsense.html#reading-from-realsense-bag-files
It can read bag files recorded in the RealSense Viewer tool or in Open3D but does not support rosbag files recorded in ROS.
-
Usually, the calibration of camera hardware should not have a bearing on the reading of bag files, since only data already stored in the bag is being accessed and not the details of the live camera.
Does the error still occur if the camera is unplugged when reading the bag file?
How long ago were your bag files recorded?
Please sign in to leave a comment.
Comments
4 comments