-
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
Frame didn't arrived within 5000 - try_fetch_usb_device failed using D435 - T265 recognized #5181
Comments
@RodolfoAndrade Could you please provide the code snippet that you get the issue so that we can further support on this? Thanks! |
This is the python script we were trying to run.
Thanks for your reply! |
@RodolfoAndrade With your code snippet we couldn't reproduce the issue. Did you try other python examples in SDK package? Did you have the same issue? |
@RodolfoAndrade Could you please update? Thanks! |
Currently I am trying the rs.align cpp example code on visual studio 2017.
This is the log printed to the console:
We have updated the github repository to the 2.31.0 version and followed the compiling instruction from realsense to generate the visual studio project. We tried another example from the rs-color C code, here is the output:
Sorry for the delay. Thank you for the reply! |
@RodolfoAndrade Could you please try to configure RS2_STREAM_DEPTH and RS2_STREAM_COLOR to certain supported resolution such as 640x480 to try rs-align or rs-capture again? And did you get such issue if you run SDK examples(such as rs-align) from SDK installation package? https://github.com/IntelRealSense/librealsense/releases/download/v2.32.1/Intel.RealSense.SDK-WIN10-2.32.1.1297.exe |
We downloaded and install the new version (2.32.1.1297). The Intel RealSense Viewer works fine and the rs-align.exe found in "C:\Program Files (x86)\Intel RealSense SDK 2.0\tools" works too. But the same error occurs with the VisualStudio project on the sample folder:
We also try your suggestion to change the resolution. Here is the code:
This was the error message:
Hope this was helpful. Thanks! |
@RodolfoAndrade For depth, please modify the format from RS2_FORMAT_RGB8 to RS2_FORMAT_Z16 to try again?
|
I did the modification:
|
@RodolfoAndrade Could you please try if rs-enumerate can run successfully for your own build? And please also provide the output if it can run successfully. Thanks! |
This was the output for rs-enumerate-devices:
I hope it helps. Thanks! |
@RodolfoAndrade I didn't see any abnormal from the output of rs-enumerate-devices. Do you have both python2 and python3 installed on your system? If so, could you please try to force compilation with a specific version with -DPYTHON_EXECUTABLE= and try again? Thanks! |
@RodolfoAndrade Any update from your side? Thanks! |
@RodolfoAndrade Any other questions about this? Thanks! |
We are trying to use the Visual Studio instead of python, at the moment. But both give the same error. |
@RodolfoAndrade Sorry that I couldn't reproduce the issue here. I understood pre-built RealSenseViewer in SDK package has no problem on your setup but build from source has problem. Considering this, could you please double check if you follow the build procedure as described in https://github.com/IntelRealSense/librealsense/blob/master/doc/installation_windows.md ? |
@RodolfoAndrade Could you please update? Thanks! |
@RodolfoAndrade Any update from your side? Thanks! |
@RodolfoAndrad Sorry that we didn't hear from you for weeks, will close this issue at this point. Please create another new one if you still have issues or questions. Thanks! |
Issue Description
We are trying to run a simple realsense example for D435 and also for D415. The exception message says that "Frame didn't arrived within 5000".
The Intel RealSense Viewer works fine.
We need to run the code using python and visual studio. We tried to build from source and using the pip install pyrealsense2.
There is no issue similar to our error because we have the log message saying something about T265 while we are using D435.
Here is the console output from this line of code "rs.log_to_file(rs.log_severity.debug, file_path='./log.txt')":
04/11 16:53:26,750 DEBUG [7500] (ds5-factory.cpp:881) try_fetch_usb_device(...) failed.
04/11 16:53:26,750 DEBUG [7500] (tm-context.cpp:67) T265 query acomplished after 0 ms]
04/11 16:53:26,766 INFO [7500] (environment.cpp:85) Found 299 unreachable streams, 299 extrinsics deleted
04/11 16:53:26,917 INFO [7500] (win-helpers.cpp:86) _reader->GetNativeMediaType(sIndex, k, &pMediaType.p) returned: HResult 0xc00d36b3: "The stream number provided was invalid."
04/11 16:53:26,917 INFO [7500] (win-helpers.cpp:86) _reader->GetNativeMediaType(sIndex, k, &pMediaType.p) returned: HResult 0xc00d36b3: "The stream number provided was invalid."
04/11 16:53:26,917 INFO [7500] (win-helpers.cpp:86) _reader->GetNativeMediaType(sIndex, k, &pMediaType.p) returned: HResult 0xc00d36b3: "The stream number provided was invalid."
04/11 16:53:26,917 INFO [7500] (sensor.cpp:367) Unregistered Media formats : [ UYVY ]; Supported: [ GREY UYVY Y12I Y8I Z16 ]
04/11 16:53:26,931 INFO [7500] (win-helpers.cpp:86) _reader->GetNativeMediaType(sIndex, k, &pMediaType.p) returned: HResult 0xc00d36b3: "The stream number provided was invalid."
04/11 16:53:26,931 INFO [7500] (win-helpers.cpp:86) _reader->GetNativeMediaType(sIndex, k, &pMediaType.p) returned: HResult 0xc00d36b3: "The stream number provided was invalid."
04/11 16:53:26,931 INFO [7500] (win-helpers.cpp:86) _reader->GetNativeMediaType(sIndex, k, &pMediaType.p) returned: HResult 0xc00d36b3: "The stream number provided was invalid."
04/11 16:53:26,931 INFO [7500] (win-helpers.cpp:86) _reader->GetNativeMediaType(sIndex, k, &pMediaType.p) returned: HResult 0xc00d36b3: "The stream number provided was invalid."
04/11 16:53:26,991 INFO [7500] (win-helpers.cpp:86) _reader->GetNativeMediaType(sIndex, k, &pMediaType.p) returned: HResult 0xc00d36b3: "The stream number provided was invalid."
04/11 16:53:26,991 INFO [7500] (win-helpers.cpp:86) _reader->GetNativeMediaType(sIndex, k, &pMediaType.p) returned: HResult 0xc00d36b3: "The stream number provided was invalid."
04/11 16:53:26,991 INFO [7500] (win-helpers.cpp:86) _reader->GetNativeMediaType(sIndex, k, &pMediaType.p) returned: HResult 0xc00d36b3: "The stream number provided was invalid."
04/11 16:53:27,011 DEBUG [7500] (global_timestamp_reader.cpp:109) time_diff_keeper::start: _users_count = 1
04/11 16:53:27,023 DEBUG [7500] (global_timestamp_reader.cpp:109) time_diff_keeper::start: _users_count = 2
04/11 16:53:35,067 INFO [7500] (win-helpers.cpp:86) _reader->GetNativeMediaType(sIndex, k, &pMediaType.p) returned: HResult 0xc00d36b3: "The stream number provided was invalid."
04/11 16:53:35,067 INFO [7500] (win-helpers.cpp:86) _reader->GetNativeMediaType(sIndex, k, &pMediaType.p) returned: HResult 0xc00d36b3: "The stream number provided was invalid."
04/11 16:53:35,067 INFO [7500] (win-helpers.cpp:86) _reader->GetNativeMediaType(sIndex, k, &pMediaType.p) returned: HResult 0xc00d36b3: "The stream number provided was invalid."
04/11 16:53:35,071 DEBUG [7500] (global_timestamp_reader.cpp:120) time_diff_keeper::stop: _users_count = 1
04/11 16:53:35,579 DEBUG [7500] (global_timestamp_reader.cpp:120) time_diff_keeper::stop: _users_count = 0
04/11 16:53:35,579 DEBUG [7500] (global_timestamp_reader.cpp:123) time_diff_keeper::stop: stop object.
04/11 16:53:35,579 DEBUG [22312] (global_timestamp_reader.cpp:183) Notification: time_diff_keeper polling loop is being shut-down
The text was updated successfully, but these errors were encountered: