IntelRealSense / librealsense

Intel® RealSense™ SDK
https://www.intelrealsense.com/
Apache License 2.0
7.62k stars 4.83k forks source link

Calibration tool GUI: Error (9998): Unknown #7496

Closed roelofvandijk closed 4 years ago

roelofvandijk commented 4 years ago
Required Info
Camera Model D415
Firmware Version 05.12.07.100
Operating System & Version Win 10 /
Platform PC
SDK Version 2.38.1
Language Calibration tool GUI/CLI
Segment Calibration

Issue Description

I have a D415 with FW 05.12.07.100. The images display fine in the viewer, and the calibrations inside the RealSense viewer all work. I use the original cable and the RealSense viewer and rs-enumerate-devices recognize the camera on USB 3.2.

I have also tested it with D435 and it also fails.

However, the Dynamic Calibration Tool (v2.11.0.0) does not work at all (in GUI and CLI).

Output from the CLI:

Serial Number: censored
Device Name: Intel RealSense D415
Device PID:  0AD3
FW version:  05.12.07.100

Calibration Type: Targeted
Laser Power: On
Auto Exposure: On
AE SetPoint: Auto
Target images: 15
Target and device orientation aligned: No
Skip rgb calibration: No
Initializing GL ...
display size: 1920,1080 with aspect ratio 1.77778
window size: 1440,810 with aspect ratio 1.77778
Launching graphical view ...
Streamming Resolution: 1280x720 at 30(fps)
disable AUTO_EXPOSURE_PRIORITY to ensure frame sync between rgb and depth/left/right sensors

Error (9998): Unknown

Output from the GUI (program remains in the starting screen, no images).

image

I have reinstalled the firmware, the SDK, the calibration tool, and the windows drivers to no avail. I have also tried the newest firmware (5.12.8.200).

MartyG-RealSense commented 4 years ago

Hi @roelofvandijk As you already have the Dynamic Calibrator tool installed, a tool called CustomRW should also be installed. Could you try launching the tool with the command below please to perform a Gold Reset of the camera. This resets the camera to its factory-new configuration and may also fix the problem of a corrupted 'calibration table' inside the camera if the table is damaged:

Intel.Realsense.CustomRW -g

roelofvandijk commented 4 years ago

Thank you for your reply.

After uninstalling everything, including the RealSense Depth and RGB camera in the device manager and deleting the driver, and then reconnecting the RealSense, the calibration works.

I think it is highly unlikely that both camera's (D415 and D435) were both corrupted and think it is an issue with the Windows driver. I'll try to reproduce it.

roelofvandijk commented 4 years ago

I have reproduced the problem with both cameras (D415, FW 05.12.07.100 and D435, FW 05.12.07.100).

Clean PC:

MartyG-RealSense commented 4 years ago

You do not need to have the UWP driver installed to use RealSense. It is used for providing RealSense support when attempting to interface with products that use Microsoft's Universal Windows Platform (UWP), such as the Microsoft Hololens headset. For this reason, most RealSense users do not need it. There was a case reported in the past week where a user of the RealSense Unity wrapper found that their project crashed if the UWP driver was installed. Removing the UWP driver fixed the problem.

roelofvandijk commented 4 years ago

That makes sense, I just followed the recommended table here: https://dev.intelrealsense.com/docs/firmware-releases

Thanks for your help.

MartyG-RealSense commented 4 years ago

Hi @roelofvandijk Do you require further assistance with this case, please? Thanks!

roelofvandijk commented 4 years ago

Hello @MartyG-RealSense, thanks for asking. I currently don't need any assistence as it works without the UWP driver, but I do consider this a bug.

MartyG-RealSense commented 4 years ago

A bug report for the issue with this particular UWP driver version has already been filed with Intel. If you do not need further assistance then I will close this case. Thanks again!

crisp7777 commented 2 years ago

Thanks for the hint regarding removing UWP-driver for calibration. The bug is still present in newer release UWP 6.1.160.22. I had the same issue where I got the 9998 error during calibration attempt but when I removed the UWP-driver it worked like a charm.