Please provide the following info (tick the boxes after creating this topic): Software Version
DRIVE OS 6.0.10.0
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other
Target Operating System
Linux
QNX
other
Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other
SDK Manager Version
2.1.0
other
Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other
Issue Description
<Please provide details about your query/application pipeline/usecase/pictures here >
Error String
< Please provide just the error messages here >
Logs
Provide logs in text box instead of image
Please paste the complete application log here. If there are multiple logs, please use multiple text box
We use dwSensorManager_acquireNextEvent to obtain data from two cameras, but we found that this function is unable to continue obtaining data after succeeding once. Could you please help me take a look at it?
Dear @deng.shigang,
I notice you are setting get_data = true; at Line 131. This will make the while loop to exit after first camera frame is captured. You need to check if return status of dwSensorManager_acquireNextEvent is DW_TIME_OUT
Please check egomotion sample for reference to use dwSensorManager_acquireNextEvent.
I researched further and found that the problem originates from the dwSensorCamera_returnFrame function. If I comment out this function, everything works normally. So I would like to ask, when using dwSensorManager_acquireNextEvent, is it necessary to use the dwSensorCamera_returnFrame function?
You can check increasing the timeout threshold parameter. If the return value is DW_TIME_OUT, you need to come out of while loop. Did you check egomotion sample as reference for your case?