Error executing the sample code for DWS
Hi,
I am using the L515 with DWS. I have the setup in place and using the "RealSense DWS_Viewer" am able to calibrate the camera and measure boxes.
But executing the sample code, gives a few errors Failed to resolve the request, Failed to identify base surface and Command not found. Below is the logs from the code execution. Am executing the sample code as-is, without any modifications. Is there something else that needs to be configured for running the sample code ?
[2021-01-06 17:28:02.982] [] [info] [DWSSDK] Attempt to initialize wrapper with handle = -1
[2021-01-06 17:28:02.983] [] [debug] [DWSSDK] Get num of connected devices...
[2021-01-06 17:28:03.123] [DWSSDK] [info] [DWSSDK] LOG CREATED
[2021-01-06 17:28:03.123] [DWSSDK] [info] [DWSSDK] SDK created with mode=0
[2021-01-06 17:28:03.123] [DWSSDK] [info] [DWSSDK] RGB stream: 1
[2021-01-06 17:28:03.123] [DWSSDK] [info] [DWSSDK] GYRO stream: 1
[2021-01-06 17:28:03.124] [DWSSDK] [info] [DWSSDK] OMP threads: 8
[2021-01-06 17:28:03.124] [DWSSDK] [info] [DWSSDK] SDK_create
[2021-01-06 17:28:03.124] [DWSSDK] [info] [DWSSDK] looking for files in: C:\anoop\realsesense\sample\Configuration\static_mode_config.json
[2021-01-06 17:28:03.125] [DWSSDK] [info] [DWSSDK] Successfully parsed configuration
[2021-01-06 17:28:03.126] [DWSSDK] [debug] [DWSSDK] check rs2::context...
[2021-01-06 17:28:03.127] [DWSSDK] [info] [DWSSDK] Preparing background worker...
[2021-01-06 17:28:03.127] [DWSSDK] [info] [DWSSDK] Initializing player...
[2021-01-06 17:28:03.643] [DWSSDK] [info] [STREAM] Prepare LibRealsense terminal...
[2021-01-06 17:28:03.645] [DWSSDK] [info] [STREAM] Prepare LibRealsense terminal... DONE
[2021-01-06 17:28:04.650] [DWSSDK] [error] [STREAM]
Failed to resolve the request:
Format: Z16, width: 640, height: 480
Format: Y8, width: 640, height: 480
Into:
Formats:
Y8
Z16
[2021-01-06 17:28:04.713] [DWSSDK] [info] [DWSSDK] Initializing player... DONE
[2021-01-06 17:28:04.723] [DWSSDK] [info] [DWSSDK] CALIBRATION LOG CREATED
[2021-01-06 17:28:04.724] [DWSSDK] [info] [BM_API] No floor calibration data detected. Creating new initialization flow.
[2021-01-06 17:28:06.623] [DWSSDK] [info] [DWSSDK] Starting floor calibration
[2021-01-06 17:28:06.633] [DWSSDK] [info] [DWSSDK] Pulling frames for MW...
[2021-01-06 17:28:06.734] [DWSSDK] [info] [DWSSDK] Pulling frames for MW...
[2021-01-06 17:28:06.835] [DWSSDK] [info] [DWSSDK] Pulling frames for MW...
[2021-01-06 17:28:06.936] [DWSSDK] [info] [DWSSDK] Pulling frames for MW...
[2021-01-06 17:28:07.037] [DWSSDK] [info] [DWSSDK] Pulling frames for MW...
[2021-01-06 17:28:07.138] [DWSSDK] [info] [DWSSDK] Pulling frames for MW...
[2021-01-06 17:28:07.239] [DWSSDK] [info] [DWSSDK] Pulling frames for MW...
[2021-01-06 17:28:07.340] [DWSSDK] [info] [DWSSDK] Pulling frames for MW...
[2021-01-06 17:28:07.441] [DWSSDK] [info] [DWSSDK] Pulling frames for MW...
[2021-01-06 17:28:07.542] [DWSSDK] [info] [DWSSDK] Pulling frames for MW...
[2021-01-06 17:28:07.643] [DWSSDK] [info] [DWSSDK] Pulling frames for MW...
[2021-01-06 17:28:07.744] [DWSSDK] [info] [DWSSDK] Pulling frames for MW...
[2021-01-06 17:28:07.744] [DWSSDK] [error] [DWSSDK] Failed to identify base surface
Severity: 2, Code: 5, Failed to identify base surface
[2021-01-06 17:28:07.747] [DWSSDK] [info] [DWSSDK] dws_stop called
[2021-01-06 17:28:07.748] [DWSSDK] [info] [DWSSDK] pause called. soft stop = FALSE
[2021-01-06 17:28:07.748] [DWSSDK] [info] [DWSSDK] stop: Locking mutex_process...
[2021-01-06 17:28:07.749] [DWSSDK] [info] [BM_API] Stoping MW engine...
[2021-01-06 17:28:07.766] [DWSSDK] [info] [DWSSDK] Waiting on worker thread...
[2021-01-06 17:28:07.847] [DWSSDK] [info] [DWSSDK] Waiting on worker thread... DONE
[2021-01-06 17:28:07.847] [DWSSDK] [info] [DWSSDK] stop: Locking mutex_process... UNLOCKED
[2021-01-06 17:28:07.876] [DWSSDK] [info] [STREAM] ======================
[2021-01-06 17:28:07.876] [DWSSDK] [info] [STREAM] Attempt to tun script: C:\anoop\realsesense\sample\Configuration\logState.txt
[2021-01-06 17:28:07.877] [DWSSDK] [info] [STREAM] > irb e2 09 1 // laser modulation limit
[2021-01-06 17:28:07.891] [DWSSDK] [info] [STREAM] Offset: 0x0 => 2E
[2021-01-06 17:28:07.892] [DWSSDK] [info] [STREAM] > irb e2 0a 1 // laser modulation limit
[2021-01-06 17:28:07.906] [DWSSDK] [info] [STREAM] Offset: 0x0 => 2E
[2021-01-06 17:28:07.906] [DWSSDK] [info] [STREAM] > mrd a00e1890 a00e1894 // invalidation configuration
[2021-01-06 17:28:07.921] [DWSSDK] [info] [STREAM] Offset: 0x0 => 00000000
[2021-01-06 17:28:07.922] [DWSSDK] [info] [STREAM] > mrd a00e1600 a00e1604 // edges configuration
[2021-01-06 17:28:07.935] [DWSSDK] [info] [STREAM] Offset: 0x0 => 00000100
[2021-01-06 17:28:07.935] [DWSSDK] [info] [STREAM] > mrd a00e1894 a00e1898 // Confidence configuration
[2021-01-06 17:28:07.950] [DWSSDK] [info] [STREAM] Offset: 0x0 => 00000003
[2021-01-06 17:28:07.950] [DWSSDK] [info] [STREAM] > mrd a00e0b0c a00e0b10 // Sharpness configuration
[2021-01-06 17:28:07.963] [DWSSDK] [info] [STREAM] Offset: 0x0 => 0000000C
[2021-01-06 17:28:07.964] [DWSSDK] [info] [STREAM] > mrd a0020ca8 a0020cac // Rast configuration
[2021-01-06 17:28:07.977] [DWSSDK] [info] [STREAM] Offset: 0x0 => 00000000
[2021-01-06 17:28:07.977] [DWSSDK] [info] [STREAM] > apd_flyback_values_get // Get flyback values
[2021-01-06 17:28:07.991] [DWSSDK] [info] [STREAM] state: 5
isDataValid: 1
reserved16: D905
vSenseReq: EB01
pwmValue: BD03
tSenseRead: E101
vSenseRead: EB01
tSenseC: 41.61546326
vSeneseReadV: -149.3220062
reqV: -149.2323151
[2021-01-06 17:28:07.991] [DWSSDK] [info] [STREAM] > RdCalibInfo 12
[2021-01-06 17:28:07.991] [DWSSDK] [error] [STREAM] Command not found!
[2021-01-06 17:28:07.992] [DWSSDK] [info] [STREAM] ======================
-- Anoop
Please sign in to leave a comment.
Comments
6 comments