-
Notifications
You must be signed in to change notification settings - Fork 370
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
gen2-record-replay don't record disparity and depth streams on oak-d pro ff #451
Comments
Hi @AnrzejAF , |
Hi @Erol444 First attemptI've tried to record depth to rosbag Code:
Error message:
Second attemptI've tried to record depth to MCAP file Code:
Error message:
Have you idea how make this right? |
I ran into this error as well, it turns out you cannot save just the depth stream, you have to pass in both depth and color in order to get the depth bag. However, the mcap issue is really strange and I have not been able to find a solution yet. |
Hi @AnrzejAF @AJsamk , |
Hi @Erol444, Thanks for the response, I am looking to record mcap directly from the app which as you said does not work yet. Quick note, I am of course able to record mcap with the depthai-ros package. I am trying to basically just capture the raw stream output from both pipelines and ran into this neat little problem. And I found that you just have to save both depth and color streams since this is a similar issue with depthai-ros. so running However, with the PR, it seems to require python3-rospkgs as it throws a |
Hi @AJsamk , |
Hi @Erol444, Thanks for that info! I will check that since I already have a few bags. As for the record.py, as mentioned it works just fine. I was more referring to the PR solution, which threw the ModuleNotFoundError. I did install requirements and I believe the version is 1.9.3.1 (latest) A quick question, might be obvious but, is the pixel value of the raw depth stream (or disparity stream) the actual z-axis value? |
Using, say,
If I understand, this is part of ROS, but I'm just trying to do this with a simple 3-4 liner, no ROS installed. |
Same. I try to use cv_bridge to extract depth bag, but i also obtained the error No module named 'sensor_msgs' |
Yes mcap requires ros installed, please use rosbag format as it doesn't require ros to record (uses python rosbag library). |
Description
After reinstall Ubuntu 20.04 LTS i can't record depth and disparity using gen2-record-replay project
Steps to reproduce
Error
Environment
Some observation
The text was updated successfully, but these errors were encountered: