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

如何获得cyberdog2前方realsense2深度相机的图像数据 #38

Open
lyfeng001 opened this issue May 7, 2024 · 2 comments
Open

Comments

@lyfeng001
Copy link

需求:获得realsense2深度相机的图像数据。
已知:已根据文档中:https://miroboticslab.github.io/blogs/#/cn/cyberdog_camera_cn进行测试,运行:

ros2 run camera_test stereo_camera ros2 lifecycle set /stereo_camera configure ros2 lifecycle set /stereo_camera activate

之后,节点topic中会有一段时间有图像数据,等待一两秒后开始报错:

(NvCapture) Error Timeout: capture waiting for status timeout (in /dvs/git/dirty/git-master_linux/camera/capture/nvcapture/capture_hw_linux.c, function NvCaptureLinuxGetCaptureStatus(), line 362) (NvCapture) Error Timeout: (propagating from /dvs/git/dirty/git-master_linux/camera/capture/nvcapture/capture.c, function NvCaptureDequeue(), line 1055) SCF: Error Timeout: (propagating from src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 898) SCF: Error InvalidState: Timeout waiting on frame end sensor guid 1, capture sequence ID = 6, channel = 1/1 (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 905) SCF: Error InvalidState: Something went wrong with waiting on frame end (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 991) [INFO] [1715089993.064218141] [RGBStream]: processBuffer: [camera2] 0.64 frames per second SCF: Error InvalidState: Timeout waiting on frame start sensor guid 1, capture sequence ID = 6 (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 1018) SCF: Error InvalidState: Something went wrong with waiting on frame start (in src/services/capture/NvCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 1077)

并且topic echo不出图像数据
在本仓库中也未找到相机有关的代码?不知在什么位置?
用什么方法可以直接获取其图像数据,或者该error应当怎样解决?

@wgiaonima
Copy link

我遇到了同样的问题,请问这个问题最终有解决办法吗?

@lyfeng001
Copy link
Author

暂时还没有解决方案

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