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.

TDA2: Radar SDK v3.3 usecase generation tool error

Part Number: TDA2


Hi, 

I am trying to use the Usecase generation tool to create the .jpg file in radar SDK. I am using the following command to create these files(usecase_name.priv.c , usecase_name.priv.h, usecase_name.jpg files)

Command is:  vsdk_win32.exe PATH_TO_USECASE_FOLDER/usecase.txt -img -file -path PATH_TO_USECASE_FOLDER/

I was able to create all the files successfully in Vision-SDK, But here I came across with an error saying about the compatibility issue since my system is of 64 bit. (Didnt come across this error while in Vision-SDK )

When I use vsdk_win64.exe trying with the same command, jpeg file is not created and the rest of the files are being created. And when I use executable "vsdk_win32.exe"  present in visionSDK 3.2 and provide the usecase of RADAR-SDK , the jpeg is being created. 

Command is:

vsdk_win32.exe PATH_TO_USECASE_FOLDER_IN_RADAR-SDK/usecase.txt -img -file -path PATH_TO_USECASE_FOLDER_IN_RADAR-SDK         

In all the cases I have set the PATH to the Graphviz tool. I do not understand what is the issue with the RADAR-SDK's vsdk_win32 .exe                                                                                                                 

Thanks & Regards,

Varsha

                                             

  • Varsha,

    The usecase generation tool is the same between Processor SDK Radar and Processor SDK Vision. The summary of the question I am understanding from 3.2 release to 3.3 release you are seeing a difference in the behavior. I will ask one of my collegues to check this and get back to you.

    Regards,
    Piyali
  • Hi Varsha,

    We followed procedures mentioned by you & we didn't face any issues

    Below are few more experiments we did & no issues observed

    Exp1:

    cmd prompt - 32 bit

    UC gen tool - 32 bit

    cmd - vsdk_win32.exe PATH_TO_USECASE_FOLDER/usecase.txt -img -file -path PATH_TO_USECASE_FOLDER/

    observation - no issues

    Exp2:

    cmd prompt - 32 bit

    UC gen tool - 64 bit

    cmd - vsdk_win64.exe PATH_TO_USECASE_FOLDER/usecase.txt -img -file -path PATH_TO_USECASE_FOLDER/

    observation - no issues

    Exp3:

    cmd prompt - 64 bit

    UC gen tool - 64 bit

    cmd - vsdk_win64.exe PATH_TO_USECASE_FOLDER/usecase.txt -img -file -path PATH_TO_USECASE_FOLDER/

    observation - no issues

    Could you please check once in your end & let us know your observations

    Are you still facing issues ?

    Regards

    Surya

  • Hi Surya, 

    Thanks for the informative reply.

    Are these observations made by using vsdk_win32.exe present in Processor VisionSDK version-3.2? I faced no issues when I was using the tool from VisionSDK.

    But when I tried the same thing in RadarSDK version-3.3 I faced issues with the tool present in RadarSDK. And my windows versions is of 64-bit

    These are my experiments: 

    Exp 1:vsdk_win32.exe  present in VisionSDK

    UC generation tool: 32 bit 

    command: vsdk_win32.exe PATH_TO_USECASE_FOLDER_IN_VisionSDK/usecase.txt -img -file -path PATH_TO_USECASE_FOLDER_VisionSDK

    observation: No issues

     

    Exp2: vsdk_win32.exe  present in RadarSDK

    UC generation tool: 32 bit 

    command: vsdk_win32.exe PATH_TO_USECASE_FOLDER_IN_RADARSDK/usecase.txt -img -file -path PATH_TO_USECASE_FOLDER_IN_RADARSDK

    observation: compatibility issues


     

     

    Exp3: vsdk_win32.exe  present in VisionSDK and usecase in RadarSDK

    UC generation tool: 32 bit

    command: vsdk_win32.exe PATH_TO_USECASE_FOLDER_IN_RADARSDK/usecase.txt -img -file -path PATH_TO_USECASE_FOLDER_IN_RADARSDK

    observations: works fine. jpg file also created.

    Exp 4: vsdk_win64 in vision SDK

    UC generation tool: 64 bit

    command: vsdk_win64.exe PATH_TO_USECASE_FOLDER_IN_RADARSDK/usecase.txt -img -file -path PATH_TO_USECASE_FOLDER_IN_RADARSDK

    observations: All files are created except .jpg file

    Thanks & regards,

    Varsha

  • Hi Varsha,

    For Exp2,
    Could you please check with the binary file "vsdk_win32" present under "apps\tools\vision_sdk_usecase_gen\bin" folder (Don't use the binary file "vsdk_win32" present under "build\rtos\scripts" folder )

    For Exp4,
    Regarding UC generation tool 64 bit, did you recompile the src on a 64 bit machine & generate the "vsdk_win64" or how is it ?

    Regards
    Surya
  • Hi Surya,

    For Exp2, I tried with the binary file from the folder you suggested. But still I encounter the same error.

    For Exp4, I did not recompile it. I downloaded it from one of the threads in the e2e forum.
    I also read about the following command to manually create the jpg file:
    dot chains_new_usecase_img.txt -o chains_new_usecase.jpg


    Thanks & regards,
    Varsha
  • Hi Varsha,

    Could you please try with attached binary file "vsdk_win64" ?

    vsdk_win64.zip

    Regards

    Surya

  • Hi,

    Yes, This worked!!!
    But, why 32 bit file of RADAR SDK gives an error and not of Vision SDK?

    regards,
    Varsha
  • Hi Varsha,
    Can you try building the use-case gen tool ?
    Please refer UG under "apps\tools\vision_sdk_usecase_gen\docs" folder

    Regards
    Surya