You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Camera Model | T265
| Firmware Version | 0.2.0.951
| Operating System & Version | Win10 PRO
| Platform | PC / Tablet
| SDK Version | 2.35.2
| Language | C++
This is most probably the same issue as #6272 for which no help has been given, the same test code triggers errors on my environments - I've been observing the issue constantly on Win10 and some Philipps tablet on which we're working.
The pipeline stop procedure get stuck, from what I was able to see it's blocked in the call to WinUsb_GetOverlappedResult in usb_messenger_winusb::submit_request (line 151) of messenger-winusb.cpp - The only way to workaround the problem is to hard reset the device by unplugging and then plugging it back.
The unplug/plug situation most of the time fix the problem but it happen that even the hard reset cause issues while attempting to restart the pipeline, the function query_devices of the rs2::context returns an non empty value but an attempt to call front cause an exception to be raised (copy paste of the exception from visual studio debugger):
In this case the workaround is unplug/plug the camera and pray, sometime it works sometime it doesn't.. To be noted that those issues are reproduced also with Intel Realsense Viewer, while stopping the camera sometime the app get stuck and unplug/replug is required OR during startup I get this error:
"
Oops, something went wrong!
Io in rs2_create_device(info_list:0000028DFFCD4040, index:0):
Unable to create USB device
"
Please advise. Thanks
The text was updated successfully, but these errors were encountered:
krazycoder2k
added a commit
to krazycoder2k/librealsense
that referenced
this issue
Mar 12, 2021
This PR is effectively the suggested fix in the GH issue below. Thank you @ankyur.
IntelRealSense#7276
I've validated the fix works using the following code:
// Reproduces T265 Hand on Exit.
int main(int, char**)
{
constexpr std::chrono::seconds timeout{ 1 };
while (true)
{
// Start
rs2::config config;
rs2::pipeline pipeline;
std::cout << "Entering pipeline.start()" << std::endl;
pipeline.start();
std::cout << "Exiting pipeline.start()" << std::endl;
std::cout << "Sleeping for 1 second..." << std::endl;
std::this_thread::sleep_for(timeout);
std::cout << "Entering pipeline.stop()" << std::endl;
pipeline.stop();
std::cout << "Exiting pipeline.stop()" << std::endl;
}
return 0;
}
Suspect this fix potentially addresses the following open T265 issues as well:
IntelRealSense#7553IntelRealSense#5807IntelRealSense#6272IntelRealSense#7555IntelRealSense#7750
| Camera Model | T265
| Firmware Version | 0.2.0.951
| Operating System & Version | Win10 PRO
| Platform | PC / Tablet
| SDK Version | 2.35.2
| Language | C++
This is most probably the same issue as #6272 for which no help has been given, the same test code triggers errors on my environments - I've been observing the issue constantly on Win10 and some Philipps tablet on which we're working.
The pipeline stop procedure get stuck, from what I was able to see it's blocked in the call to WinUsb_GetOverlappedResult in usb_messenger_winusb::submit_request (line 151) of messenger-winusb.cpp - The only way to workaround the problem is to hard reset the device by unplugging and then plugging it back.
The unplug/plug situation most of the time fix the problem but it happen that even the hard reset cause issues while attempting to restart the pipeline, the function query_devices of the rs2::context returns an non empty value but an attempt to call front cause an exception to be raised (copy paste of the exception from visual studio debugger):
In this case the workaround is unplug/plug the camera and pray, sometime it works sometime it doesn't.. To be noted that those issues are reproduced also with Intel Realsense Viewer, while stopping the camera sometime the app get stuck and unplug/replug is required OR during startup I get this error:
"
Oops, something went wrong!
Io in rs2_create_device(info_list:0000028DFFCD4040, index:0):
Unable to create USB device
"
Please advise. Thanks
The text was updated successfully, but these errors were encountered: