DLP4500: Getting a PG_FLYCAP_C_SET_FORMAT_7_FAILED Error when using Point Grey Camera and DLP4500.

I am using the DLP4500 for 3D Pointcloud generation. My setup also includes a BFLY-PGE-13E4C/M-CS Point Grey BlackFly camera (Global Shutter). I have made the connections according to the manual. The connections between the camera and the DLP4500 are as follows:

I have followed all the steps for installing and running the DLP_LightCrafter_4500_3D_Scan_Application. On startup however I get the ERROR: PG_FLYCAP_C_SET_FORMAT_7_FAILED message. The full output on startup is as follows:

In the link to the other question that you provided, where is the file pg_flycap2_c.cpp located? I have searched through the FlyCap2 install files and also the TI-DLP Application files but there is no such file. Also, my camera_config.txt file is identical to the one you provided in the answer. Could you please help me as to where I could locate the pg_flycap2_c.cpp file ?

Ok, I downloaded the SDK from the link in the other answer and found the pg_flycap2_c.cpp file. However, the manual only mentions downloading and using TIDA-00254_3D_Scanner_LCr4500-2.0 software and no mention of the SDK in the link. Could you please explain what the SDK would be used for ? How was the TIDA-00254_3D_Scanner_LCr4500-2.0 application running without the pg_flycap2_c.cpp file and the SDK?

TIDA-00254_3D_Scanner_LCr4500-2.0 application is pre-built binary that is built using DLP 3D SDK you use it for out-of-box demo using specific model of PointGrey camera or a general web-cam.

Since you talked about making it work with another model of camera which is not supported in the DLP 3D SDK first thing you need to add support for it and make it work, and then rebuild the application with updated SDK.

TIDA-00254_3D_Scanner_LCr4500-2.0 application is pre-built binary that is built using DLP 3D SDK you use it for out-of-box demo using specific model of PointGrey camera or a general web-cam.

Since you talked about making it work with another model of camera which is not supported in the DLP 3D SDK first thing you need to add support for it and make it work, and then rebuild the application with updated SDK.

I hope this helps.

Regards,Sanjeev

Hi Sanjeev,

When you mention adding support for the camera, you mean altering the Format 7? Is there any resource I could refer to where another camera support is added to the SDK. Right now I am following the steps from the follwoing manual: http://www.ti.com/lit/ug/dlpu019a/dlpu019a.pdf

Would modifying the cpp file in the SDK folder affect how the DLP_LightCrafter_4500_3D_Scan_Application behaves? I'm not very clear on how that part. Could you please explain abit more on that? Thank you. Also, I have also contacted the PointGrey and they have mentioned that there is no significant difference between the Flea3 and BlackFly which I am using in the case of Format 7.

>>When you mention adding support for the camera, you mean altering the Format 7?
Our SDK makes specific Format-7 settings for the Pointe Grey camera, now as you can see from the application output, the Format-7 setting applied is not working. You need to investigate why the Format-7 settings is failing?

>>Would modifying the cpp file in the SDK folder affect how the DLP_LightCrafter_4500_3D_Scan_Application behaves? I'm not very clear on how that part. Could you please explain abit more on that? Thank you.

I don't think so, the behavior remains same.

>> Also, I have also contacted the PointGrey and they have mentioned that there is no significant difference between the Flea3 and BlackFly which I am using in the case of Format 7.
I would recommend you to setup development environment i.e., start compiling the SDK and the application; this will be much easier for you, while debugging the code you need to investigate why fc2ValidateFormat7Settings() function is failing in pg_flycap2_c.cpp file.
Also you first use the PointGrey FlyCapture2 Viewer tool then experiment setting Format-7 to the camera verify its working.

"I would recommend you to setup development environment i.e., start compiling the SDK and the application; this will be much easier for you, while debugging the code you need to investigate why fc2ValidateFormat7Settings() function is failing in pg_flycap2_c.cpp file.
Also you first use the PointGrey FlyCapture2 Viewer tool then experiment setting Format-7 to the camera verify its working."

Could you please help me in th esteps to compile the SDK after making changes to the cpp file? I referred to this thread: e2e.ti.com/.../383897

Is it still the case that DLP_LightCrafter_4500_3D_Scan_Application only supports the Flea camera as mentioned in that thread? Could you point to what changes I would need to make for adding support for the BlackFly camera ?

I have spoken to the PointGrey support and they informed me that the registers for setting up the Format 7 for the BlackFly and the flea are the same. So could you point out what settings might need changing for getting support for the BlackFly? And could you guide me through the steps for compiling the SDK ? Thank you for your help on this.

For BlackFly as i mentioned in my previous post, you must experiment with their FlyCap GUI tool and then configure and experiment setting it in Format 7 mode, this step/exercise is nothing to do with DLP. Only after you are successful in configuring in Format 7 mode on BlackFly you can go back to DLP SDK.

>>
Is it still the case that DLP_LightCrafter_4500_3D_Scan_Application only supports the Flea camera as mentioned in that thread? Could you point to what changes I would need to make for adding support for the BlackFly camera ?

Yes, if you are using specific model as described in the TI design, you should be use the demo application as it is.

For BlackFly model, i agree that there won't be many changes, you need to find the correct setting for the Format 7 mode. I recommend you read the BlackFly model Format 7 setup instructions in the PointGrey document. Once you confirm its working, i can help you with the what needs to be changes in the DLP SDK.

Also i suggest that while discussing with PointGrey folks make sure you provide which version of the PointGrey out user document referring.

Were you able to setup Format 7 mode on BlackFly camera model with Pointgrey libraries and GUI software? This part is nothing to do with the TI DLP SDK. If it worked please attache the PointGrey GUI snap-shot settings with this thread.

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.