Skip to content
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

segmentation fault问题 #23

Open
EDISION654 opened this issue Jun 10, 2022 · 4 comments
Open

segmentation fault问题 #23

EDISION654 opened this issue Jun 10, 2022 · 4 comments

Comments

@EDISION654
Copy link

您好,我在使用该标定工具时,首先load导入了自己标定的相机内参参数文件××.yml,然后grab抓取几帧图像和点云,随后点击calibrate时,界面直接闪退,终端显示“segmentation fault”的错误,请问您有遇到这种问题吗?应该怎么解决?(###需要注意的是,如果我不导入参数文件.yml,而是直接使用工具箱标定,就不会出现该问题###)

@XidianLemon
Copy link
Owner

你看一下他源码,你点击load后,是load的内参还是外参?

@EDISION654
Copy link
Author

你看一下他源码,你点击load后,是load的内参还是外参?

谢谢,刚刚解决了,是因为我的内参参数文件格式不太对,将文件里边的内容换一种格式就可以了

@635583042qq
Copy link

你看一下他源码,你点击load后,是load的内参还是外参?

谢谢,刚刚解决了,是因为我的内参参数文件格式不太对,将文件里边的内容换一种格式就可以了

你好,我有和你完全相同的问题,请问你是怎么解决的?
这是我的内参文件

%YAML:1.0
image_width: 1280
image_height: 720
camera_name: azure_kinect_rgb_000196510112_720P
camera_matrix:
rows: 3
cols: 3
data: [627.6337963215734, 0, 637.189892909263, 0, 626.014014861412, 369.9373624897506, 0, 0, 1]
distortion_model: plumb_bob
distortion_coefficients:
rows: 1
cols: 5
data: [0.07552436876296009, -0.03923568674123849, -0.00116089571320173, -0.004003313226075624, 0]
rectification_matrix:
rows: 3
cols: 3
data: [1, 0, 0, 0, 1, 0, 0, 0, 1]
projection_matrix:
rows: 3
cols: 4
data: [650.5157470703125, 0, 629.6588374940256, 0, 0, 652.0531616210938, 368.8449774199471, 0, 0, 0, 1, 0]

Hi, I have the exact same problem as you, how did you solve it?
This is my internal reference file

@EDISION654
Copy link
Author

你好,你的内参文件看起来应该是ROS标定后直接生成的文件,可以参考以下这种格式把对应的参数填写进去,然后再测试一下是否可以运行
Uploading camera.jpg…

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

No branches or pull requests

3 participants