-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Recording both infrared streams via the Python wrapper #3878
Comments
@realsens01 , this commonly occurs when the device is enumerated as USB2. As with USB2 the device is designed to provide only a subset of streaming modes. The other less common reason is that device's "advanced mode" is being turned off. Both tools will display the "advanced mode" status, with the Viewer being also able to toggle it if necessary. |
Thanks @ev-mp . I used Realsense Viewer to confirm that the device is recognized as USB 3.0 and that advanced mode is enabled. The problem persists. Here is some sample output in an IPython terminal:
I got the same result using indices 1 and 2, instead of 0 and 1. Fwiw, here are the available stream profiles:
|
This issue might be the same as #3885 |
Any suggestions @RealSenseCustomerSupport? I'd really like to be recording this data. |
From your video profile output it does looks like the Advanced mode is not enabled. |
Both of these things were already stated in this short thread. EDIT: What about the profile output tells you that Advanced Mode is not enabled? That might be helpful information. |
@RealSenseCustomerSupport : Why would you close this? This is the 3rd issue that I've had that you've closed without resolving. |
I stumbled across the following that seems to work. The upshot is that the IR cameras are numbered 1 and 2, not 0 and 1 (in the calls to enable_streams).
|
Here is an explicit way to configure color, depth and IR streams specifically for D455
|
Issue Description
Using the Python API, I would like to record a bag file that contains both IR streams. I thought this would be straightforward, based on prior experience, but something is going wrong. My code is very simple: it uses a config object to enable the streams that I'm interested in recording from, and then passes the config to pipeline.start. It works, in general, but fails when I try to add a second IR stream (telling me that there is a problem enabling a stream). What can I do?
Some notes:
rs2.context().devices[0].sensors[0].profiles
contains profiles forInfrared(1)
and depth only. There are no other infrared streams. I'm not sure if this is relevant.The text was updated successfully, but these errors were encountered: