Items with no label
3338 討論

Hi, I am getting repeated frame numbers when trying to read the frame number or frame counter, with "rs2::frame.get_number()". for example I can get 3 frames that are numbered 8. Anyone has encountered / solved this?

omerwax
初學者
2,614 檢視

I am using the D435 camera, FW Ver - 05.10.13.00, Latest SDK 2.20.

 

 

0 積分
1 解決方案
MartyG
榮譽貢獻者 III
2,216 檢視

I did further research and saw indications that these kinds of frame number problems may occur if auto-exposure is enabled.

在原始文章中檢視解決方案

7 回應
MartyG
榮譽貢獻者 III
2,216 檢視

Could you check please if the hardware timestamp of the frames is also the same, please? This is because Dorodnic the RealSense SDK Manager answered to a user with the problem of repeated frames with the same frame number and HW timestamp:

 

"This is the expected (or at least possible) behavior. This can happen when one of the streams drops frames (in that case we will return last known frame from that stream). If you are building the SDK from source, please make sure to build with -DCMAKE_BUILD_TYPE=Release You can also try reducing the total resolution".

omerwax
初學者
2,216 檢視

Hi,

I have run a test that also reads the timestamp, I have attached the output. The frame num is the same but the timestamp is different.

Omer

MartyG
榮譽貢獻者 III
2,216 檢視

Thank you very much for comparing the hardware timestamps. The reason that I asked about this is because if the frame number is repeated but the hardware timestamp is different, that is considered to be an abnormal behavior.

 

https://github.com/IntelRealSense/librealsense/issues/2214#issuecomment-411392390

 

Are you recording the data to a file such as a bag, please?

 

omerwax
初學者
2,216 檢視

Hi,

I am not using ROS so no, I am just printing debug messages to the terminal.

 

 

MartyG
榮譽貢獻者 III
2,216 檢視

Does the frame number duplication occur less if the resolution is reduced, please?​

omerwax
初學者
2,216 檢視

Hi,

Tries to lower the resolution to 640x480, got the same result

MartyG
榮譽貢獻者 III
2,217 檢視

I did further research and saw indications that these kinds of frame number problems may occur if auto-exposure is enabled.

回覆