-
Notifications
You must be signed in to change notification settings - Fork 142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error opening file: /camera/image during preprocessing in direct_visual_lidar_calibration #141
Comments
我遇见了和你一样的问题,请问您是否解决了该问题 |
Hi, sorry for the late reply due to recent work commitments. I’ve actually encountered the same issue as you described. Unfortunately, I haven’t found a direct solution either. After some investigation, I believe the root cause lies in the compatibility issues between the source code and the specific versions of ROS and OpenCV. As of now, this problem cannot be resolved without modifying the original source code. I’ve already submitted a detailed issue regarding this to the original repository and am currently waiting for the maintainers to respond or push an update. That said, there is a good workaround — using Docker. If you're familiar with Docker, you’ll know that it eliminates the need to manually configure complex local environments. In fact, this reflects one of Docker’s core advantages: providing a consistent and reproducible environment across systems. Fortunately, the author has already provided an official Docker-based solution in the project’s documentation. You can simply follow those instructions to run the tool and get your calibration results without dealing with local environment issues. Hope this helps! Best regards. |
我已经提供了相关建议,希望你的问题已经解决。
祝好!
…On Fri, Mar 21, 2025 at 10:53 AM huanghuzz ***@***.***> wrote:
我遇见了和你一样的问题,请问您是否解决了该问题
—
Reply to this email directly, view it on GitHub
<#141 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BEMZQTY2U2JVZRJHLJEBZXD2VN5J5AVCNFSM6AAAAABXOHO53KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONBSGEZDCMBQHE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
[image: huanghuzz]*huanghuzz* left a comment
(koide3/direct_visual_lidar_calibration#141)
<#141 (comment)>
我遇见了和你一样的问题,请问您是否解决了该问题
—
Reply to this email directly, view it on GitHub
<#141 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BEMZQTY2U2JVZRJHLJEBZXD2VN5J5AVCNFSM6AAAAABXOHO53KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONBSGEZDCMBQHE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Issue Title:
Error opening file: /camera/image
during preprocessing indirect_visual_lidar_calibration
Description:
I am facing a recurring issue while using the
direct_visual_lidar_calibration
package to preprocess ROSbag files. The tool fails during the preprocessing step, and throws the following error:more
This issue occurs consistently when trying to preprocess ROSbag files containing the
/camera/image
or/image
topic. The error prevents me from continuing with the calibration process.Steps to Reproduce:
Run the following preprocessing command for the first ROSbag:
The tool tries to process the ROSbag
lidar_camera_data_test1.bag
and its topics:/camera/camera_info
(sensor_msgs/CameraInfo)/camera/image
(sensor_msgs/Image)/cloudpoints
(sensor_msgs/PointCloud2)The tool fails and returns the following error:
I also ran the same preprocessing command for another set of ROSbags:
The same error occurs while processing the
rosbag2_2023_03_09-13_42_46.bag
in thelivox_ros1
directory.Expected Behavior:
The preprocessing step should process the
/camera/image
or/image
topic and other selected topics successfully, without errors, and output the preprocessed data to the destination directory (/media/yao/RM/rosbag_preprocessed
).Actual Behavior:
The preprocessing fails with the error
Error opening file: /camera/image
. The tool is unable to read or process the image data from the/camera/image
or/image
topic in the ROSbag files.Troubleshooting Steps Taken:
Verified the availability and content of
/camera/image
and/image
topics:rostopic echo /camera/image
and confirmed that messages are being published.rqt_image_view
to ensure the image data is valid and visible.Checked the ROSbag file contents using
rosbag info
:/camera/image
or/image
topics in the ROSbags, and checked their message count:/camera/image
topic has 93 messages, and/cloudpoints
has 97 messages.Re-indexed the ROSbag files:
Checked file permissions:
Tried processing the files individually:
lidar_camera_data_test1.bag
file with no success:Checked for correct topic paths and message types:
rostopic type /camera/image
/camera/image
has the correctsensor_msgs/Image
type.System Information:
Logs:
Error log:
Questions:
Thank you very much !
The text was updated successfully, but these errors were encountered: