{"mode":"Blocks","hardwareTarget":"brain","workspace":"<xml xmlns=\"https://developers.google.com/blockly/xml\"><variables><variable id=\"U`9aA+=)r+L1tzA.)-qi\">my_variable</variable></variables><block type=\"aim_logic_when_started\" id=\".NsXwU_L.OuU1l7Sho$F\" x=\"510\" y=\"530\"><next><block type=\"aim_other_comment\" id=\"#P{Eez3fH,F`dH0@zk~F\"><value name=\"COMMENT\"><shadow type=\"comment_text\" id=\"~FLw7;tSk+z{W#8-]=}=\"><field name=\"comment\">Main loop</field></shadow></value><next><block type=\"aim_logic_forever\" id=\"E{(v|r+@p}2gaF)O^~:3\"><statement name=\"SUBSTACK\"><block type=\"aim_aivision_get_data\" id=\"kIwSqY5OMIsMa)3;?LHh\"><field name=\"SIGNATURE\">ALL_TAGS</field><next><block type=\"aim_other_comment\" id=\"HS#^YuJ4-.]~th}%14aM\"><value name=\"COMMENT\"><shadow type=\"comment_text\" id=\"7fl+ZIV3F|yOvUj@PcH{\"><field name=\"comment\">If april tags are detected, go through one by one and print their ID</field></shadow></value><next><block type=\"aim_console_print\" id=\"/]$Nn?5K{y5T([4(df@Z\"><field name=\"andsetcursortonextrow_mutator\">true</field><value name=\"DATA\"><shadow type=\"text\" id=\"]|t[eq`N5);cMuk2x~}[\"><field name=\"TEXT\">VEXcode</field></shadow><block type=\"aim_logic_join\" id=\"E@![~iaLZhe.ISuIOLy9\"><value name=\"STRING1\"><shadow type=\"text\" id=\"nSG?[Wc8|a^Z)Ht0s?F/\"><field name=\"TEXT\">Detected </field></shadow></value><value name=\"STRING2\"><shadow type=\"text\" id=\"NNF{j2;P[KQUf}2BDlCt\"><field name=\"TEXT\">banana</field></shadow><block type=\"aim_logic_join\" id=\"h=(aBlj[JD@v(R_+4c=T\"><value name=\"STRING1\"><shadow type=\"text\" id=\"=XON=uOUsGzcXSr?A8#,\"><field name=\"TEXT\">apple</field></shadow><block type=\"aim_aivision_object_count\" id=\"Fc`1/q4QZ}W9w2NJ3-Hk\"></block></value><value name=\"STRING2\"><shadow type=\"text\" id=\"t4I;(0u?5[)8Ci@s^:ID\"><field name=\"TEXT\"> objects</field></shadow></value></block></value></block></value><next><block type=\"aim_console_print\" id=\";:3Jy@34usJI?OU9t%/7\"><field name=\"andsetcursortonextrow_mutator\">true</field><value name=\"DATA\"><shadow type=\"text\" id=\"Zav+(Un,xAcpf[06p=1j\"><field name=\"TEXT\">Detected April Tags:</field></shadow></value><next><block type=\"aim_logic_while\" id=\"1)*F*R;4_EQ7Xrdcv;~Y\"><value name=\"CONDITION\"><block type=\"aim_logic_comparison\" id=\"Qc8d_%kZ+T4Il2|E6NT,\"><field name=\"COMPARISON\">&lt;=</field><value name=\"NUM1\"><shadow type=\"math_number_string\" id=\"#Gby|.|SDF_jY}HTmUXB\"><field name=\"NUM\">0</field></shadow><block type=\"aim_logic_variable\" id=\"EV`TrSGhX9ipG5IB#q|4\"><field name=\"VARIABLE\" id=\"U`9aA+=)r+L1tzA.)-qi\">my_variable</field></block></value><value name=\"NUM2\"><shadow type=\"math_number_string\" id=\"BHdDyp9pHu#O5~nDA}c~\"><field name=\"NUM\">50</field></shadow><block type=\"aim_aivision_object_count\" id=\"n2(EKonk3Y9C!ctjiWY6\"></block></value></block></value><statement name=\"SUBSTACK\"><block type=\"aim_aivision_set_object_index\" id=\"KfdRvSi5#v-qosNck;Hh\"><value name=\"VALUE\"><shadow type=\"math_number\" id=\"UW@9r6)5cH*]T5==eO[y\"><field name=\"NUM\">1</field></shadow><block type=\"aim_logic_variable\" id=\"fMLuB-`)tiR^H{RMs2dQ\"><field name=\"VARIABLE\" id=\"U`9aA+=)r+L1tzA.)-qi\">my_variable</field></block></value><next><block type=\"aim_logic_if_then\" id=\"P$m;ID?`=CWN,,m+kS!I\"><value name=\"CONDITION\"><block type=\"aim_aivision_object_exists\" id=\"44s?%WR:v3nd*.orXjOv\"></block></value><statement name=\"SUBSTACK\"><block type=\"aim_logic_if_then\" id=\"kO(E=9`ufv3N#m.1kekL\"><value name=\"CONDITION\"><block type=\"aim_aivision_detected_apriltag_is\" id=\"lP5Z}{_k6K3}Q*WL[x[`\"><value name=\"VALUE\"><shadow type=\"math_number\" id=\"u:0]m/pZo3I22,v5Q4@~\"><field name=\"NUM\">0</field></shadow></value></block></value><statement name=\"SUBSTACK\"><block type=\"aim_console_print\" id=\"]G)N/xBv`5zP,gYBZ1j1\"><field name=\"andsetcursortonextrow_mutator\">true</field><value name=\"DATA\"><shadow type=\"text\" id=\":ec|;/wo9smD{SQV`EDW\"><field name=\"TEXT\">April Tag - 0</field></shadow></value></block></statement><next><block type=\"aim_logic_if_then\" id=\"aodZ~!Ba`F`{6XFLeyq:\"><value name=\"CONDITION\"><block type=\"aim_aivision_detected_apriltag_is\" id=\"~Q}V[6r[;%:20z{:Y[7d\"><value name=\"VALUE\"><shadow type=\"math_number\" id=\"9mwCjU8pn|v!Kv=.OlnB\"><field name=\"NUM\">1</field></shadow></value></block></value><statement name=\"SUBSTACK\"><block type=\"aim_console_print\" id=\"r24nM:~#@Ipgo~Pdl$h|\"><field name=\"andsetcursortonextrow_mutator\">true</field><value name=\"DATA\"><shadow type=\"text\" id=\"twRMG!ALsGRXvb/#LbKj\"><field name=\"TEXT\">April Tag - 1</field></shadow></value></block></statement><next><block type=\"aim_logic_if_then\" id=\"$jmlqD?;RWky_(CFEw?W\"><value name=\"CONDITION\"><block type=\"aim_aivision_detected_apriltag_is\" id=\"nzJVB{1$`x9+UH/hU+`Q\"><value name=\"VALUE\"><shadow type=\"math_number\" id=\"eqv$DXr(2Bi9@?h}8~=a\"><field name=\"NUM\">2</field></shadow></value></block></value><statement name=\"SUBSTACK\"><block type=\"aim_console_print\" id=\"i#D-F=h1D7BA#+]b)H{[\"><field name=\"andsetcursortonextrow_mutator\">true</field><value name=\"DATA\"><shadow type=\"text\" id=\"KaJx=[W9@c3LDEaph3N7\"><field name=\"TEXT\">April Tag - 2</field></shadow></value></block></statement><next><block type=\"aim_logic_if_then\" id=\"C}G(E/t.4iuD(}vNDr~t\"><value name=\"CONDITION\"><block type=\"aim_aivision_detected_apriltag_is\" id=\"G:okYq^s^^!biZ@I7X=a\"><value name=\"VALUE\"><shadow type=\"math_number\" id=\"a`EwtgqGeGpFZOGi)+{V\"><field name=\"NUM\">3</field></shadow></value></block></value><statement name=\"SUBSTACK\"><block type=\"aim_console_print\" id=\"bqsd]:!z]d{ru~bW_1:E\"><field name=\"andsetcursortonextrow_mutator\">true</field><value name=\"DATA\"><shadow type=\"text\" id=\"trwz9Jt#Vmks:X!@R%)I\"><field name=\"TEXT\">April Tag - 3</field></shadow></value></block></statement><next><block type=\"aim_logic_if_then\" id=\"WIi(T~KrTnV4=+Ebcxpg\"><value name=\"CONDITION\"><block type=\"aim_aivision_detected_apriltag_is\" id=\"#_fUSJVIXroQORT`+Atq\"><value name=\"VALUE\"><shadow type=\"math_number\" id=\"T}Atfd#eP+)K^_s}dO_C\"><field name=\"NUM\">4</field></shadow></value></block></value><statement name=\"SUBSTACK\"><block type=\"aim_console_print\" id=\".`Y9ws2;!QGKwRd~6Q,$\"><field name=\"andsetcursortonextrow_mutator\">true</field><value name=\"DATA\"><shadow type=\"text\" id=\"QajF:jd4EX5COTbv(Ca;\"><field name=\"TEXT\">April Tag - 4</field></shadow></value></block></statement></block></next></block></next></block></next></block></next></block></statement><next><block type=\"aim_logic_change_variable\" id=\":PH^w}BYA2InR=cw8sj?\"><field name=\"VARIABLE\" id=\"U`9aA+=)r+L1tzA.)-qi\">my_variable</field><value name=\"VALUE\"><shadow type=\"math_number\" id=\"F9}.al/F2LCka:MJ$Yq#\"><field name=\"NUM\">1</field></shadow></value></block></next></block></next></block></statement><next><block type=\"aim_logic_set_variable\" id=\"!vA(a+*!k[.5rNb:?o-2\"><field name=\"VARIABLE\" id=\"U`9aA+=)r+L1tzA.)-qi\">my_variable</field><value name=\"VALUE\"><shadow type=\"math_number_string\" id=\"Q@)`PN}ZwbZk@`,[STg5\"><field name=\"NUM\">1</field></shadow></value><next><block type=\"aim_logic_wait\" id=\"0x(xCy5S?WEG]_UT7y^o\"><value name=\"DURATION\"><shadow type=\"math_positive_number\" id=\"!dT`]MEOx=1{3)QE-R72\"><field name=\"NUM\">0.2</field></shadow></value><next><block type=\"aim_console_clear\" id=\"%F;7Na9lH3[L=BlTv^xd\"></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></xml>","robotConfig":[],"slot":0,"platform":"AIM","sdkVersion":"20240802.15.00.00","appVersion":"4.63.0","fileFormat":"2.0.0","targetBrainGen":"First","v5SoundsEnabled":false,"downloadLanguage":"python","aiVisionSettings":{"colors":[],"codes":[],"tags":true,"AIObjects":true,"AIObjectModel":[],"AIModelMetadata":{"id":1,"version":2,"name":"AIM-20250807.10.50(v1.0.1.1)"},"aiModelDropDownValue":1},"virtualSkillsYear":"2023","monitorList":{"sensorList":[],"variableList":[],"complexVarList":[]}}