pyorbbecsdk icon indicating copy to clipboard operation
pyorbbecsdk copied to clipboard

Multi Device Sync Issue (Timestamps are far from right on specific devices)

Open nivesh48 opened this issue 1 year ago • 4 comments

I am trying to sync two femto mega devices from external trigger, using the two_device_sync_save_data.py script. I am following the default stream settings just to test. The timestamps on the saved images are way off.

color_1_17076276 color_0_17076306

If you just see the above instance where the difference in the closest timestamps of saved images are 3-4 seconds off each. The timestamp for each image itself is not appropriate?

Why are the timestamps of each device so inconsistent from one another. Does this require any firmware update, the current version I’m using is 1.27.0

Additionally, device.get_depth_work_mode_list() returns device not supported

nivesh48 avatar Nov 05 '24 15:11 nivesh48

1、Is the multi-device sync hub connected correctly? https://www.orbbec.com/docs/set-up-cameras-for-external-synchronization_v1-2/

2、I will also try to replicate the issue you reported

3、device.get_depth_work_mode_list() ,Gemini2 Series support,Mega unsupport.

zhonghong322 avatar Nov 06 '24 10:11 zhonghong322

@zhonghong322, yes, we use multi-camera synchronization Hub for this and followed the details provided in https://www.orbbec.com/docs/set-up-cameras-for-external-synchronization_v1-2/.

Also, on a side note what are the depth modes supported by Femto Mega? I believe a detailed documentation of repo would help better. I am so unsure how the setup with a sync box is ending up with random time stamps?

Below are some details regarding my implementation:

Config file: { "devices": [ { "serial_number": "CL2T441003F", "config": { "mode": "PRIMARY", "depth_delay_us": 0, "color_delay_us": 0, "trigger_to_image_delay_us": 0, "trigger_out_enable": true, "trigger_out_delay_us": 0, "frames_per_trigger": 1 } }, { "serial_number": "CL2T44100AX", "config": { "mode": "SECONDARY", "depth_delay_us": 160, "color_delay_us": 0, "trigger_to_image_delay_us": 160, "trigger_out_enable": true, "trigger_out_delay_us": 0, "frames_per_trigger": 1 } } ] }

In OrbbecSDKConfig_v1.0.xml config file i have made changes to memory buffer. I am using software mode for depth alignment. I would like to know if there's a way to reset the device clocks to system clock before streaming or in anyway can we reset the clock?

Also, does the firmware version have any impact? Our cameras are on version 1.2.7

Pretty weird that sometimes it only grabs frames from one camera (same system and software versions) using two_device_sync_save.py file.

nivesh48 avatar Nov 07 '24 22:11 nivesh48

Hello, I am also struggling to synchronize the timestamp of Femto Mega. Did you find any solution? I am using sync hub pro and OrbbecSDK_ROS2 but unable to achieve synced frames? Does Orbbec camera really supports it? Color and depth frame of same camera also not matching, which supposed to be matched.

ghost avatar Mar 20 '25 19:03 ghost

Hello, I am also struggling to synchronize the timestamp of Femto Mega. Did you find any solution? I am using sync hub pro and OrbbecSDK_ROS2 but unable to achieve synced frames? Does Orbbec camera really supports it? Color and depth frame of same camera also not matching, which supposed to be matched.

I'm facing the same situation as you. Could you tell me if you've solved this problem? I also can't sync depth and color when using same camera.

cvki avatar Sep 19 '25 03:09 cvki