Time Synchronization using external trigger #247

Open
opened 2025-08-23 05:15:12 +02:00 by bathirappan-k · 2 comments
bathirappan-k commented 2025-08-23 05:15:12 +02:00 (Migrated from github.com)

I am using mid360 lidar and intel realsense camera at 10 hz and 60 hz respectively. I need to time sync both the sensors, so i use arduino to create a external trigger for both sensors. The output from arduino, both the pulses are perfectly synced, cross verified in the oscilloscope. the output from arduino is 10 hz with 50% duty cycle and 3.3vmax. i connected it to the livox mid 360 lidar using m12 aviation cable pin 8 and using custom msg launch file. everything is running inside a docker container in ros2 humble, but I couldn't cross verify the data generated is due to trigger pulse or it is automatically generated. I am expecting the lidar to act like slave and when ever trigger is generated from the arduino, i need my lidar to generate data at exact timestamp, how to achieve it? am I doing anything wrong in triggering the lidar? or do i need to make any changes to the config file? i am using the default mid 360 config file with ip address alone changed with respective to lidar. any help to time sync the lidar is much appreciated.

I am using mid360 lidar and intel realsense camera at 10 hz and 60 hz respectively. I need to time sync both the sensors, so i use arduino to create a external trigger for both sensors. The output from arduino, both the pulses are perfectly synced, cross verified in the oscilloscope. the output from arduino is 10 hz with 50% duty cycle and 3.3vmax. i connected it to the livox mid 360 lidar using m12 aviation cable pin 8 and using custom msg launch file. everything is running inside a docker container in ros2 humble, but I couldn't cross verify the data generated is due to trigger pulse or it is automatically generated. I am expecting the lidar to act like slave and when ever trigger is generated from the arduino, i need my lidar to generate data at exact timestamp, how to achieve it? am I doing anything wrong in triggering the lidar? or do i need to make any changes to the config file? i am using the default mid 360 config file with ip address alone changed with respective to lidar. any help to time sync the lidar is much appreciated.
TokyoWarfare commented 2026-01-16 11:18:57 +01:00 (Migrated from github.com)

I'm no expert but I would say you're describing a PPS pulse like sync. Which is documented here
https://github.com/Livox-SDK/Livox-SDK/wiki/livox-device-time-synchronization-manual

I'm no expert but I would say you're describing a PPS pulse like sync. Which is documented here https://github.com/Livox-SDK/Livox-SDK/wiki/livox-device-time-synchronization-manual
bathirappan-k commented 2026-01-25 17:13:00 +01:00 (Migrated from github.com)

I checked the document document which only supports the PPS and does not support external triggering with any embedded like how intel realsense camera does to generate scan data for every single pulse from the embedded system.

I checked the document document which only supports the PPS and does not support external triggering with any embedded like how intel realsense camera does to generate scan data for every single pulse from the embedded system.
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mmr/Livox-SDK#247