-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.blocks
More file actions
1 lines (1 loc) · 14 KB
/
main.blocks
File metadata and controls
1 lines (1 loc) · 14 KB
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="MiF:;6F6~H5T{9{Fw-3I">speedLinks</variable><variable id="VGj^K=8l!pwpcJexm}xK">photoLinks</variable><variable id="^hp}*;:(9*^Z;fL.AhHR">millisLinks</variable><variable id="w.`$si,xfJFZd[iORfx}">tempo</variable><variable id="fZ?!S?R~cxaZrJRq?z-j">millisRechts</variable><variable id="hM2KU61ksIET|j`4/mhi">photoRechts</variable><variable id="~?/,+9]T`Ef+JqMnu(.2">speedRechts</variable><variable id=":)6|PU5H3~3Pj[r.Kf7Z">motorLinks</variable><variable id=":bGjfkV:5n=-R@/_AG4@">motorRechts</variable><variable id="5rmGmBm45QaWN9B?jNX^">speed</variable></variables><block type="pxt-on-start" id="nUv1aqw$k#Y`L1$]fbbT" x="0" y="0"><statement name="HANDLER"><block type="variables_set" id="_pEGbo9cB7;cUW6AP)!6"><field name="VAR" id="^hp}*;:(9*^Z;fL.AhHR">millisLinks</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="control_running_time" id="eb:BV*tY_5{F+([r=yeL"/></value><next><block type="variables_set" id="u7{gN2.!TNtvWo{nb`;,"><field name="VAR" id="VGj^K=8l!pwpcJexm}xK">photoLinks</field><value name="VALUE"><shadow type="math_number" id="{XSl{J$)DXqP-gnjrXmD"><field name="NUM">0</field></shadow></value><next><block type="variables_set" id=":$KN.n9,$1^ERP(LJM/k"><field name="VAR" id="w.`$si,xfJFZd[iORfx}">tempo</field><value name="VALUE"><shadow type="math_number" id="YlvPiD;0HXYj`+x[Lu{^"><field name="NUM">50</field></shadow></value><next><block type="variables_set" id="47cBe:dBVWSV$*],090]"><field name="VAR" id=":)6|PU5H3~3Pj[r.Kf7Z">motorLinks</field><value name="VALUE"><shadow type="math_number" id="%IIeAvImw9b-,CRerOKi"><field name="NUM">50</field></shadow></value><next><block type="variables_set" id="*TLB?9u$D6u}3aX}Haox"><field name="VAR" id=":bGjfkV:5n=-R@/_AG4@">motorRechts</field><value name="VALUE"><shadow type="math_number" id="Z-:FwVlAmyfRL]U,1)=6"><field name="NUM">50</field></shadow></value></block></next></block></next></block></next></block></next></block></statement></block><block type="device_forever" id="{8la{H.RLc:*SS;)hsEK" x="393" y="0"><statement name="HANDLER"><block type="controls_if" id="rB5.!O!U;/w$^i;hcw!4"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="JoyCar_speed" id="}S}W68?i93Av[^r1ihh="><field name="selection">SensorLRSelection.Left</field></block></value><statement name="DO0"><block type="controls_if" id="2/)Jtf?jUq4b.z=C1.p*"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="XyYbNnl;fEQKz;f(gEsM"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="gS3)g0MwR0A`OzKUtqJ`"><field name="VAR" id="VGj^K=8l!pwpcJexm}xK">photoLinks</field></block></value><value name="B"><shadow type="math_number" id="~J?c]k*Z$$NwxYGa~?!O"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="#i*%MtSI5I:=(9e*mj;?"><field name="VAR" id="MiF:;6F6~H5T{9{Fw-3I">speedLinks</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="-PUQPYr5T%wr,sZKkMnX"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="control_running_time" id="wG1FZMFL0R,p}P7zgmy("/></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="l0oFHAk7keA`P3h4.LKU"><field name="VAR" id="^hp}*;:(9*^Z;fL.AhHR">millisLinks</field></block></value></block></value><next><block type="variables_set" id="+Q|:{9e5ZXy%s(4+g1?!"><field name="VAR" id="^hp}*;:(9*^Z;fL.AhHR">millisLinks</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="control_running_time" id="d,;I%*q6oJ0DrfCiwVB|"/></value><next><block type="variables_set" id="HQ#}F(ErMhRKeBV+`|y|"><field name="VAR" id="VGj^K=8l!pwpcJexm}xK">photoLinks</field><value name="VALUE"><shadow type="math_number" id="|mH[Fxe_~P23wr+B^re~"><field name="NUM">1</field></shadow></value></block></next></block></next></block></statement></block></statement><statement name="ELSE"><block type="variables_set" id="Ho8fGJg6E.8uY/hI0tnz"><field name="VAR" id="VGj^K=8l!pwpcJexm}xK">photoLinks</field><value name="VALUE"><shadow type="math_number" id="W~u6lGL.FZeexEDR/Axv"><field name="NUM">0</field></shadow></value></block></statement><next><block type="controls_if" id="AI/4Ox+wQXnt{333y3:."><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="JoyCar_speed" id=":l8Ynp^){}Y89;/+ifgd"><field name="selection">SensorLRSelection.Right</field></block></value><statement name="DO0"><block type="controls_if" id="0:!=Dn[Go}*PlrbW|^,b"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="Xx_2;pt}N!.Im8InG$el"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="8J;1k%Dm(}`J+g{e`fwC"><field name="VAR" id="hM2KU61ksIET|j`4/mhi">photoRechts</field></block></value><value name="B"><shadow type="math_number" id="_w6g;)J!TiT:[)zOf75["><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="HkhsaLT[N),i!+Nv4SuL"><field name="VAR" id="~?/,+9]T`Ef+JqMnu(.2">speedRechts</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="math_arithmetic" id="E(kOq~CG]])Bf7)?)yB6"><field name="OP">MINUS</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="control_running_time" id="Obfbz8o)*yN6[yX.ol}("/></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="x14ypx79?Z9_GI]XXFWe"><field name="VAR" id="fZ?!S?R~cxaZrJRq?z-j">millisRechts</field></block></value></block></value><next><block type="variables_set" id="t1;.8h:Z,:XW3_)gs_X$"><field name="VAR" id="fZ?!S?R~cxaZrJRq?z-j">millisRechts</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="control_running_time" id="bgOh)ThJX+mD%6E1HMA]"/></value><next><block type="variables_set" id="=?w4P=G^m;R{x+/|pB^v"><field name="VAR" id="hM2KU61ksIET|j`4/mhi">photoRechts</field><value name="VALUE"><shadow type="math_number" id="n.LN^CQ$$BIHu^$7YFn!"><field name="NUM">1</field></shadow></value></block></next></block></next></block></statement></block></statement><statement name="ELSE"><block type="variables_set" id="Uai~fK806y^K(9c[;1e@"><field name="VAR" id="hM2KU61ksIET|j`4/mhi">photoRechts</field><value name="VALUE"><shadow type="math_number" id="9s?RK!-wgT)2Xhlg4wgP"><field name="NUM">0</field></shadow></value></block></statement><next><block type="controls_if" id="~Fr`]Y:#]/[MDvjN*q9Q"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="wJh*,w-Yk,C=a*X;MFLN"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="b5$@Ao#EwOwO+a0C4{KK"><field name="VAR" id="MiF:;6F6~H5T{9{Fw-3I">speedLinks</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="BaHKiyaP8:m|4{IZuRH{"><field name="VAR" id="w.`$si,xfJFZd[iORfx}">tempo</field></block></value></block></value><statement name="DO0"><block type="variables_change" id="[1kj-QqnDOh]equiI7_c"><field name="VAR" id=":)6|PU5H3~3Pj[r.Kf7Z">motorLinks</field><value name="VALUE"><shadow type="math_number" id="qi}2KN)`U_-GGoZbCmce"><field name="NUM">1</field></shadow></value></block></statement><statement name="ELSE"><block type="variables_change" id=";?SZxs]3z+Y]XBr6X4pN"><field name="VAR" id=":)6|PU5H3~3Pj[r.Kf7Z">motorLinks</field><value name="VALUE"><shadow type="math_number" id="Oyh!oRVmUS0+Ni?od=p["><field name="NUM">-1</field></shadow></value></block></statement><next><block type="controls_if" id="7iYppah?]EZ/TzK)a~A$"><mutation else="1"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="hJb%z(V}!O?umqBwwT7o"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="ylfz47Ue}Eel/w#|q6?X"><field name="VAR" id="~?/,+9]T`Ef+JqMnu(.2">speedRechts</field></block></value><value name="B"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="z=I%lJLqjQgKF7u0hXZ;"><field name="VAR" id="w.`$si,xfJFZd[iORfx}">tempo</field></block></value></block></value><statement name="DO0"><block type="variables_change" id="J`zO:rCd@8rH.7`7`H;?"><field name="VAR" id=":bGjfkV:5n=-R@/_AG4@">motorRechts</field><value name="VALUE"><shadow type="math_number" id="b3dk41C*0ge?zC;|8,HS"><field name="NUM">1</field></shadow></value></block></statement><statement name="ELSE"><block type="variables_change" id="ux8zA3VmR%,s^~[iHIk8"><field name="VAR" id=":bGjfkV:5n=-R@/_AG4@">motorRechts</field><value name="VALUE"><shadow type="math_number" id="Ic3gd8gEang0VJe,]Y,3"><field name="NUM">-1</field></shadow></value></block></statement><next><block type="controls_if" id="JMr6:2~dx26l;$`0#x17"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="I4@q6e*tc(}sIgX!nLrm"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="wV/(iDVu@C%H2hKd2S!b"><field name="VAR" id=":)6|PU5H3~3Pj[r.Kf7Z">motorLinks</field></block></value><value name="B"><shadow type="math_number" id="@Z)Atf*`#Ak#U1@;nv-`"><field name="NUM">100</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="IIku[=M:y6Li!hlmPVP4"><field name="VAR" id=":)6|PU5H3~3Pj[r.Kf7Z">motorLinks</field><value name="VALUE"><shadow type="math_number" id="EX$PZD5E?f=[Z8^F!?]f"><field name="NUM">100</field></shadow></value></block></statement><next><block type="controls_if" id="9U*0@mWO-1u8L]Nt8Ze9"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id=".IwEt,^iAJYqtX5im,Q^"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="x|]ivH#mQT3zOa$t6{HZ"><field name="VAR" id=":)6|PU5H3~3Pj[r.Kf7Z">motorLinks</field></block></value><value name="B"><shadow type="math_number" id="b/^guX+SFIpSBkz[=Y%p"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="yUn:6=N,|1OBrOBO2SUh"><field name="VAR" id=":)6|PU5H3~3Pj[r.Kf7Z">motorLinks</field><value name="VALUE"><shadow type="math_number" id="9tnnxdzJfj+f)BTUV{/@"><field name="NUM">0</field></shadow></value></block></statement><next><block type="controls_if" id=",B|cTm^f`q}D2_Y7ld.)"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="(cw:kyaH4aP[n)D(t^+B"><field name="OP">GT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="gJ4`gJQBn[3UuK#SPMw%"><field name="VAR" id=":bGjfkV:5n=-R@/_AG4@">motorRechts</field></block></value><value name="B"><shadow type="math_number" id="NIfu=e-ZR:=#|pmblFNU"><field name="NUM">100</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="YC,)U[_(01t4_20fij/G"><field name="VAR" id=":bGjfkV:5n=-R@/_AG4@">motorRechts</field><value name="VALUE"><shadow type="math_number" id="v5ZfLq[-^-t.w{v1Nba;"><field name="NUM">100</field></shadow></value></block></statement><next><block type="controls_if" id="x*z2?$0mwF,t1$8l1N:g"><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="DwrKLo.HZk3bz*O@T}Gp"><field name="OP">LT</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="LuY7py:Qzrn_=/[hU,BF"><field name="VAR" id=":bGjfkV:5n=-R@/_AG4@">motorRechts</field></block></value><value name="B"><shadow type="math_number" id="7e+}!lj;7j04^c#zDe5V"><field name="NUM">0</field></shadow></value></block></value><statement name="DO0"><block type="variables_set" id="e=t6RoI!fljyo^o*Ppxl"><field name="VAR" id=":bGjfkV:5n=-R@/_AG4@">motorRechts</field><value name="VALUE"><shadow type="math_number" id="?H5~81;h2K8UdUil*21b"><field name="NUM">0</field></shadow></value></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="device_button_event" id="!x!|x]KGtvdaz6b+k)O/" x="4" y="378"><field name="NAME">Button.A</field><statement name="HANDLER"><block type="variables_change" id="41r4ZM1j^Z55A*CtCo3x"><field name="VAR" id="w.`$si,xfJFZd[iORfx}">tempo</field><value name="VALUE"><shadow type="math_number" id="$`ZN/815ygE[?5O88G;2"><field name="NUM">5</field></shadow></value></block></statement></block><block type="device_button_event" id="t#ux@N4@0OSz:vT4v4i+" x="7" y="535"><field name="NAME">Button.B</field><statement name="HANDLER"><block type="variables_change" id="E9uLy9P{8(g_+qZ@{6h4"><field name="VAR" id="w.`$si,xfJFZd[iORfx}">tempo</field><value name="VALUE"><shadow type="math_number" id="YX~yNPx)evYJ:D8fu::?"><field name="NUM">-5</field></shadow></value></block></statement></block><block type="device_forever" id="eVJK(S,cpRPLcwpXhW=c" x="8" y="718"><statement name="HANDLER"><block type="control_wait_us" id="F=(|JXWdz]r$#*~JM5^B"><value name="micros"><shadow type="math_number" id="KNX?7vOu?n9qw|@xF_0;"><field name="NUM">50000</field></shadow></value><next><block type="JoyCar_bias" id="h:XS%EsPcf^?B`Y~2?9["><field name="direction">LRDirection.Left</field><value name="percent"><shadow type="math_number_minmax" id="d^.9z@x/CoW+m:+LTOr9"><mutation min="0" max="100" label="Percent" precision="0"/><field name="SLIDER">0</field></shadow></value></block></next></block></statement></block></xml>