-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hello
I wanted to reach out and figure out if this would be possible.
This is what is happening now.
I am running 8 cameras now and I want to optimize my code.
Right now we do this.
SwTrigger the camera and wait for the frame to be returned.
we do this for each camera sequentially.
This takes some time to do. Sometimes 2.5 seconds.
I would like to do the following but I have not had success.
SWtrigger each camera sequentially so they do not overlap.
This should take about 10 ms
then I would like to thread each cameras framegrabber to wait for a frame all at the same time. This seems straight forward but I seem to be having memory leak issues when I run the test and the data returned is inconsistent. I believe the shared_ptrs involved might be causing the issue.
It doesn't seem cooperate when I thread the fgs[index]->WaitForFrame(imgs[index].get(), 1000)
I can provide some code if needed.
Any thoughts or sample code on this.
The only multicam IFM3D sample code is sequential.
The Final goal would be able to asynchronously trigger each camera at the same time. That being 8 sensors or 20 sensors. I would like to grab data for all cameras without having to go through the list one by one.