luxonis / depthai-ros

Official ROS Driver for DepthAI Sensors.
MIT License
239 stars 173 forks source link

[Question] IMU + rgb + depth timestamp syncing #451

Closed michaelnguyen11 closed 7 months ago

michaelnguyen11 commented 7 months ago

Hi Authors,

I would like to use the OAK-D Pro camera with our VIO/SLAM algorithm, and the VIO/SLAM algorithm requires syncing IMU messages and camera frames. As far as I understand, the depthai-ros don't support this kind of feature right now.

So my questions are:

Many thanks in advance!

Best regards, Michael Nguyen

Serafadam commented 7 months ago

Hi, multiple message syncing will be available in one of the next releases (as soon as the features are available in depthai-core. Regarding current approaches, you could try writing a node in C++ where you create the queues and then sync them based on timestamp/sequence number, after they are synced you can assign them the same timestamp and publish them with specific publishers.

michaelnguyen11 commented 7 months ago

Hi @Serafadam ,

Thank you for the information. Hope to use the multiple message syncing soon.