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

《ROS二维码识别应用指南》代码无法使用 #1

Open
ghost opened this issue Apr 22, 2021 · 7 comments
Open

《ROS二维码识别应用指南》代码无法使用 #1

ghost opened this issue Apr 22, 2021 · 7 comments

Comments

@ghost
Copy link

ghost commented Apr 22, 2021

image
代码无法使用

@huchunxu
Copy link
Contributor

huchunxu commented Apr 22, 2021 via email

@ghost
Copy link
Author

ghost commented Apr 24, 2021

先说声谢谢!
现在qr_tf可以正常编译了,不过在运行时遇到了新的问题.
image

经过查找是以下函数报错
image
猜测是摄像头的问题,已经购买了新的摄像头.
请问您认为是什么原因导致了错误?
谢谢!

@ghost
Copy link
Author

ghost commented Apr 24, 2021

查找资料得知错误是因为没有加载摄像头标定参数的配置文件,于是使用camera_calibration工具生成ost.yaml格式的文件,替换到qr_tf.launch中args="$(find qr_tf)/../data/param/ost.yaml(其中文件夹路径已创建),仍无法操作
image
image
还请老师帮忙查看一下原因。
最后,想问一下原始代码中的out_camera_data.xml和sampleread.txt文件分别都是什么含义,如何生成这些文件?
谢谢!

@huchunxu
Copy link
Contributor

huchunxu commented Apr 24, 2021 via email

@huchunxu
Copy link
Contributor

huchunxu commented Apr 24, 2021 via email

@ghost
Copy link
Author

ghost commented Apr 25, 2021 via email

@Darren-dh
Copy link

你好,我也存在上面的报错信息,摄像头的标定参数文件xml也加载进路径,仍然报错invalid错误,请帮忙解决

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

2 participants