-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.blocks
1 lines (1 loc) · 3.69 KB
/
main.blocks
1
<xml xmlns="https://developers.google.com/blockly/xml"><block type="pxt-on-start" id="8$ZCYMFiWUTxp8C`vvHU" x="0" y="16"><statement name="HANDLER"><block type="function_call" id="vJ3Zv8$APmfWUrZfd89k"><mutation name="goToTheCrane" functionid="QWS0LOyeBJ%LgFE|U]Ue"/><next><block type="function_call" id="K;tPiufg3Eo8KKc*k0bo"><mutation name="turnandrelease" functionid="mTC@~|b}~ASV*Uz~+r5l"/><next><block type="function_call" id="+xryTqwoSLzChH74}fH#"><mutation name="goback" functionid="i|^nZIaF}C%2}x`23d^d"/><next><block type="loopstop" id="5Q$2B=|^uhYcN^buXG)O"/></next></block></next></block></next></block></statement></block><block type="function_definition" id="-d([k;{=A%`a(S%.m]bS" x="386" y="16"><mutation name="goback" functionid="i|^nZIaF}C%2}x`23d^d"/><field name="function_name">goback</field><statement name="STACK"><block type="motorPairSteer" id="aFeec[f9#3jF=h,wkR-@"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><field name="chassis">motors.largeBC</field><field name="unit">MoveUnit.Degrees</field><value name="turnRatio"><shadow type="motorTurnRatioPicker"/><block type="math_number" id="4#FDqSOG[yHQ[wnC1-Tw"><field name="NUM">-20</field></block></value><value name="speed"><shadow type="motorSpeedPicker" id="nM(EEdB^wDJ1nOy$O(Zb"><field name="speed">50</field></shadow></value><value name="value"><shadow type="math_number" id="7+pyW?W9zumAO|-0d,j}"><field name="NUM">-1400</field></shadow></value></block></statement></block><block type="function_definition" id="#^Tyl{NmhEZx4bLI){.4" x="0" y="333"><mutation name="turnandrelease" functionid="mTC@~|b}~ASV*Uz~+r5l"/><field name="function_name">turnandrelease</field><statement name="STACK"><block type="motorRun" id="16a)FrT-/k$-35GRZWw?"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><field name="motor">motors.mediumA</field><field name="unit">MoveUnit.Degrees</field><value name="speed"><shadow type="motorSpeedPicker" id=",=w2*tZvSOQ._;HcA,wM"><field name="speed">20</field></shadow></value><value name="value"><shadow type="math_number" id="HGJtielQCHy$|L^EdD7o"><field name="NUM">60</field></shadow></value><next><block type="device_pause" id="AAVZ]VLpxbVWGIXz;+VE"><value name="pause"><shadow type="timePicker" id="}4@rk~?wtBarYJR,OQHJ"><field name="ms">200</field></shadow></value></block></next></block></statement></block><block type="function_definition" id="hK;jZlV*k:eO$Mys5N/;" x="663" y="333"><mutation name="goToTheCrane" functionid="QWS0LOyeBJ%LgFE|U]Ue"/><field name="function_name">goToTheCrane</field><statement name="STACK"><block type="motorPairSteer" id="CPDqgs(aim*;%eo[@W[o"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><field name="chassis">motors.largeBC</field><field name="unit">MoveUnit.Degrees</field><value name="turnRatio"><shadow type="motorTurnRatioPicker"/><block type="math_number" id=".5-MN;n5H^Hvu,A@(Rl)"><field name="NUM">-12</field></block></value><value name="speed"><shadow type="motorSpeedPicker" id="a_-y/U{,P$x.`aop?kpQ"><field name="speed">50</field></shadow></value><value name="value"><shadow type="math_number" id="d:,H3oc7N1j_%,y8m2c{"><field name="NUM">1720</field></shadow></value><next><block type="motorRun" id="Cu;+q]1)Mxd6(I!G++);"><mutation xmlns="http://www.w3.org/1999/xhtml" _expanded="2" _input_init="true"></mutation><field name="motor">motors.largeBC</field><field name="unit">MoveUnit.Degrees</field><value name="speed"><shadow type="motorSpeedPicker" id=",bPy)?^cbA9mka!bG^@l"><field name="speed">-10</field></shadow></value><value name="value"><shadow type="math_number" id="xo2!Y@ZCT}1UsL*y:LwB"><field name="NUM">150</field></shadow></value></block></next></block></statement></block></xml>