Breadcrumbs

Vision Skill: Utilizing IF statements

In order to utilize the Vision Skill, the system parameters including System_SVM_ShootPose, System_SVM_Landmark, System_SVM_Barcode_Data, and System_SVM_Barcode_Comparison must be utilized.

  • System_SVM_ShootPose cannot be used without calibration.

  • System_SVM_Landmark will be output as posx(0,0,0,0,0,0) if no detection occurs.

  • System_SVM_Barcode_Data will be output as Empty if no detection occurs.

  • System_SVM_Barcode_Comparison will be output at 0 if no values are saved in the SVM, or 1 otherwise.

image2021-11-12_11-22-38.png

  1. You can add an IF statement under Command and system parameters in VAR under Property.
    image2021-11-12_11-23-24.png

  2. In the case of System_SVM_Landmark, the output will be posx(0,0,0,0,0,0) if no detection occurs. This should be dealt with as shown below.
    image2021-11-12_11-24-0.png

  3. In the case of System_SVM_Barcode_Data, the output will be Empty if no detection occurs. This should be dealt with as shown below.
    image2021-11-12_11-25-12.png

  4. In the case of System_SVM_Barcode_Comprison, 1 will be output if there is data in the SVM. This should be dealt with as shown below.
    image2021-11-12_11-25-49.png