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

rviz没有图片显示 #11

Open
yanan002 opened this issue Apr 7, 2024 · 1 comment
Open

rviz没有图片显示 #11

yanan002 opened this issue Apr 7, 2024 · 1 comment

Comments

@yanan002
Copy link

yanan002 commented Apr 7, 2024

请问roslaunch hikrobot_camera hikrobot_camera_rviz.launch运行出来,图片话题是:/hikrobot_camera/rgb,在rviz没有图片显示是什么原因?
2024-04-07 16-26-43屏幕截图

@yongming-foxx
Copy link

yongming-foxx commented Sep 24, 2024

问题解决了吗? 碰到同样问题了, 不过我是在docker下运行的, 不知道是不是docker兼容性的原因.
rostopic echo /hikrobot_camera/rgb 显示的全是0, 那就是纯黑了. 但我打开./MVS, 显示是正常的


原因找到了. 我之前用到libusb-1.0.so.0的库, 指向了/opt/MVS/lib/64下面, 会报错. 之后我加了
export LD_LIBRARY_PATH=/lib/x86_64-linux-gnu:/opt/MVS/lib/64/:$LD_LIBRARY_PATH
现在发现, 如果把/opt/MVS/lib/64/ 放到 /lib/x86_64-linux-gnu 前面, 显示就正常了.

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