librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

how to use HW SYNC with multi cameras?

Open iYuqinL opened this issue 8 years ago • 9 comments

I want to use multi cameras, and I try use the HW sync with them.

I follow the "multi camera white paper" to do somethings. but it seems not work at all. the cameras just behave themselves.

I use the function rs2_send_and_receive_raw_data(pdev, maser_cmd, 254, NULL); to set a camera to be master. and rs2_send_and_receive_raw_data(pdev, slave_cmd, 25, NULL); to set the other to be slave. and master_cmd is set to be an array uint8_t maser_cmd[25] = { 0x0,0x14,0x0,0xAB,0xCD,0x64,0x0,0x0,0x0,0x01,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 }; , slave_cmd is uint8_t slave_cmd[25] = { 0x0,0x14,0x0,0xAB,0xCD,0x64,0x0,0x0,0x0,0x02,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0 };.

I also use an oscilloscope to see if the master camera's sync pin output any signal. the fact is it didn't.

the multi camera white paper that I mention above is this

Anyone have done this? please help.

Thank you!

iYuqinL avatar May 22 '18 13:05 iYuqinL

You do need special Firmware for this. We are working on an official release.

agrunnet avatar May 22 '18 13:05 agrunnet

Where can I get the special Firmware? is there any guidance?

iYuqinL avatar May 23 '18 12:05 iYuqinL

[Realsense Customer Engineering Team Comment] hi @Yusnows,

it's not released yet, we will update when released.

Looking forward to this firmware release as well. Is there a time estimate you can give us?

mutp avatar May 25 '18 06:05 mutp

Should be sometime in Q3 i think.

zuru avatar Jun 18 '18 13:06 zuru

[Realsense Customer Engineering Team Comment] hi @Yusnows, @mutp,

FW v5.9.14 released, it supports HW sync for multi cameras, please download from https://realsense.intel.com/intel-realsense-downloads/#firmware

On API Update page, it says "Applies to rolling-shutter SKUs with FW 5.9.14+." Is it saying that D435 still cannot use HW sync for multicameras?

hflsdupont avatar Jul 17 '18 23:07 hflsdupont

Yes, this is only for D415. This is what it says here.

d415 multi cam spe

mutp avatar Jul 18 '18 16:07 mutp

[Realsense Customer Engineering Team Comment] hi @Yusnows, are you using D435? or do you need more support on this?