Open Isokratia opened 3 years ago
Agent comment from kyle.cai in Zendesk ticket #48287:
Dear developer ,
Thank you for contacting DJI.
We will submit it for review again, thanks for your feedback.
Thank you for your understanding and support, hope you have a nice day.
Best Regards,
DJI SDK Support Team
°°°
The timestamp in
ImageInfoType
is 64-bit and the timestamp inStereoVGAImgData
is 32-bitThis causes time-sync comparison issues in
dji_advanced_sensing.cpp:289
when the incoming timestamp fromImageInfoType
is larger than 32-bits (the 32-bit int is promoted to 64-bit for the comparison and the two don't match). The time-sync check on the stereo images fails and the VGA stereo pairs don't get published.(stereoVGAImg.time_stamp == info.timeStamp)
should be(stereoVGAImg.time_stamp == static_cast<uint32_t>(info.timeStamp))
, which fixes the issue.