ros-drivers/ros2_ouster_drivers

[feature request] Syncronization with camera

adrian-soch opened this issue · 2 comments

I'm looking for the simplest solution to sync a ROS2 lidar node with a camera node. Both camera and lidar drivers are capable of running at 10Hz, however I want to ensure that they capture data at approximately the same time. The Ouster doc has a section on Multi-Sensor Synchronization.

There seems to be 2 options. Using the Phase lock feature, where the external source syncs both the camera and lidar. They say Phase locking is useful for synchronizing a sensor with other devices including camera but I'm not sure how to implement with the ROS2 driver setup. Another option is the lidar sends a pulse to trigger the camera.

Any insight to this problem would be appreciated.

You'd have to set that up on your sensor itself - follow the manual as provided.

Decided to add a data processor for a camera image and just built a driver that combines the LiDAR and camera in one. It is the easiest solution for cameras without hardware triggers and if you are using a NIC without hardware timers.