Yeah. If I run the example depth_viewer.py, I get this:
(orbbec) llorentelab@llorentelab-desktop:~/Desktop/pyorbbecsdk/examples$ python3 depth_viewer.py
[07/19 11:19:23.428976][info][17913][Context.cpp:68] Context created with config: /home/llorentelab/Desktop/pyorbbecsdk/config/OrbbecSDKConfig_v1.0.xml
[07/19 11:19:23.428986][info][17913][Context.cpp:73] Work directory=/home/llorentelab/Desktop/pyorbbecsdk/examples, SDK version=v1.10.8-20240604-d1671a3
[07/19 11:19:23.428997][info][17913][LinuxPal.cpp:32] createObPal: create LinuxPal!
[07/19 11:19:23.588122][info][17913][LinuxPal.cpp:143] Create PollingDeviceWatcher!
[07/19 11:19:23.588137][info][17913][DeviceManager.cpp:15] Current found device(s): (1)
[07/19 11:19:23.588142][info][17913][DeviceManager.cpp:24] - Name: Femto Bolt, PID: 0x066b, SN/ID: CL8K14101JD, Connection: USB3.1
[07/19 11:19:23.588160][info][17913][Pipeline.cpp:15] Try to create pipeline with default device.
[07/19 11:19:23.588184][info][17913][FemtoBoltUvcDevice.cpp:23] FemtoBoltUvcDevice init …
[07/19 11:19:23.588231][info][17913][FemtoBoltUvcDevice.cpp:121] Create command start!
[07/19 11:19:23.589190][info][17913][MSDEConverterDevice.cpp:726] Succeed to load depth engine plugin
[07/19 11:19:24.254012][info][17913][AbstractDevice.cpp:117] - Firmware version: 1.0.9
[07/19 11:19:24.254028][info][17913][FemtoBoltUvcDevice.cpp:280] Create command done!
[07/19 11:19:24.254033][info][17913][FemtoBoltUvcDevice.cpp:401] init sensor map start!
[07/19 11:19:24.254051][info][17913][FemtoBoltUvcDevice.cpp:428] init sensor map done!
[07/19 11:19:24.254124][info][17913][FemtoBoltUvcDevice.cpp:284] Init depth process param start!
[07/19 11:19:24.595908][info][17913][MSDEConverterDevice.cpp:777] got nvram data succeed.
[07/19 11:19:24.861367][info][17913][FemtoBoltUvcDevice.cpp:358] setNvramDataStreamStopFunc succeed
[07/19 11:19:24.861420][info][17913][FemtoBoltUvcDevice.cpp:397] Init depth process param done!
[07/19 11:19:24.861992][info][17913][FemtoBoltUvcDevice.cpp:38] FemtoBoltUvcDevice init done!
[07/19 11:19:24.862005][info][17913][DeviceManager.cpp:150] Device created successfully! Name: Femto Bolt, PID: 0x066b, SN/ID: CL8K14101JD
[07/19 11:19:24.862026][info][17913][Pipeline.cpp:47] Pipeline created with device: {name: Femto Bolt, sn: CL8K14101JD}, @0x5FC1C6EA0610
[07/19 11:19:24.862601][info][17913][FemtoBoltUvcDevice.cpp:528] Depth sensor has been created!
[07/19 11:19:24.862636][info][17913][VideoSensor.cpp:384] Query stream profile! size= 14, SensorType=OB_SENSOR_DEPTH
[07/19 11:19:24.862643][info][17913][VideoSensor.cpp:386] - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 640, height: 576, fps: 15}
[07/19 11:19:24.862648][info][17913][VideoSensor.cpp:386] - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 1024, height: 1024, fps: 15}
[07/19 11:19:24.862653][info][17913][VideoSensor.cpp:386] - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 1024, height: 1024, fps: 5}
[07/19 11:19:24.862657][info][17913][VideoSensor.cpp:386] - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 640, height: 576, fps: 30}
[07/19 11:19:24.862667][info][17913][VideoSensor.cpp:386] - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 320, height: 288, fps: 30}
[07/19 11:19:24.862671][info][17913][VideoSensor.cpp:386] - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 640, height: 576, fps: 25}
[07/19 11:19:24.862676][info][17913][VideoSensor.cpp:386] - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 320, height: 288, fps: 25}
[07/19 11:19:24.862681][info][17913][VideoSensor.cpp:386] - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 320, height: 288, fps: 15}
[07/19 11:19:24.862685][info][17913][VideoSensor.cpp:386] - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 640, height: 576, fps: 5}
[07/19 11:19:24.862690][info][17913][VideoSensor.cpp:386] - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 320, height: 288, fps: 5}
[07/19 11:19:24.862695][info][17913][VideoSensor.cpp:386] - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 512, height: 512, fps: 30}
[07/19 11:19:24.862699][info][17913][VideoSensor.cpp:386] - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 512, height: 512, fps: 25}
[07/19 11:19:24.862703][info][17913][VideoSensor.cpp:386] - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 512, height: 512, fps: 15}
[07/19 11:19:24.862708][info][17913][VideoSensor.cpp:386] - {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 512, height: 512, fps: 5}
depth profile: <VideoStreamProfile: 640x576@15>
[07/19 11:19:24.862760][info][17913][Pipeline.cpp:188] Check and set config start!
[07/19 11:19:24.862767][info][17913][Pipeline.cpp:223] Check and set config done!
[07/19 11:19:24.863111][info][17913][Pipeline.cpp:288] Try to start streams!
[07/19 11:19:24.863149][info][17913][VideoSensor.cpp:646] start OB_SENSOR_DEPTH stream with profile: {type: OB_STREAM_DEPTH, format: OB_FORMAT_Y16, width: 640, height: 576, fps: 15}, Backend Format: OB_FORMAT_Y16
[07/19 11:19:24.863155][info][17913][MSDEConverterDevice.cpp:549] Start real profile,width:7680 height:434
[07/19 11:19:24.864573][info][17935][MSDEConverterDevice.cpp:67] Depth engine got nvram data size:492928
[07/19 11:19:24.864618][info][17935][MSDEConverterDevice.cpp:94] use dynlib load depthengine lib…
[07/19 11:19:24.979665][info][17935][MSDEConverterDevice.cpp:105] Depth engine init succeed!
[07/19 11:19:24.979812][info][17913][Pipeline.cpp:301] Start streams done!
[07/19 11:19:24.979819][info][17913][Pipeline.cpp:277] Pipeline start done!
[07/19 11:19:25.079930][warning][17913][Pipeline.cpp:377] Wait for frame timeout, you can try to increase the wait time! current timeout=100
center distance: 2584
center distance: 2582
center distance: 2583
center distance: 2582
center distance: 2586
center distance: 2582
And when I try to close the pipeline, I’m able to do so successfully:
[07/19 11:20:21.139349][info][17913][Pipeline.cpp:411] Try to stop pipeline!
[07/19 11:20:21.139387][info][17913][Pipeline.cpp:383] Try to stop streams!
[07/19 11:20:21.139422][info][17913][MSDEConverterDevice.cpp:620] Stop real profile,width:7680, height:434
[07/19 11:20:21.764458][info][17913][VideoSensor.cpp:734] Video sensor stopped, @OB_SENSOR_DEPTH
[07/19 11:20:21.764473][info][17913][Pipeline.cpp:396] Sensor stream stopped, sensorType=OB_SENSOR_DEPTH
[07/19 11:20:21.764480][info][17913][Pipeline.cpp:402] Stop streams done!
[07/19 11:20:21.764500][info][17913][Pipeline.cpp:443] Stop pipeline done!
[07/19 11:20:21.764523][info][17913][Pipeline.cpp:75] Pipeline destroyed! @0x5FC1C6EA0610
[07/19 11:20:21.764554][info][17913][FemtoBoltUvcDevice.cpp:42] ~FemtoBoltUvcDevice start!
[07/19 11:20:21.764605][info][17913][FemtoBoltUvcDevice.cpp:53] ~FemtoBoltUvcDevice done!
[07/19 11:20:21.764618][info][17913][VideoSensor.cpp:303] VideoSensor destroyed, @OB_SENSOR_DEPTH
[07/19 11:20:21.778270][info][17913][ObLibuvcDevicePort.cpp:70] uvc_close done.
[07/19 11:20:21.778278][info][17913][ObLibuvcDevicePort.cpp:71] ~ObLibuvcDevicePort done
[07/19 11:20:21.778474][info][17913][Context.cpp:84] Context destroyed
In contrast, if I run the C++ Depth Viewer example, here’s what happens:
[07/09 12:40:18.039580][info][12238][LinuxPal.cpp:32] createObPal: create LinuxPal!
[07/09 12:40:18.041164][info][12238][LinuxPal.cpp:143] Create PollingDeviceWatcher!
[07/09 12:40:18.041180][info][12238][DeviceManager.cpp:15] Current found device(s): (1)
[07/09 12:40:18.041185][info][12238][DeviceManager.cpp:24] - Name: Femto Bolt, PID: 0x066b, SN/ID: CL8K14101ET, Connection: USB3.1
[07/09 12:40:18.041197][info][12238][Pipeline.cpp:15] Try to create pipeline with default device.
[07/09 12:40:18.041304][info][12238][FemtoBoltUvcDevice.cpp:23] FemtoBoltUvcDevice init …
[07/09 12:40:18.041359][info][12238][FemtoBoltUvcDevice.cpp:121] Create command start!
[07/09 12:40:18.042689][info][12238][MSDEConverterDevice.cpp:726] Succeed to load depth engine plugin
[07/09 12:40:18.708853][info][12238][AbstractDevice.cpp:117] - Firmware version: 1.0.9
[07/09 12:40:18.708865][info][12238][FemtoBoltUvcDevice.cpp:280] Create command done!
[07/09 12:40:18.708871][info][12238][FemtoBoltUvcDevice.cpp:401] init sensor map start!
[07/09 12:40:18.708885][info][12238][FemtoBoltUvcDevice.cpp:428] init sensor map done!
[07/09 12:40:18.709012][info][12238][FemtoBoltUvcDevice.cpp:284] Init depth process param start!
[07/09 12:40:19.053618][info][12238][MSDEConverterDevice.cpp:777] got nvram data succeed.