-
Notifications
You must be signed in to change notification settings - Fork 203
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
关于MVS_ROS包的报错 #132
Comments
您好,我已经更新了相机驱动,更新日志在News里的10月3号这条,您可以重新再pull一下试试。 |
您好,我尝试了您新修改的ros包,依然有这样的报错:
我的相机型号是MV-CU120-10UC,目前尝试了其他的包能正常打开摄像头。您知道这报错可能是什么原因导致的吗? |
你的相机只支持Bayer格式的pixel format,目前我写的那个驱动只支持RGB8,我可以更新一版适合你这款相机的driver。 |
已修复,现在把pixel format设置成BayerRG8就可以用你这个型号了 (即把参数文件中PixelFormat设置为1) |
太感谢了!昨天在您告诉我可能是pixel format的问题后,我对代码做了相应修改,发现仍然无法读取到画面。后来发现是因为在docker里运行导致的权限问题,已经能通过RGB8格式读取到画面了。再次感谢作者的支持!
|
Bayer格式就不支持相机板载的ISP处理了,例如Gamma。问题解决就好,非常感谢您的分享和支持! |
作者您好!我在noetic docker镜像里尝试运行mvs_ros_pkg时,发现打不开相机并有如下循环报错:
[mvs_camera_trigger-2] restarting process
process[mvs_camera_trigger-2]: started with pid [1373]
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
[mvs_camera_trigger-2] process has died [pid 1373, exit code -6, cmd /data/mvs/devel/lib/mvs_ros_pkg/grabImgWithTrigger /data/mvs/src/mvs_ros_pkg/config/left_camera_trigger.yaml __name:=mvs_camera_trigger __log:=/root/.ros/log/7e825ec6-7cb7-11ef-a211-0242ac110002/mvs_camera_trigger-2.log].
log file: /root/.ros/log/7e825ec6-7cb7-11ef-a211-0242ac110002/mvs_camera_trigger-2*.log
[mvs_camera_trigger-2] restarting process
process[mvs_camera_trigger-2]: started with pid [1379]
^Cterminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
我已经修改了正确的相机序号,并在其他的MVS_ros_pkg上打开了相机验证相机是好的,请问您知道这报错可能是什么原因导致的吗?
希望能得到回复,再次感谢!!!
The text was updated successfully, but these errors were encountered: