-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathred build site autonomous.blk
1 lines (1 loc) · 13.5 KB
/
red build site autonomous.blk
1
<xml xmlns="https://developers.google.com/blockly/xml"><block type="procedures_defnoreturn" id="WtpyD@tEu+EoY=P9iY,D" deletable="false" editable="false" x="50" y="50"><field name="NAME">runOpMode</field><comment pinned="true" h="32" w="532.09375">This function is executed when this Op Mode is selected from the Driver Station.</comment><statement name="STACK"><block type="comment" id="Lc#BFtj*NTB48YL;eBl."><field name="COMMENT">Put initialization blocks here.</field><next><block type="dcMotor_setProperty_Direction" id="Vw3fWeI)@(ePk?{5^@8O"><field name="IDENTIFIER">BRMAsDcMotor</field><field name="PROP">Direction</field><data>{"IDENTIFIER":"BRM"}</data><value name="VALUE"><shadow type="dcMotor_typedEnum_direction" id="Jziwq7S-m@_bb5N*|:4n"><field name="DIRECTION">REVERSE</field></shadow></value><next><block type="dcMotor_setProperty_Direction" id="DxE@cK6)CJegjfzyw(i2"><field name="IDENTIFIER">FRMAsDcMotor</field><field name="PROP">Direction</field><data>{"IDENTIFIER":"FRM"}</data><value name="VALUE"><shadow type="dcMotor_typedEnum_direction" id="qc;P~Ua_fB{]Pzdmag,U"><field name="DIRECTION">REVERSE</field></shadow></value><next><block type="servo_setProperty_Direction" id="z;u-?Ep$q9Iik|2+^/++"><field name="IDENTIFIER">boilerplate$AsServo</field><field name="PROP">Direction</field><data>{"IDENTIFIER":"boilerplate$"}</data><value name="VALUE"><shadow type="servo_typedEnum_direction" id="!AB;c!c{_4r?Rcs09oY|"><field name="DIRECTION">REVERSE</field></shadow></value><next><block type="servo_setProperty_Number" id="VKD(J2ByyABM]kv?}p)C"><field name="IDENTIFIER">boilerplateAsServo</field><field name="PROP">Position</field><data>{"IDENTIFIER":"boilerplate"}</data><value name="VALUE"><shadow type="math_number" id="6v1_.$3dpG~-Ai,pdJ?8"><field name="NUM">0</field></shadow></value><next><block type="servo_setProperty_Number" id="XP.CN)BFTcUA[}-(JKh3"><field name="IDENTIFIER">boilerplate$AsServo</field><field name="PROP">Position</field><data>{"IDENTIFIER":"boilerplate$"}</data><value name="VALUE"><shadow type="math_number" id="TL(d~!FoNqZbWgOU1oq7"><field name="NUM">0</field></shadow></value><next><block type="linearOpMode_waitForStart" id=":`$wN_ci`O;o6P0~.(+g"><next><block type="controls_if" id="RTL3$.x5GH*m7$aydy[^"><value name="IF0"><block type="linearOpMode_opModeIsActive" id="#sbhkfgjWshbMb)INY?P"/></value><statement name="DO0"><block type="comment" id="wZ_(ugtI.#~9a;RUg{cD"><field name="COMMENT">reverse off the wall 27in</field><next><block type="procedures_callnoreturn" id="[DpC!t}z/G;2!RH@kb_!"><mutation name="backward"/><next><block type="linearOpMode_sleep_Number" id="CE6]He]j9)vFAMF$2{$X"><value name="MILLISECONDS"><shadow type="math_number" id="cbtxP62yZ=3Gixr@.{F8"><field name="NUM">850</field></shadow></value><next><block type="procedures_callnoreturn" id="83K}WDF-Nf?*joXkir^y"><mutation name="right"/><next><block type="comment" id="EGco67=4gtFy7ggvK0O9"><field name="COMMENT">ailgn to the boilerplate</field><next><block type="linearOpMode_sleep_Number" id="ZseC;N)K.OM=fBM[E:d`"><value name="MILLISECONDS"><shadow type="math_number" id="}TnsO]mF=`AVfWjpa,Tt"><field name="NUM">1300</field></shadow></value><next><block type="comment" id=",{FlZTqNkN.IQuW$L;mv"><field name="COMMENT">move boilerplate movers to down position</field><next><block type="comment" id="cAbbNG^R^u7oP.CqMO%E"><field name="COMMENT">reverse with boiler plate</field><next><block type="procedures_callnoreturn" id="RIC6HCt~LYIr7jRJTxzN"><mutation name="stop"/><next><block type="linearOpMode_sleep_Number" id="I.}zX*!(gEp$e(HZ{~:f"><value name="MILLISECONDS"><shadow type="math_number" id="x%jGscTHmAD,L@q.d!d5"><field name="NUM">500</field></shadow></value><next><block type="procedures_callnoreturn" id="r~.!k*6:rsS1BPpzW@+D"><mutation name="do something"/><next><block type="procedures_callnoreturn" id="yoQl5Ja:#S}/*WEdk#:W"><mutation name="forward"/><next><block type="linearOpMode_sleep_Number" id="joC|Q~f,8gQ)[)ckH^IS"><value name="MILLISECONDS"><shadow type="math_number" id="*IYEot?NnF_5MN+;)jT/"><field name="NUM">1200</field></shadow></value><next><block type="procedures_callnoreturn" id=";p6TkLaD}jV`1_`9dkg)"><mutation name="stop"/><next><block type="linearOpMode_sleep_Number" id="EV;ADti~#gz.@W8e|k_c"><value name="MILLISECONDS"><shadow type="math_number" id="F-SPtEV}[vWrp2@-|K|M"><field name="NUM">500</field></shadow></value><next><block type="procedures_callnoreturn" id="^}9yNv3Qw5(Z[un_*tsI"><mutation name="do something2"/><next><block type="procedures_callnoreturn" id="Y{($y.6XC39Gvl9%gMJR"><mutation name="left"/><next><block type="linearOpMode_sleep_Number" id="hImB@7k^R![_KtC)6OBV"><value name="MILLISECONDS"><shadow type="math_number" id="/NFtv1kx,DU#.}MBs.w]"><field name="NUM">2300</field></shadow></value><next><block type="procedures_callnoreturn" id="^xU+dd|P0F/wn`id%B0}"><mutation name="stop"/><next><block type="linearOpMode_sleep_Number" id="LEf8Y@K1knh@0e{1Mn[F"><value name="MILLISECONDS"><shadow type="math_number" id="X@mr~:#/NS}?b]pXwQra"><field name="NUM">500</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block><block type="procedures_defnoreturn" id="Jb0rlLNBFC$pB3=.@Vf1" x="560" y="133"><field name="NAME">left</field><comment pinned="false" h="80" w="160">Describe this function...</comment><statement name="STACK"><block type="dcMotor_setDualProperty_Number" id="P39z7y/QsBjci.3_3iMS"><field name="PROP">Power</field><field name="IDENTIFIER1">BRMAsDcMotor</field><field name="IDENTIFIER2">FLMAsDcMotor</field><data>{"IDENTIFIER1":"BRM","IDENTIFIER2":"FLM"}</data><value name="VALUE1"><shadow type="math_number" id="Z|fz+=Oe@w6]C:-.-aVY"><field name="NUM">1</field></shadow></value><value name="VALUE2"><shadow type="math_number" id="N;854t(tysvMJ.`2k8{1"><field name="NUM">1</field></shadow></value><next><block type="dcMotor_setDualProperty_Number" id="T5?Ke,^aXMSNjeB=w9i@"><field name="PROP">Power</field><field name="IDENTIFIER1">BLMAsDcMotor</field><field name="IDENTIFIER2">FRMAsDcMotor</field><data>{"IDENTIFIER1":"BLM","IDENTIFIER2":"FRM"}</data><value name="VALUE1"><shadow type="math_number" id="YOT?C[U!0x6}`F5nxp(t"><field name="NUM">-1</field></shadow></value><value name="VALUE2"><shadow type="math_number" id="UGIkSJXhsAXXl@Y@uREG"><field name="NUM">-1</field></shadow></value></block></next></block></statement></block><block type="procedures_defnoreturn" id="ts`X`;_)+2-7TENIa~Ea" x="751" y="133"><field name="NAME">stop</field><comment pinned="false" h="80" w="160">Describe this function...</comment><statement name="STACK"><block type="dcMotor_setDualProperty_Number" id="LJZwiB$FQzg}(WtE[?8_"><field name="PROP">Power</field><field name="IDENTIFIER1">BRMAsDcMotor</field><field name="IDENTIFIER2">FLMAsDcMotor</field><data>{"IDENTIFIER1":"BRM","IDENTIFIER2":"FLM"}</data><value name="VALUE1"><shadow type="math_number" id="fgh{mx1I+9/ho22Ln4Yy"><field name="NUM">0</field></shadow></value><value name="VALUE2"><shadow type="math_number" id="AT~YT]+aCT|fS]TrWkE2"><field name="NUM">0</field></shadow></value><next><block type="dcMotor_setDualProperty_Number" id="Gh:;1|T$i+kLFdjl?C/^"><field name="PROP">Power</field><field name="IDENTIFIER1">BLMAsDcMotor</field><field name="IDENTIFIER2">FRMAsDcMotor</field><data>{"IDENTIFIER1":"BLM","IDENTIFIER2":"FRM"}</data><value name="VALUE1"><shadow type="math_number" id="(H=wO+rWlx,|]lbS62wM"><field name="NUM">0</field></shadow></value><value name="VALUE2"><shadow type="math_number" id="T=4.IlzXq*uTkh)Mv}[M"><field name="NUM">0</field></shadow></value></block></next></block></statement></block><block type="procedures_defnoreturn" id=",f3$3T0!}1}q:3X;LJ0e" x="958" y="126"><field name="NAME">backward</field><comment pinned="false" h="80" w="160">Describe this function...</comment><statement name="STACK"><block type="dcMotor_setDualProperty_Number" id="W(OnTe[Bh[U~$8-o,2A$"><field name="PROP">Power</field><field name="IDENTIFIER1">BRMAsDcMotor</field><field name="IDENTIFIER2">BLMAsDcMotor</field><data>{"IDENTIFIER1":"BRM","IDENTIFIER2":"BLM"}</data><value name="VALUE1"><shadow type="math_number" id="q[k-+d2~m#L{^D:I{$Bu"><field name="NUM">-1</field></shadow></value><value name="VALUE2"><shadow type="math_number" id=";9SV3~LtG`}mdB-ybIU["><field name="NUM">-1</field></shadow></value><next><block type="dcMotor_setDualProperty_Number" id="c*clk!Gn-4-VqbG$$1{V"><field name="PROP">Power</field><field name="IDENTIFIER1">FLMAsDcMotor</field><field name="IDENTIFIER2">FRMAsDcMotor</field><data>{"IDENTIFIER1":"FLM","IDENTIFIER2":"FRM"}</data><value name="VALUE1"><shadow type="math_number" id="WZ}XcWb|DZl!_!__-v8q"><field name="NUM">-1</field></shadow></value><value name="VALUE2"><shadow type="math_number" id="/1xf}jmLJZ5%78LULfL]"><field name="NUM">-1</field></shadow></value></block></next></block></statement></block><block type="procedures_defnoreturn" id="^}GIfywxeDDvOBjn4a4K" x="479" y="363"><field name="NAME">do something</field><comment pinned="false" h="80" w="160">Describe this function...</comment><statement name="STACK"><block type="controls_repeat_ext" id="1KSU1,,z)#*PW^5=2zv}"><value name="TIMES"><shadow type="math_number" id="#:db:ZQiP/+y$d;AzmXy"><field name="NUM">460</field></shadow></value><statement name="DO"><block type="servo_setProperty_Number" id="b4,qf?DmqpU^m_d+F*,X"><field name="IDENTIFIER">boilerplateAsServo</field><field name="PROP">Position</field><data>{"IDENTIFIER":"boilerplate"}</data><value name="VALUE"><shadow type="math_number" id="p7A2fq|PkiUv$9LHPptn"><field name="NUM">1</field></shadow></value><next><block type="servo_setProperty_Number" id="xaR#EoT9:f:[6Fu3)A?B"><field name="IDENTIFIER">boilerplate$AsServo</field><field name="PROP">Position</field><data>{"IDENTIFIER":"boilerplate$"}</data><value name="VALUE"><shadow type="math_number" id="`ft(+@9)Kl^+CejA@{Gz"><field name="NUM">1</field></shadow></value></block></next></block></statement></block></statement></block><block type="procedures_defnoreturn" id="IFwkJ$L{=:s=`YI5niQW" x="828" y="348"><field name="NAME">forward</field><comment pinned="false" h="80" w="160">Describe this function...</comment><statement name="STACK"><block type="dcMotor_setDualProperty_Number" id="4=m4y1=e.X?F{Zz}r;.i"><field name="PROP">Power</field><field name="IDENTIFIER1">BRMAsDcMotor</field><field name="IDENTIFIER2">BLMAsDcMotor</field><data>{"IDENTIFIER1":"BRM","IDENTIFIER2":"BLM"}</data><value name="VALUE1"><shadow type="math_number" id=")-rU)=Z](.hqZ6]i%5o,"><field name="NUM">1</field></shadow></value><value name="VALUE2"><shadow type="math_number" id="y_zug644n|dESP{Wf1D,"><field name="NUM">1</field></shadow></value><next><block type="dcMotor_setDualProperty_Number" id="R9#pSuz79|=s3{U2ZY.K"><field name="PROP">Power</field><field name="IDENTIFIER1">FRMAsDcMotor</field><field name="IDENTIFIER2">FLMAsDcMotor</field><data>{"IDENTIFIER1":"FRM","IDENTIFIER2":"FLM"}</data><value name="VALUE1"><shadow type="math_number" id="/8Pa%9smu~Kcy/p|:lSC"><field name="NUM">1</field></shadow></value><value name="VALUE2"><shadow type="math_number" id="fi|4!DCfRVg?Tt`9?){K"><field name="NUM">1</field></shadow></value></block></next></block></statement></block><block type="procedures_defnoreturn" id="#BDOY.Vxe.QVv2HR~*xH" x="1041" y="344"><field name="NAME">right</field><comment pinned="false" h="80" w="160">Describe this function...</comment><statement name="STACK"><block type="dcMotor_setDualProperty_Number" id="?31a.9:p6`E)iOc[t)Vm"><field name="PROP">Power</field><field name="IDENTIFIER1">BRMAsDcMotor</field><field name="IDENTIFIER2">FLMAsDcMotor</field><data>{"IDENTIFIER1":"BRM","IDENTIFIER2":"FLM"}</data><value name="VALUE1"><shadow type="math_number" id="[T)-Gk8**WQJyqMH:SL="><field name="NUM">-1</field></shadow></value><value name="VALUE2"><shadow type="math_number" id="8l5:eVi}M^`bo!?fp@J_"><field name="NUM">-1</field></shadow></value><next><block type="dcMotor_setDualProperty_Number" id="|n1!2!,B5S8=;POj|sOB"><field name="PROP">Power</field><field name="IDENTIFIER1">BLMAsDcMotor</field><field name="IDENTIFIER2">FRMAsDcMotor</field><data>{"IDENTIFIER1":"BLM","IDENTIFIER2":"FRM"}</data><value name="VALUE1"><shadow type="math_number" id="|lUY4Nf`{x_JXeu$iuKR"><field name="NUM">1</field></shadow></value><value name="VALUE2"><shadow type="math_number" id="(XuKh1|x8v$R3u8{-nr`"><field name="NUM">1</field></shadow></value></block></next></block></statement></block><block type="procedures_defnoreturn" id="xg/6qSsL{0}VhaW|zTWQ" x="736" y="590"><field name="NAME">do something2</field><comment pinned="false" h="80" w="160">Describe this function...</comment><statement name="STACK"><block type="servo_setProperty_Number" id="gS5J+EZ#+V9!v[CJVf[R"><field name="IDENTIFIER">boilerplateAsServo</field><field name="PROP">Position</field><data>{"IDENTIFIER":"boilerplate"}</data><value name="VALUE"><shadow type="math_number" id="7Rp~a`CUjWJlj}%Baa_("><field name="NUM">0</field></shadow></value><next><block type="servo_setProperty_Number" id="h|s]UP}3QEJ)P!x?tN0A"><field name="IDENTIFIER">boilerplate$AsServo</field><field name="PROP">Position</field><data>{"IDENTIFIER":"boilerplate$"}</data><value name="VALUE"><shadow type="math_number" id="Q@)`Ze`?(_u)uBN).r8k"><field name="NUM">0</field></shadow></value></block></next></block></statement></block></xml><?xml version='1.0' encoding='UTF-8' standalone='yes' ?><Extra><OpModeMeta flavor="AUTONOMOUS" group="" /><Enabled value="true" /></Extra>