-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.blocks
1 lines (1 loc) · 4.64 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><variables><variable id="Lt|HacHwF6P^!,bAx#r2">groupnumber</variable></variables><block type="pxt-on-start" id=";HfHmo7v6L.*{3cZ=h5M" x="28" y="-311"><statement name="HANDLER"><block type="radio_set_group" id="!tRa+NWQrGU!FNtjJ^Cv"><value name="ID"><shadow type="math_number_minmax" id="_}2%HDv9{:TYs?Eu?c~V"><mutation min="0" max="255" label="Number" precision="0"/><field name="SLIDER">25</field></shadow></value><next><block type="kitronik_servolite_set_movement_speed_param" id="cCH)fP=zfbVjx/XKC.+^"><value name="DistPerSec"><shadow type="math_number" id="(D^brE9wfp4(!8XmT+d#"><field name="NUM">7</field></shadow></value><next><block type="kitronik_servolite_set_turn_speed_param" id="A_sBCAMwYu[d(N:N/e!{"><value name="DegPerSec"><shadow type="math_number" id="k{4,?[~F:?u/3lQ^~HY$"><field name="NUM">90</field></shadow></value><next><block type="basic_show_icon" id="+0Kq}nfUnjUjJ6?K:sik"><field name="i">IconNames.Happy</field></block></next></block></next></block></next></block></statement></block><block type="radio_on_number_drag" id="6XKrDvzGWQWuWV,=)zPO" x="0" y="0"><value name="HANDLER_DRAG_PARAM_receivedNumber"><shadow type="argument_reporter_number" id="e6he[.dey,xVMJ0ZFcn8"><field name="VALUE">receivedNumber</field></shadow></value><statement name="HANDLER"><block type="variables_set" id="#,~w(rHJAQyLdh|uk|m#"><field name="VAR" id="Lt|HacHwF6P^!,bAx#r2">groupnumber</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="argument_reporter_number" id="HGITsfPN5x=8Z8shiK4]"><field name="VALUE">receivedNumber</field></block></value><next><block type="controls_if" id="9r~;vj82zd7DkzCZX{vY"><mutation elseif="3"/><value name="IF0"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="27HAge^%ahoMZ}uFvTqn"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="A]a!]4WP4oA4N=|xbEcx"><field name="VAR" id="Lt|HacHwF6P^!,bAx#r2">groupnumber</field></block></value><value name="B"><shadow type="math_number" id="b?MFqxg|^KgA*jMm[8@."><field name="NUM">70</field></shadow></value></block></value><statement name="DO0"><block type="kitronik_servolite_turn_right" id="A}B@[mUOEe%?$P(:GH!A"><value name="deg"><shadow type="math_number" id="]_X/u2Bj}]E|Y07db]UI"><field name="NUM">90</field></shadow></value></block></statement><value name="IF1"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="x8LK;;e68}nqdybK|ukg"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="jGxL{[F*5H@SusHm+x@T"><field name="VAR" id="Lt|HacHwF6P^!,bAx#r2">groupnumber</field></block></value><value name="B"><shadow type="math_number" id="yxfPa[~h]g/T6r9|4#^0"><field name="NUM">33</field></shadow></value></block></value><statement name="DO1"><block type="kitronik_servolite_drive_forwards" id="%^WG]vHk7xS--=rs]-]W"><value name="howFar"><shadow type="math_number" id="(T%.6i};7i$^AS9=By)T"><field name="NUM">7</field></shadow></value></block></statement><value name="IF2"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="djOYu1|K3WYlhNFrXB0b"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="mD-%~++hDUH:^E+0AK`A"><field name="VAR" id="Lt|HacHwF6P^!,bAx#r2">groupnumber</field></block></value><value name="B"><shadow type="math_number" id="WK=q|n0TG;%PH,C`sn`@"><field name="NUM">28</field></shadow></value></block></value><statement name="DO2"><block type="kitronik_servolite_drive_backwards" id="]S_f(glIC-B;]S=EzL5n"><value name="howFar"><shadow type="math_number" id="m=hnIJ_6tp%j4IylO08Z"><field name="NUM">7</field></shadow></value></block></statement><value name="IF3"><shadow type="logic_boolean"><field name="BOOL">TRUE</field></shadow><block type="logic_compare" id="JYlGGuxCDVuJ7#AY2);{"><field name="OP">EQ</field><value name="A"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="variables_get" id="L5}RJoqfnU_Gm[XnIEB7"><field name="VAR" id="Lt|HacHwF6P^!,bAx#r2">groupnumber</field></block></value><value name="B"><shadow type="math_number" id="s!1G#Ue58mLF9!OqX1Y("><field name="NUM">71</field></shadow></value></block></value><statement name="DO3"><block type="kitronik_servolite_turn_left" id="FEA?7q$}TRnYK!zb_d$j"><value name="deg"><shadow type="math_number" id="(dkA+djQS/#NmJ6~(tq!"><field name="NUM">90</field></shadow></value></block></statement></block></next></block></statement></block></xml>