This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Horizontal patterns not displaying properly on linux

Other Parts Discussed in Thread: TIDA-00254

I am having a problem with the display of the horizontal illuminations. If I dump them out from the part of code that is generating them they look fine, but the images that are actually rendered are messed up.

The first few are correct:

But then things get screwed up:

(and the rest of the following horizontal images are screwed up too).

Any ideas? Perhaps the firmware download is stopping partway? I am not getting any errors...

I am building using CMake on Ubuntu 14.04

Thanks!

Andrew

  • Andrew,
    You can perhaps save them on the PC; then use the LightCrafter 4500 GUI to upload the pattern and display them. If this is working properly then you can narrow down to your code where you are configuring the hardware.
    Regards,
    Sanjeev
  • Thanks for mentioning that option.

    To clarify, this is the 3D reconstruction code from TI; I replaced the build system and dump out some more debugging info, but I haven't modified anything related to the downloading of the images.  

    Is there an archive of previous versions of the firmware and code? Others have gotten this working before me; it could be that a recent firmware update caused an issue on linux...

    Thanks!

    Andrew

  • Hi Andrew,

    When you installed the SDK package on windows http://www.ti.com/lit/zip/tidc535 ; you can navigate to the directory path to get the firmware

    <drive>:\TexasInstruments-DLP\TIDA-00254_3D_Scanner_LCr4500_PGFlea3-1.1\dlp_structured_light_sdk\resources\lcr4500 

    You can program DLPR350PROM_v2.0.0_no_images.bin  firmware using the GUI tool on the hardware 

    Then experiment your linux code.

    Regards,
    Sanjeev

  • Update:

    I tried changing the patterns in the source code and flashed them. Again, the first projected patterns were more or less what I expected, but the later ones were corrupted.

    So  I believe the flashing of the images is not completing in my linux build.

    I haven't had time to track down that problem, but I was able to re-flash the board using the windows build from TI, and then take scans using my linux build.

    Is it all right to post hacked up versions of this SDK code to github publicly? 

  • Hi Andrew,

    >> Is it all right to post hacked up versions of this SDK code to github publicly? 

    What kind of changes you made to the SDK? Since the SDK code released publicly under TI standard licensing conditions, you are okay to post the code as long as you are not violating TI licensing terms.  We have instances where users developed code by adopting from TI source code and made it available publicly. 

    Regards,
    Sanjeev