{"mode":"Blocks","workspace":"<xml xmlns=\"http://www.w3.org/1999/xhtml\"><variables><variable type=\"\" id=\"U`9aA+=)r+L1tzA.)-qi\" islocal=\"false\" iscloud=\"false\" arraylength=\"0\" arraywidth=\"0\">myVariable</variable><variable type=\"\" id=\"viuZbJ}DU[X@OJR_*7@O\" islocal=\"false\" iscloud=\"false\" arraylength=\"0\" arraywidth=\"0\">inertialLeft</variable><variable type=\"\" id=\"BQ{M41~[4rf|d$L^`T%-\" islocal=\"false\" iscloud=\"false\" arraylength=\"0\" arraywidth=\"0\">inertialRight</variable><variable type=\"\" id=\"[9dM7?^3p#0URfjnjAiR\" islocal=\"false\" iscloud=\"false\" arraylength=\"0\" arraywidth=\"0\">inertialMultiplier</variable><variable type=\"\" id=\"m?de]SkxWEcq9j+0[_}x\" islocal=\"false\" iscloud=\"false\" arraylength=\"0\" arraywidth=\"0\">deadzoneThreshold</variable></variables><comment id=\"}%(3{t$?wc_*?/?$60iT\" x=\"567\" y=\"-80\" h=\"255\" w=\"430\">Project:\n\nUsing MyBlocks (procedures &amp; encapsulation)\nand Driving options and seeing what the robot sees via printouts</comment><block type=\"v5_events_when_started\" id=\".NsXwU_L.OuU1l7Sho$F\" x=\"70\" y=\"-50\"><next><block type=\"v5_motion_set_motor_stopping\" id=\"3TdrF~#Z:juRO^^4]Be}\"><field name=\"MOTOR\">MotorArm</field><field name=\"MODE\">hold</field><next><block type=\"v5_motion_set_motor_velocity\" id=\"bDr{~(`Q$qE_^fj*X*t~\"><field name=\"MOTOR\">MotorArm</field><field name=\"UNITS\">pct</field><value name=\"VELOCITY\"><shadow type=\"math_number\" id=\"S5.ma6n$V4GlJSN)+UvN\"><field name=\"NUM\">50</field></shadow></value><next><block type=\"v5_motion_set_motor_stopping\" id=\"d2CH=KU!Hm,ZvHOL^A4~\"><field name=\"MOTOR\">MotorClaw</field><field name=\"MODE\">hold</field><next><block type=\"v5_motion_set_motor_velocity\" id=\"l~ev{X;QHLog0OK9!8qa\"><field name=\"MOTOR\">MotorClaw</field><field name=\"UNITS\">pct</field><value name=\"VELOCITY\"><shadow type=\"math_number\" id=\"_HZEK!7f%z0b#Cs#{;3.\"><field name=\"NUM\">25</field></shadow></value><next><block type=\"v5_motion_set_motor_stopping\" id=\"L]Q-XrfXWDro#oTSt$7j\"><field name=\"MOTOR\">MotorSideways</field><field name=\"MODE\">hold</field><next><block type=\"v5_motion_set_motor_velocity\" id=\"ydOr%/QNx2C[ynB}~_KM\"><field name=\"MOTOR\">MotorSideways</field><field name=\"UNITS\">pct</field><value name=\"VELOCITY\"><shadow type=\"math_number\" id=\"TO}r?egyEXus[#mi_uXm\"><field name=\"NUM\">25</field></shadow></value></block></next></block></next></block></next></block></next></block></next></block></next></block><block type=\"v5_events_when_autonomous\" id=\"/5|oySyMdap%?^)-}p=r\" x=\"70\" y=\"350\"></block><block type=\"v5_events_when_driver\" id=\"e~T2,zt%S!8$!#T7_QFH\" x=\"70\" y=\"510\"><next><block type=\"v5_control_forever\" id=\"{^cc;]qyTUQ{WbiK}UST\"><statement name=\"SUBSTACK\"><block type=\"procedures_call\" id=\";Xzv_7Q@g^UELQX6E9Om\"><mutation proccode=\"moveArm: %b %b\" proceduredefid=\"eo7b=T/bdXCJKC!`0`a|\" argumentids=\"[&quot;56KNS[OUkA|[Z+VEX,Wu&quot;,&quot;wLH*pKy$K^q=_$M:4REo&quot;]\" warp=\"false\"></mutation><value name=\"56KNS[OUkA|[Z+VEX,Wu\"><shadow type=\"procedure_bool_input\" id=\"*3E?-usxlHT#=][NCC+}\"><field name=\"BOOLVALUE\">true</field></shadow><block type=\"v5_sensing_pressing_controller\" id=\"bAL^qf3BcqCGs;@51M1n\"><field name=\"CONTROLLER\">Controller1</field><field name=\"BUTTON\">ButtonL1</field></block></value><value name=\"wLH*pKy$K^q=_$M:4REo\"><shadow type=\"procedure_bool_input\" id=\"QFFTj@;}#2K2{0ozFtZN\"><field name=\"BOOLVALUE\">true</field></shadow><block type=\"v5_sensing_pressing_controller\" id=\"Dl~=*8Uq{@X7rt)zjYW;\"><field name=\"CONTROLLER\">Controller1</field><field name=\"BUTTON\">ButtonL2</field></block></value><next><block type=\"procedures_call\" id=\"_q~$T0yrP5-j!.(.}/r6\"><mutation proccode=\"moveClaw: %b %b\" proceduredefid=\"R:2w%E)z{UiAt?G-u}.C\" argumentids=\"[&quot;p=jKl|nPg+$FvQ.9X-xe&quot;,&quot;oCVn-hgsaVq.,M7ehg;Y&quot;]\" warp=\"false\"></mutation><value name=\"p=jKl|nPg+$FvQ.9X-xe\"><shadow type=\"procedure_bool_input\" id=\"7%}GE]l{AH#N4Z(?sy%I\"><field name=\"BOOLVALUE\">true</field></shadow><block type=\"v5_sensing_pressing_controller\" id=\"t8vFip~{vh=v.5]JTIWY\"><field name=\"CONTROLLER\">Controller1</field><field name=\"BUTTON\">ButtonR1</field></block></value><value name=\"oCVn-hgsaVq.,M7ehg;Y\"><shadow type=\"procedure_bool_input\" id=\"qCMdiy|A;4+ktnFiHP*o\"><field name=\"BOOLVALUE\">true</field></shadow><block type=\"v5_sensing_pressing_controller\" id=\"Vu#o`$oe:MWG^rraJj2R\"><field name=\"CONTROLLER\">Controller1</field><field name=\"BUTTON\">ButtonR2</field></block></value><next><block type=\"procedures_call\" id=\"K,Yu=T-y!`RGVeED50mW\"><mutation proccode=\"driveBaseArcade: %n %n\" proceduredefid=\"c--p2mDq.jJho$sHV8ti\" argumentids=\"[&quot;;,^LS,;#YP5+mg(xeApQ&quot;,&quot;Aq`J3J58*QsGqvy7L#vH&quot;]\" warp=\"false\"></mutation><value name=\";,^LS,;#YP5+mg(xeApQ\"><shadow type=\"math_number\" id=\"lw?t3EfT`VV52YEv6UGn\"><field name=\"NUM\">1</field></shadow><block type=\"v5_sensing_position_of_controller\" id=\"!w,0raG|N)-SQ+NK]LBU\"><field name=\"CONTROLLER\">Controller1</field><field name=\"AXIS\">Axis3</field></block></value><value name=\"Aq`J3J58*QsGqvy7L#vH\"><shadow type=\"math_number\" id=\"nY%S*:ej+R{1)Rklo2Z]\"><field name=\"NUM\">1</field></shadow><block type=\"v5_sensing_position_of_controller\" id=\"qj0L3W/ZV3}-;`-|Meq=\"><field name=\"CONTROLLER\">Controller1</field><field name=\"AXIS\">Axis4</field></block></value><next><block type=\"procedures_call\" id=\"!}p?Fwq$nXve%uT}[(5e\"><mutation proccode=\"moveSideways: velocity %n\" proceduredefid=\"#jc4$Go6w9[4J]$2%p$P\" argumentids=\"[&quot;]fIRTT.hzywh*@foQVq-&quot;]\" warp=\"false\"></mutation><value name=\"]fIRTT.hzywh*@foQVq-\"><shadow type=\"math_number\" id=\"g=!xml9K0JBmC~CcxcYA\"><field name=\"NUM\">1</field></shadow><block type=\"v5_sensing_position_of_controller\" id=\"t5:Lr$ftG?8=buk,Y_g?\"><field name=\"CONTROLLER\">Controller1</field><field name=\"AXIS\">Axis1</field></block></value></block></next></block></next></block></next></block></statement></block></next></block><block type=\"procedures_definition\" id=\":Q,?nO:G$A!S%QVKmV#I\" x=\"70\" y=\"970\"><statement name=\"custom_block\"><shadow type=\"procedures_prototype\" id=\"eo7b=T/bdXCJKC!`0`a|\"><mutation proccode=\"moveArm: %b %b\" proceduredefid=\"eo7b=T/bdXCJKC!`0`a|\" argumentids=\"[&quot;56KNS[OUkA|[Z+VEX,Wu&quot;,&quot;wLH*pKy$K^q=_$M:4REo&quot;]\" argumentnames=\"[&quot;raise_bool&quot;,&quot;lower_bool&quot;]\" argumentdefaults=\"[&quot;todo&quot;,&quot;todo&quot;,&quot;todo&quot;,&quot;todo&quot;,&quot;todo&quot;]\" argumenttypes=\"[&quot;b&quot;,&quot;b&quot;]\" warp=\"false\"></mutation><value name=\"56KNS[OUkA|[Z+VEX,Wu\"><shadow type=\"argument_reporter_boolean\" id=\"mj#G@rqoyJHijtx7%Yr}\"><mutation funcname=\"moveArm:_raise_bool_lower_bool\" argumentid=\"56KNS[OUkA|[Z+VEX,Wu\" proceduredefid=\"eo7b=T/bdXCJKC!`0`a|\"></mutation><field name=\"VALUE\">raise_bool</field></shadow></value><value name=\"wLH*pKy$K^q=_$M:4REo\"><shadow type=\"argument_reporter_boolean\" id=\"n,EB~():E1`[?QgAkb+x\"><mutation funcname=\"moveArm:_raise_bool_lower_bool\" argumentid=\"wLH*pKy$K^q=_$M:4REo\" proceduredefid=\"eo7b=T/bdXCJKC!`0`a|\"></mutation><field name=\"VALUE\">lower_bool</field></shadow></value></shadow></statement><next><block type=\"v5_other_comment\" id=\"sb@GU!pL-aVdbsbeaKXq\"><value name=\"COMMENT\"><shadow type=\"comment_text\" id=\"NCO3Cgn7V)^nfu74mS_/\"><field name=\"comment\">Control Arm</field></shadow></value><next><block type=\"v5_control_if_elseif_else\" id=\"R-DH{q/futh,/0DV}lyA\"><mutation branches=\"2\"></mutation><field name=\"BRANCH_BLANK\">node_modules/@rm-vca/blockly/media/../../../../static/img/ui_imgs/elseif_blank.png</field><field name=\"BRANCH_REMOVE\">node_modules/@rm-vca/blockly/media/../../../../static/img/ui_imgs/elseif_blank.png</field><field name=\"BRANCH_ADD\">node_modules/@rm-vca/blockly/media/../../../../static/img/ui_imgs/elseif_add.png</field><value name=\"CONDITION1\"><block type=\"argument_reporter_boolean\" id=\"5Q]B,|;);%+;Q,eq$q2$\"><mutation funcname=\"moveArm:_raise_bool_lower_bool\" argumentid=\"56KNS[OUkA|[Z+VEX,Wu\" proceduredefid=\"eo7b=T/bdXCJKC!`0`a|\"></mutation><field name=\"VALUE\">raise_bool</field></block></value><statement name=\"SUBSTACK1\"><block type=\"v5_motion_spin\" id=\"-v;]pRe,yKPW%(U|votC\"><field name=\"MOTOR\">MotorArm</field><field name=\"DIRECTION\">fwd</field></block></statement><value name=\"CONDITION2\"><block type=\"argument_reporter_boolean\" id=\",p[8w=@4X:ra[mhd81(v\"><mutation funcname=\"moveArm:_raise_bool_lower_bool\" argumentid=\"wLH*pKy$K^q=_$M:4REo\" proceduredefid=\"eo7b=T/bdXCJKC!`0`a|\"></mutation><field name=\"VALUE\">lower_bool</field></block></value><statement name=\"SUBSTACK2\"><block type=\"v5_motion_spin\" id=\"b/}P9I^h#lFzi^79(n$4\"><field name=\"MOTOR\">MotorArm</field><field name=\"DIRECTION\">rev</field></block></statement><statement name=\"SUBSTACK_ELSE\"><block type=\"v5_motion_stop_motor\" id=\"NyYHU}DH/I@F2`X}}*aC\"><field name=\"MOTOR\">MotorArm</field></block></statement></block></next></block></next></block><block type=\"procedures_definition\" id=\"RCKB]o%y,/:kc~GA`OcK\" x=\"70\" y=\"1470\"><statement name=\"custom_block\"><shadow type=\"procedures_prototype\" id=\"-(W6SF!#z$7|XR|lUTqs\"><mutation proccode=\"driveBaseArcade: %n %n\" proceduredefid=\"-(W6SF!#z$7|XR|lUTqs\" argumentids=\"[&quot;;,^LS,;#YP5+mg(xeApQ&quot;,&quot;Aq`J3J58*QsGqvy7L#vH&quot;]\" argumentnames=\"[&quot;fwdVelocity&quot;,&quot;turnVelocity&quot;]\" argumentdefaults=\"[&quot;todo&quot;,&quot;todo&quot;]\" argumenttypes=\"[&quot;n&quot;,&quot;n&quot;]\" warp=\"false\"></mutation><value name=\";,^LS,;#YP5+mg(xeApQ\"><shadow type=\"argument_reporter_number\" id=\"gc/4$bhrKNvA35BzAqE(\"><mutation funcname=\"driveBaseArcade:_fwdVelocity_turnVelocity\" argumentid=\";,^LS,;#YP5+mg(xeApQ\" proceduredefid=\"-(W6SF!#z$7|XR|lUTqs\"></mutation><field name=\"VALUE\">fwdVelocity</field></shadow></value><value name=\"Aq`J3J58*QsGqvy7L#vH\"><shadow type=\"argument_reporter_number\" id=\"=,6AxamQ=`w.`C6vS,cK\"><mutation funcname=\"driveBaseArcade:_fwdVelocity_turnVelocity\" argumentid=\"Aq`J3J58*QsGqvy7L#vH\" proceduredefid=\"-(W6SF!#z$7|XR|lUTqs\"></mutation><field name=\"VALUE\">turnVelocity</field></shadow></value></shadow></statement><next><block type=\"v5_motion_set_motor_velocity\" id=\"_!@@[XWatm!1@tR9B1CY\"><field name=\"MOTOR\">MotorLeft</field><field name=\"UNITS\">pct</field><value name=\"VELOCITY\"><shadow type=\"math_number\" id=\"TH3g2u:c`ype7^Au/c_q\"><field name=\"NUM\">50</field></shadow><block type=\"v5_operator_add\" id=\"NX!Jw-,+5F#[8{mWF5!z\"><value name=\"NUM1\"><shadow type=\"math_number\" id=\"%V$de-q1*HAA?|iMN+?,\"><field name=\"NUM\"></field></shadow><block type=\"argument_reporter_number\" id=\"urbY2-[;UGSR?]G0^}~G\"><mutation funcname=\"driveBaseArcade:_fwdVelocity_turnVelocity\" argumentid=\";,^LS,;#YP5+mg(xeApQ\" proceduredefid=\"-(W6SF!#z$7|XR|lUTqs\"></mutation><field name=\"VALUE\">fwdVelocity</field></block></value><value name=\"NUM2\"><shadow type=\"math_number\" id=\"DrPW?pcC^H_z4w?Au}$D\"><field name=\"NUM\"></field></shadow><block type=\"argument_reporter_number\" id=\"Y0S@c$)y$J0/y_I+!r}N\"><mutation funcname=\"driveBaseArcade:_fwdVelocity_turnVelocity\" argumentid=\"Aq`J3J58*QsGqvy7L#vH\" proceduredefid=\"-(W6SF!#z$7|XR|lUTqs\"></mutation><field name=\"VALUE\">turnVelocity</field></block></value></block></value><next><block type=\"v5_motion_spin\" id=\"4^wC:Sm-*nb)5nDuB2tk\"><field name=\"MOTOR\">MotorLeft</field><field name=\"DIRECTION\">fwd</field><next><block type=\"v5_motion_set_motor_velocity\" id=\"3-JH?w4e@],,V`k0d1qL\"><field name=\"MOTOR\">MotorRight</field><field name=\"UNITS\">pct</field><value name=\"VELOCITY\"><shadow type=\"math_number\" id=\"q6!~uNi@R|_M#ria-D[e\"><field name=\"NUM\">50</field></shadow><block type=\"v5_operator_subtract\" id=\"l-0KU/~WAGq{oXu1+v4s\"><value name=\"NUM1\"><shadow type=\"math_number\" id=\"qoibAb0-3vgS$n-@!Ni{\"><field name=\"NUM\"></field></shadow><block type=\"argument_reporter_number\" id=\"@P+H{f:Al+_-qq!}Us6?\"><mutation funcname=\"driveBaseArcade:_fwdVelocity_turnVelocity\" argumentid=\";,^LS,;#YP5+mg(xeApQ\" proceduredefid=\"-(W6SF!#z$7|XR|lUTqs\"></mutation><field name=\"VALUE\">fwdVelocity</field></block></value><value name=\"NUM2\"><shadow type=\"math_number\" id=\"`,,!I-Rx$`7MkTyKR#sI\"><field name=\"NUM\"></field></shadow><block type=\"argument_reporter_number\" id=\"A+~Kd))xF9^VCmx|5j/v\"><mutation funcname=\"driveBaseArcade:_fwdVelocity_turnVelocity\" argumentid=\"Aq`J3J58*QsGqvy7L#vH\" proceduredefid=\"-(W6SF!#z$7|XR|lUTqs\"></mutation><field name=\"VALUE\">turnVelocity</field></block></value></block></value><next><block type=\"v5_motion_spin\" id=\"ul1@D~DGY)jkM;u3nl1j\"><field name=\"MOTOR\">MotorRight</field><field name=\"DIRECTION\">fwd</field></block></next></block></next></block></next></block></next></block><block type=\"procedures_definition\" id=\"Gb)7yC@#GYvbp3xG$h6H\" x=\"70\" y=\"1810\"><statement name=\"custom_block\"><shadow type=\"procedures_prototype\" id=\".P6dvvgnCte1qghE,~Rt\"><mutation proccode=\"DriveBaseTank: %n %n\" proceduredefid=\".P6dvvgnCte1qghE,~Rt\" argumentids=\"[&quot;}LonIF2.5/l2oZV.|*q#&quot;,&quot;Y1+@^n25;.x4Rn~{9iQ1&quot;]\" argumentnames=\"[&quot;leftVelocity&quot;,&quot;rightVelocity&quot;]\" argumentdefaults=\"[&quot;todo&quot;,&quot;todo&quot;,&quot;todo&quot;,&quot;todo&quot;,&quot;todo&quot;,&quot;todo&quot;]\" argumenttypes=\"[&quot;n&quot;,&quot;n&quot;]\" warp=\"false\"></mutation><value name=\"}LonIF2.5/l2oZV.|*q#\"><shadow type=\"argument_reporter_number\" id=\"8wE-ZFmYvN]]CZ7)OqRt\"><mutation funcname=\"DriveBaseTank:_leftVelocity_rightVelocity\" argumentid=\"}LonIF2.5/l2oZV.|*q#\" proceduredefid=\".P6dvvgnCte1qghE,~Rt\"></mutation><field name=\"VALUE\">leftVelocity</field></shadow></value><value name=\"Y1+@^n25;.x4Rn~{9iQ1\"><shadow type=\"argument_reporter_number\" id=\"o5c%3NV~n|W_zNE~T}o/\"><mutation funcname=\"DriveBaseTank:_leftVelocity_rightVelocity\" argumentid=\"Y1+@^n25;.x4Rn~{9iQ1\" proceduredefid=\".P6dvvgnCte1qghE,~Rt\"></mutation><field name=\"VALUE\">rightVelocity</field></shadow></value></shadow></statement><next><block type=\"v5_motion_set_motor_velocity\" id=\"W-$_TLC)dbH8e(84WG{k\"><field name=\"MOTOR\">MotorLeft</field><field name=\"UNITS\">pct</field><value name=\"VELOCITY\"><shadow type=\"math_number\" id=\",0yRF33;9H#YiK%5mz+/\"><field name=\"NUM\">50</field></shadow><block type=\"argument_reporter_number\" id=\"22Z5#,cUV:Ss;[0sCued\"><mutation funcname=\"DriveBaseTank:_leftVelocity_rightVelocity\" argumentid=\"}LonIF2.5/l2oZV.|*q#\" proceduredefid=\".P6dvvgnCte1qghE,~Rt\"></mutation><field name=\"VALUE\">leftVelocity</field></block></value><next><block type=\"v5_motion_spin\" id=\"n)~E^VCYZ3[v74!tIB%^\"><field name=\"MOTOR\">MotorLeft</field><field name=\"DIRECTION\">fwd</field><next><block type=\"v5_motion_set_motor_velocity\" id=\"C,M3RzW(pPo~Es`j*b`9\"><field name=\"MOTOR\">MotorRight</field><field name=\"UNITS\">pct</field><value name=\"VELOCITY\"><shadow type=\"math_number\" id=\"3*cbtCqM%A1eth.GCUIF\"><field name=\"NUM\">50</field></shadow><block type=\"argument_reporter_number\" id=\"V_!a?q%Ivw`1?#v_1//;\"><mutation funcname=\"DriveBaseTank:_leftVelocity_rightVelocity\" argumentid=\"Y1+@^n25;.x4Rn~{9iQ1\" proceduredefid=\".P6dvvgnCte1qghE,~Rt\"></mutation><field name=\"VALUE\">rightVelocity</field></block></value><next><block type=\"v5_motion_spin\" id=\"VJ+wbs0L5/OXdI$BnwDb\"><field name=\"MOTOR\">MotorRight</field><field name=\"DIRECTION\">fwd</field></block></next></block></next></block></next></block></next></block><block type=\"procedures_definition\" id=\"s*R4J;JJ|2CS5K!b+i_h\" x=\"70\" y=\"2210\"><statement name=\"custom_block\"><shadow type=\"procedures_prototype\" id=\"#jc4$Go6w9[4J]$2%p$P\"><mutation proccode=\"moveSideways: velocity %n\" proceduredefid=\"#jc4$Go6w9[4J]$2%p$P\" argumentids=\"[&quot;]fIRTT.hzywh*@foQVq-&quot;]\" argumentnames=\"[&quot;sideways_velocity&quot;]\" argumentdefaults=\"[&quot;todo&quot;]\" argumenttypes=\"[&quot;n&quot;]\" warp=\"false\"></mutation><value name=\"]fIRTT.hzywh*@foQVq-\"><shadow type=\"argument_reporter_number\" id=\"XZq{Tg`cE8;Y.K#?hCn(\"><mutation funcname=\"moveSideways:_velocity_sideways_velocity\" argumentid=\"]fIRTT.hzywh*@foQVq-\" proceduredefid=\"#jc4$Go6w9[4J]$2%p$P\"></mutation><field name=\"VALUE\">sideways_velocity</field></shadow></value></shadow></statement><next><block type=\"v5_motion_set_motor_velocity\" id=\"f4xU,,tN=IvIUn~,CyA)\"><field name=\"MOTOR\">MotorSideways</field><field name=\"UNITS\">pct</field><value name=\"VELOCITY\"><shadow type=\"math_number\" id=\"/%DZ4Oj5UF{wJD~jf,IR\"><field name=\"NUM\">50</field></shadow><block type=\"argument_reporter_number\" id=\"TB#$pw^S8O:SB?udr{P:\"><mutation funcname=\"moveSideways:_velocity_sideways_velocity\" argumentid=\"]fIRTT.hzywh*@foQVq-\" proceduredefid=\"#jc4$Go6w9[4J]$2%p$P\"></mutation><field name=\"VALUE\">sideways_velocity</field></block></value><next><block type=\"v5_motion_spin\" id=\"L.:e{]HfNGz]aA7|t-zH\"><field name=\"MOTOR\">MotorSideways</field><field name=\"DIRECTION\">fwd</field></block></next></block></next></block><block type=\"procedures_definition\" id=\"Nhts`Izw)O8)oK/c02VU\" x=\"70\" y=\"2430\"><statement name=\"custom_block\"><shadow type=\"procedures_prototype\" id=\"R:2w%E)z{UiAt?G-u}.C\"><mutation proccode=\"moveClaw: %b %b\" proceduredefid=\"R:2w%E)z{UiAt?G-u}.C\" argumentids=\"[&quot;p=jKl|nPg+$FvQ.9X-xe&quot;,&quot;oCVn-hgsaVq.,M7ehg;Y&quot;]\" argumentnames=\"[&quot;open_bool&quot;,&quot;close_bool&quot;]\" argumentdefaults=\"[&quot;todo&quot;,&quot;todo&quot;]\" argumenttypes=\"[&quot;b&quot;,&quot;b&quot;]\" warp=\"false\"></mutation><value name=\"p=jKl|nPg+$FvQ.9X-xe\"><shadow type=\"argument_reporter_boolean\" id=\"Y=P9zrb{8%vajCe96Rbz\"><mutation funcname=\"moveClaw:_open_bool_close_bool\" argumentid=\"p=jKl|nPg+$FvQ.9X-xe\" proceduredefid=\"R:2w%E)z{UiAt?G-u}.C\"></mutation><field name=\"VALUE\">open_bool</field></shadow></value><value name=\"oCVn-hgsaVq.,M7ehg;Y\"><shadow type=\"argument_reporter_boolean\" id=\"^NPv(84?cY*Q:v5fef$]\"><mutation funcname=\"moveClaw:_open_bool_close_bool\" argumentid=\"oCVn-hgsaVq.,M7ehg;Y\" proceduredefid=\"R:2w%E)z{UiAt?G-u}.C\"></mutation><field name=\"VALUE\">close_bool</field></shadow></value></shadow></statement><next><block type=\"v5_other_comment\" id=\"6VMUC^hS`@9!QS@ef%!U\"><value name=\"COMMENT\"><shadow type=\"comment_text\" id=\"+[/q:k5J33r?t?^jtJLF\"><field name=\"comment\">control Claw</field></shadow></value><next><block type=\"v5_control_if_elseif_else\" id=\"R3iv.b/BQ75{!z3DtxLt\"><mutation branches=\"2\"></mutation><field name=\"BRANCH_BLANK\">node_modules/@rm-vca/blockly/media/../../../../static/img/ui_imgs/elseif_blank.png</field><field name=\"BRANCH_REMOVE\">node_modules/@rm-vca/blockly/media/../../../../static/img/ui_imgs/elseif_blank.png</field><field name=\"BRANCH_ADD\">node_modules/@rm-vca/blockly/media/../../../../static/img/ui_imgs/elseif_add.png</field><value name=\"CONDITION1\"><block type=\"argument_reporter_boolean\" id=\"p215yfsQwp[F,e4jnE+f\"><mutation funcname=\"moveClaw:_open_bool_close_bool\" argumentid=\"p=jKl|nPg+$FvQ.9X-xe\" proceduredefid=\"R:2w%E)z{UiAt?G-u}.C\"></mutation><field name=\"VALUE\">open_bool</field></block></value><statement name=\"SUBSTACK1\"><block type=\"v5_motion_spin\" id=\"R-;13TFrozZSD7[-Utdt\"><field name=\"MOTOR\">MotorClaw</field><field name=\"DIRECTION\">fwd</field></block></statement><value name=\"CONDITION2\"><block type=\"argument_reporter_boolean\" id=\"G)jj7w8D)fb}+f)pBx,F\"><mutation funcname=\"moveClaw:_open_bool_close_bool\" argumentid=\"oCVn-hgsaVq.,M7ehg;Y\" proceduredefid=\"R:2w%E)z{UiAt?G-u}.C\"></mutation><field name=\"VALUE\">close_bool</field></block></value><statement name=\"SUBSTACK2\"><block type=\"v5_motion_spin\" id=\"y/).2~0-JT$SlXmz=0!,\"><field name=\"MOTOR\">MotorClaw</field><field name=\"DIRECTION\">rev</field></block></statement><statement name=\"SUBSTACK_ELSE\"><block type=\"v5_motion_stop_motor\" id=\"lS9,c]:EB$de|Xa97R*^\"><field name=\"MOTOR\">MotorClaw</field></block></statement></block></next></block></next></block><block type=\"procedures_definition\" id=\"Hp[Lk]e18=BOc(-CHNL9\" x=\"70\" y=\"2930\"><statement name=\"custom_block\"><shadow type=\"procedures_prototype\" id=\"5^]9IR9-0;U2$z=9wGeT\"><mutation proccode=\"printJoystickValues: %n %n %n %n\" proceduredefid=\"5^]9IR9-0;U2$z=9wGeT\" argumentids=\"[&quot;S0d%{2TbJd!6_F!Rgd(U&quot;,&quot;_9T!=jAz5/mhPQ19T7^=&quot;,&quot;0@gNiWx#2(ydN)FP`Y3=&quot;,&quot;|x6yCjI?e,@)I$bI1r5F&quot;]\" argumentnames=\"[&quot;J1_value&quot;,&quot;J2_value&quot;,&quot;J3_value&quot;,&quot;J4_value&quot;]\" argumentdefaults=\"[&quot;todo&quot;,&quot;todo&quot;,&quot;todo&quot;,&quot;todo&quot;]\" argumenttypes=\"[&quot;n&quot;,&quot;n&quot;,&quot;n&quot;,&quot;n&quot;]\" warp=\"false\"></mutation><value name=\"S0d%{2TbJd!6_F!Rgd(U\"><shadow type=\"argument_reporter_number\" id=\"P=9I]~lPCI8Csi[lXGMG\"><mutation funcname=\"printJoystickValues:_J1_value_J2_value_J3_value_J4_value\" argumentid=\"S0d%{2TbJd!6_F!Rgd(U\" proceduredefid=\"5^]9IR9-0;U2$z=9wGeT\"></mutation><field name=\"VALUE\">J1_value</field></shadow></value><value name=\"_9T!=jAz5/mhPQ19T7^=\"><shadow type=\"argument_reporter_number\" id=\"ge7|K0vP],A}YzCmC_wL\"><mutation funcname=\"printJoystickValues:_J1_value_J2_value_J3_value_J4_value\" argumentid=\"_9T!=jAz5/mhPQ19T7^=\" proceduredefid=\"5^]9IR9-0;U2$z=9wGeT\"></mutation><field name=\"VALUE\">J2_value</field></shadow></value><value name=\"0@gNiWx#2(ydN)FP`Y3=\"><shadow type=\"argument_reporter_number\" id=\".|;ejN+Cl.q.USh9Bg+p\"><mutation funcname=\"printJoystickValues:_J1_value_J2_value_J3_value_J4_value\" argumentid=\"0@gNiWx#2(ydN)FP`Y3=\" proceduredefid=\"5^]9IR9-0;U2$z=9wGeT\"></mutation><field name=\"VALUE\">J3_value</field></shadow></value><value name=\"|x6yCjI?e,@)I$bI1r5F\"><shadow type=\"argument_reporter_number\" id=\"rHwh*Do,LWhL0X0,jLN1\"><mutation funcname=\"printJoystickValues:_J1_value_J2_value_J3_value_J4_value\" argumentid=\"|x6yCjI?e,@)I$bI1r5F\" proceduredefid=\"5^]9IR9-0;U2$z=9wGeT\"></mutation><field name=\"VALUE\">J4_value</field></shadow></value></shadow></statement><next><block type=\"v5_looks_print\" id=\"/G5odOejMo[2j7FKcsy-\"><field name=\"TARGET\">Console</field><field name=\"andsetcursortonextrow_mutator\">FALSE</field><value name=\"DATA\"><shadow type=\"text\" id=\"w_?BLj=LkZ#J5ijym$TF\"><field name=\"TEXT\">J1: </field></shadow></value><next><block type=\"v5_looks_print\" id=\"Dq+T/eK}g76EELD8hWFW\"><field name=\"TARGET\">Console</field><field name=\"andsetcursortonextrow_mutator\">FALSE</field><value name=\"DATA\"><shadow type=\"text\" id=\")?@#6xW._Uhm:Vn/ZvSD\"><field name=\"TEXT\">J1: </field></shadow><block type=\"argument_reporter_number\" id=\"d.olr:m?Oevz9RPvz(xj\"><mutation funcname=\"printJoystickValues:_J1_value_J2_value_J3_value_J4_value\" argumentid=\"S0d%{2TbJd!6_F!Rgd(U\" proceduredefid=\"5^]9IR9-0;U2$z=9wGeT\"></mutation><field name=\"VALUE\">J1_value</field></block></value><next><block type=\"v5_looks_print\" id=\"A--792#gb7.,bv.zXdv4\"><field name=\"TARGET\">Console</field><field name=\"andsetcursortonextrow_mutator\">FALSE</field><value name=\"DATA\"><shadow type=\"text\" id=\"}QnCs,cNf[Q^zUhra2GL\"><field name=\"TEXT\"> - J2: </field></shadow></value><next><block type=\"v5_looks_print\" id=\"w-m!*da8;{oD#q6GJWVk\"><field name=\"TARGET\">Console</field><field name=\"andsetcursortonextrow_mutator\">FALSE</field><value name=\"DATA\"><shadow type=\"text\" id=\"qflv+GOpJPziydWX.dF(\"><field name=\"TEXT\">J1: </field></shadow><block type=\"argument_reporter_number\" id=\"bFC(Snr^rMrA;xImQ`sc\"><mutation funcname=\"printJoystickValues:_J1_value_J2_value_J3_value_J4_value\" argumentid=\"_9T!=jAz5/mhPQ19T7^=\" proceduredefid=\"5^]9IR9-0;U2$z=9wGeT\"></mutation><field name=\"VALUE\">J2_value</field></block></value><next><block type=\"v5_looks_print\" id=\"z%-k1i_cBh-o16V-T0kF\"><field name=\"TARGET\">Console</field><field name=\"andsetcursortonextrow_mutator\">FALSE</field><value name=\"DATA\"><shadow type=\"text\" id=\"]xD]ec,#wSaq{}Y.f1fe\"><field name=\"TEXT\"> - J3: </field></shadow></value><next><block type=\"v5_looks_print\" id=\"1HE4swo-ZqkDzhy2],ci\"><field name=\"TARGET\">Console</field><field name=\"andsetcursortonextrow_mutator\">FALSE</field><value name=\"DATA\"><shadow type=\"text\" id=\"B,SlzZYJ::FxD7WT{Mmp\"><field name=\"TEXT\">J1: </field></shadow><block type=\"argument_reporter_number\" id=\"3r6x=%+)J-Nv^l7p/d.~\"><mutation funcname=\"printJoystickValues:_J1_value_J2_value_J3_value_J4_value\" argumentid=\"0@gNiWx#2(ydN)FP`Y3=\" proceduredefid=\"5^]9IR9-0;U2$z=9wGeT\"></mutation><field name=\"VALUE\">J3_value</field></block></value><next><block type=\"v5_looks_print\" id=\"4]hS/w{{+:T=:.TR9m0I\"><field name=\"TARGET\">Console</field><field name=\"andsetcursortonextrow_mutator\">FALSE</field><value name=\"DATA\"><shadow type=\"text\" id=\"pPZYsZ~tpKX=+DVgLH/2\"><field name=\"TEXT\"> - J4: </field></shadow></value><next><block type=\"v5_looks_print\" id=\"B5?y(jVv(dL$+gS:vpj?\"><field name=\"TARGET\">Console</field><field name=\"andsetcursortonextrow_mutator\">TRUE</field><value name=\"DATA\"><shadow type=\"text\" id=\"ZQCFZ.[vh}5Y(5N927t(\"><field name=\"TEXT\">J1: </field></shadow><block type=\"argument_reporter_number\" id=\"P34K[Ur)=E[Wa6Y$9/.V\"><mutation funcname=\"printJoystickValues:_J1_value_J2_value_J3_value_J4_value\" argumentid=\"|x6yCjI?e,@)I$bI1r5F\" proceduredefid=\"5^]9IR9-0;U2$z=9wGeT\"></mutation><field name=\"VALUE\">J4_value</field></block></value></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block><block type=\"procedures_definition\" id=\"uEklo.9Tzs)+scQ8jp?_\" x=\"70\" y=\"3430\"><statement name=\"custom_block\"><shadow type=\"procedures_prototype\" id=\"/m8V^J?bDLLP[^.*%aq^\"><mutation proccode=\"ForwardDistancePrintout\" proceduredefid=\"/m8V^J?bDLLP[^.*%aq^\" argumentids=\"[]\" argumentnames=\"[]\" argumentdefaults=\"[]\" argumenttypes=\"[]\" warp=\"false\"></mutation></shadow></statement><next><block type=\"v5_looks_print\" id=\"^XM#6Y}2s~|v5|qqI#Bk\"><field name=\"TARGET\">Console</field><field name=\"andsetcursortonextrow_mutator\">FALSE</field><value name=\"DATA\"><shadow type=\"text\" id=\"5/T:Di5h7$TpLKdogwVu\"><field name=\"TEXT\"> - Distance: </field></shadow></value><next><block type=\"v5_looks_print\" id=\"h_OH5BQ*9=6Q]zJ*#DVT\"><field name=\"TARGET\">Console</field><field name=\"andsetcursortonextrow_mutator\">TRUE</field><value name=\"DATA\"><shadow type=\"text\" id=\"beNbi?vQ5GEQAnsExLhN\"><field name=\"TEXT\">VEXcode</field></shadow><block type=\"v5_sensing_distance_from\" id=\"n4I*,O^K7)5kttm-%a;z\"><field name=\"SONAR\">rfForward</field><field name=\"UNITS\">in</field></block></value></block></next></block></next></block><block type=\"procedures_definition\" id=\"t84jy`yCz#kLN1I4Hmav\" x=\"70\" y=\"3650\"><statement name=\"custom_block\"><shadow type=\"procedures_prototype\" id=\"HQ[:]G1l(co7FXLiQ/5u\"><mutation proccode=\"ClawHeightPrint\" proceduredefid=\"HQ[:]G1l(co7FXLiQ/5u\" argumentids=\"[]\" argumentnames=\"[]\" argumentdefaults=\"[]\" argumenttypes=\"[]\" warp=\"false\"></mutation></shadow></statement><next><block type=\"v5_looks_print\" id=\"4clq@Q%snufSfr:.!fiX\"><field name=\"TARGET\">Console</field><field name=\"andsetcursortonextrow_mutator\">FALSE</field><value name=\"DATA\"><shadow type=\"text\" id=\"R9dSCX{A+cH:zcOZS?sh\"><field name=\"TEXT\">ClawHeight: </field></shadow></value><next><block type=\"v5_looks_print\" id=\"=A96]KR:LJ@S]L$@nm:d\"><field name=\"TARGET\">Console</field><field name=\"andsetcursortonextrow_mutator\">FALSE</field><value name=\"DATA\"><shadow type=\"text\" id=\"3fMY^K.S_^79G=N|#vkv\"><field name=\"TEXT\">VEXcode</field></shadow><block type=\"v5_sensing_distance_from\" id=\"yOlu%oJIs!5nP~s?G0w^\"><field name=\"SONAR\">rfClawHeight</field><field name=\"UNITS\">in</field></block></value></block></next></block></next></block></xml>","rconfig":[{"port":[13],"name":"MotorSideways","customName":true,"deviceType":"Motor","deviceClass":"motor","setting":{"reversed":"true","fwd":"forward","rev":"reverse","gear":"ratio18_1"},"triportSourcePort":22},{"port":[2],"name":"MotorArm","customName":true,"deviceType":"Motor","deviceClass":"motor","setting":{"reversed":"false","fwd":"forward","rev":"reverse","gear":"ratio36_1"},"triportSourcePort":22},{"port":[3],"name":"MotorClaw","customName":true,"deviceType":"Motor","deviceClass":"motor","setting":{"reversed":"false","fwd":"forward","rev":"reverse","gear":"ratio18_1"},"triportSourcePort":22},{"port":[],"name":"Controller1","customName":false,"deviceType":"Controller","deviceClass":"controller","setting":{"left":"","leftDir":"false","right":"","rightDir":"false","upDown":"","upDownDir":"false","xB":"","xBDir":"false","drive":"none","id":"primary"},"triportSourcePort":22},{"port":[1,2],"name":"rfForward","customName":true,"deviceType":"RangeFinder","deviceClass":"sonar","setting":{"id":"partner"},"triportSourcePort":22},{"port":[3,4],"name":"rfClawHeight","customName":true,"deviceType":"RangeFinder","deviceClass":"sonar","setting":{"id":"partner"},"triportSourcePort":22},{"port":[11],"name":"MotorLeft","customName":true,"deviceType":"Motor","deviceClass":"motor","setting":{"reversed":"false","fwd":"forward","rev":"reverse","gear":"ratio18_1","id":"partner"}},{"port":[12],"name":"MotorRight","customName":true,"deviceType":"Motor","deviceClass":"motor","setting":{"reversed":"true","fwd":"forward","rev":"reverse","gear":"ratio18_1"}}],"slot":3,"platform":"V5","sdkVersion":"20220215.18.00.00","appVersion":"2.3.1","fileFormat":"1.0.1","icon":"","targetBrainGen":"First","cppStatus":"true","cpp":"// Make sure all required headers are included.\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n#include <math.h>\n#include <string.h>\n\n\n#include \"vex.h\"\n\nusing namespace vex;\n\n// Brain should be defined by default\nbrain Brain;\n\n\n// START V5 MACROS\n#define waitUntil(condition)                                                   \\\n  do {                                                                         \\\n    wait(5, msec);                                                             \\\n  } while (!(condition))\n\n#define repeat(iterations)                                                     \\\n  for (int iterator = 0; iterator < iterations; iterator++)\n// END V5 MACROS\n\n\n// Robot configuration code.\nmotor MotorSideways = motor(PORT13, ratio18_1, true);\n\nmotor MotorArm = motor(PORT2, ratio36_1, false);\n\nmotor MotorClaw = motor(PORT3, ratio18_1, false);\n\ncontroller Controller1 = controller(primary);\nsonar rfForward = sonar(Brain.ThreeWirePort.A);\nsonar rfClawHeight = sonar(Brain.ThreeWirePort.C);\nmotor MotorLeft = motor(PORT11, ratio18_1, false);\n\nmotor MotorRight = motor(PORT12, ratio18_1, true);\n\n\n\n\n// Generated code.\n\n\n\n\n// define variable for remote controller enable/disable\nbool RemoteControlCodeEnabled = true;\n\n\n// Include the V5 Library\n#include \"vex.h\"\n  \n// Allows for easier use of the VEX Library\nusing namespace vex;\n\ncompetition Competition;\n\n// User defined function\nvoid myblockfunction_moveArm__raise_bool_lower_bool(bool myblockfunction_moveArm__raise_bool_lower_bool__raise_bool, bool myblockfunction_moveArm__raise_bool_lower_bool__lower_bool);\n// User defined function\nvoid myblockfunction_driveBaseArcade__fwdVelocity_turnVelocity(double myblockfunction_driveBaseArcade__fwdVelocity_turnVelocity__fwdVelocity, double myblockfunction_driveBaseArcade__fwdVelocity_turnVelocity__turnVelocity);\n// User defined function\nvoid myblockfunction_DriveBaseTank__leftVelocity_rightVelocity(double myblockfunction_DriveBaseTank__leftVelocity_rightVelocity__leftVelocity, double myblockfunction_DriveBaseTank__leftVelocity_rightVelocity__rightVelocity);\n// User defined function\nvoid myblockfunction_moveSideways__velocity_sideways_velocity(double myblockfunction_moveSideways__velocity_sideways_velocity__sideways_velocity);\n// User defined function\nvoid myblockfunction_moveClaw__open_bool_close_bool(bool myblockfunction_moveClaw__open_bool_close_bool__open_bool, bool myblockfunction_moveClaw__open_bool_close_bool__close_bool);\n// User defined function\nvoid myblockfunction_printJoystickValues__J1_value_J2_value_J3_value_J4_value(double myblockfunction_printJoystickValues__J1_value_J2_value_J3_value_J4_value__J1_value, double myblockfunction_printJoystickValues__J1_value_J2_value_J3_value_J4_value__J2_value, double myblockfunction_printJoystickValues__J1_value_J2_value_J3_value_J4_value__J3_value, double myblockfunction_printJoystickValues__J1_value_J2_value_J3_value_J4_value__J4_value);\n// User defined function\nvoid myblockfunction_ForwardDistancePrintout();\n// User defined function\nvoid myblockfunction_ClawHeightPrint();\n\nint Brain_precision = 0, Console_precision = 0, Controller1_precision = 0;\n\nfloat myVariable, inertialLeft, inertialRight, inertialMultiplier, deadzoneThreshold;\n\n// User defined function\nvoid myblockfunction_moveArm__raise_bool_lower_bool(bool myblockfunction_moveArm__raise_bool_lower_bool__raise_bool, bool myblockfunction_moveArm__raise_bool_lower_bool__lower_bool) {\n  // Control Arm\n  if (myblockfunction_moveArm__raise_bool_lower_bool__raise_bool) {\n    MotorArm.spin(forward);\n  } else if (myblockfunction_moveArm__raise_bool_lower_bool__lower_bool) {\n    MotorArm.spin(reverse);\n  } else {\n    MotorArm.stop();\n  }\n}\n\n// User defined function\nvoid myblockfunction_driveBaseArcade__fwdVelocity_turnVelocity(double myblockfunction_driveBaseArcade__fwdVelocity_turnVelocity__fwdVelocity, double myblockfunction_driveBaseArcade__fwdVelocity_turnVelocity__turnVelocity) {\n  MotorLeft.setVelocity((myblockfunction_driveBaseArcade__fwdVelocity_turnVelocity__fwdVelocity + myblockfunction_driveBaseArcade__fwdVelocity_turnVelocity__turnVelocity), percent);\n  MotorLeft.spin(forward);\n  MotorRight.setVelocity((myblockfunction_driveBaseArcade__fwdVelocity_turnVelocity__fwdVelocity - myblockfunction_driveBaseArcade__fwdVelocity_turnVelocity__turnVelocity), percent);\n  MotorRight.spin(forward);\n}\n\n// User defined function\nvoid myblockfunction_DriveBaseTank__leftVelocity_rightVelocity(double myblockfunction_DriveBaseTank__leftVelocity_rightVelocity__leftVelocity, double myblockfunction_DriveBaseTank__leftVelocity_rightVelocity__rightVelocity) {\n  MotorLeft.setVelocity(myblockfunction_DriveBaseTank__leftVelocity_rightVelocity__leftVelocity, percent);\n  MotorLeft.spin(forward);\n  MotorRight.setVelocity(myblockfunction_DriveBaseTank__leftVelocity_rightVelocity__rightVelocity, percent);\n  MotorRight.spin(forward);\n}\n\n// User defined function\nvoid myblockfunction_moveSideways__velocity_sideways_velocity(double myblockfunction_moveSideways__velocity_sideways_velocity__sideways_velocity) {\n  MotorSideways.setVelocity(myblockfunction_moveSideways__velocity_sideways_velocity__sideways_velocity, percent);\n  MotorSideways.spin(forward);\n}\n\n// User defined function\nvoid myblockfunction_moveClaw__open_bool_close_bool(bool myblockfunction_moveClaw__open_bool_close_bool__open_bool, bool myblockfunction_moveClaw__open_bool_close_bool__close_bool) {\n  // control Claw\n  if (myblockfunction_moveClaw__open_bool_close_bool__open_bool) {\n    MotorClaw.spin(forward);\n  } else if (myblockfunction_moveClaw__open_bool_close_bool__close_bool) {\n    MotorClaw.spin(reverse);\n  } else {\n    MotorClaw.stop();\n  }\n}\n\n// Used to find the format string for printing numbers with the\n// desired number of decimal places\nconst char* printToConsole_numberFormat() {\n  // look at the current precision setting to find the format string\n  switch(Console_precision){\n    case 0:  return \"%.0f\"; // 0 decimal places (1)\n    case 1:  return \"%.1f\"; // 1 decimal place  (0.1)\n    case 2:  return \"%.2f\"; // 2 decimal places (0.01)\n    case 3:  return \"%.3f\"; // 3 decimal places (0.001)\n    default: return \"%f\"; // use the print system default for everthing else\n  }\n}\n\n// User defined function\nvoid myblockfunction_printJoystickValues__J1_value_J2_value_J3_value_J4_value(double myblockfunction_printJoystickValues__J1_value_J2_value_J3_value_J4_value__J1_value, double myblockfunction_printJoystickValues__J1_value_J2_value_J3_value_J4_value__J2_value, double myblockfunction_printJoystickValues__J1_value_J2_value_J3_value_J4_value__J3_value, double myblockfunction_printJoystickValues__J1_value_J2_value_J3_value_J4_value__J4_value) {\n  printf(\"J1: \");\n  printf(printToConsole_numberFormat(), static_cast<float>(myblockfunction_printJoystickValues__J1_value_J2_value_J3_value_J4_value__J1_value));\n  printf(\" - J2: \");\n  printf(printToConsole_numberFormat(), static_cast<float>(myblockfunction_printJoystickValues__J1_value_J2_value_J3_value_J4_value__J2_value));\n  printf(\" - J3: \");\n  printf(printToConsole_numberFormat(), static_cast<float>(myblockfunction_printJoystickValues__J1_value_J2_value_J3_value_J4_value__J3_value));\n  printf(\" - J4: \");\n  printf(printToConsole_numberFormat(), static_cast<float>(myblockfunction_printJoystickValues__J1_value_J2_value_J3_value_J4_value__J4_value));\n  printf(\"\\n\");\n}\n\n// User defined function\nvoid myblockfunction_ForwardDistancePrintout() {\n  printf(\" - Distance: \");\n  printf(printToConsole_numberFormat(), static_cast<float>(rfForward.distance(inches)));\n  printf(\"\\n\");\n}\n\n// User defined function\nvoid myblockfunction_ClawHeightPrint() {\n  printf(\"ClawHeight: \");\n  printf(printToConsole_numberFormat(), static_cast<float>(rfClawHeight.distance(inches)));\n}\n\n// \"when started\" hat block\nint whenStarted1() {\n  MotorArm.setStopping(hold);\n  MotorArm.setVelocity(50.0, percent);\n  MotorClaw.setStopping(hold);\n  MotorClaw.setVelocity(25.0, percent);\n  MotorSideways.setStopping(hold);\n  MotorSideways.setVelocity(25.0, percent);\n  return 0;\n}\n\n// \"when autonomous\" hat block\nint onauton_autonomous_0() {\n  return 0;\n}\n\n// \"when driver control\" hat block\nint ondriver_drivercontrol_0() {\n  while (true) {\n    myblockfunction_moveArm__raise_bool_lower_bool(Controller1.ButtonL1.pressing(), Controller1.ButtonL2.pressing());\n    myblockfunction_moveClaw__open_bool_close_bool(Controller1.ButtonR1.pressing(), Controller1.ButtonR2.pressing());\n    myblockfunction_driveBaseArcade__fwdVelocity_turnVelocity(Controller1.Axis3.position(), Controller1.Axis4.position());\n    myblockfunction_moveSideways__velocity_sideways_velocity(Controller1.Axis1.position());\n  wait(5, msec);\n  }\n  return 0;\n}\n\nvoid VEXcode_driver_task() {\n  // Start the driver control tasks....\n  vex::task drive0(ondriver_drivercontrol_0);\n\n\n  while(Competition.isDriverControl() && Competition.isEnabled()) {this_thread::sleep_for(10);}\n  drive0.stop();\n  return;\n}\n\nvoid VEXcode_auton_task() {\n  // Start the auton control tasks....\n  vex::task auto0(onauton_autonomous_0);\n  while(Competition.isAutonomous() && Competition.isEnabled()) {this_thread::sleep_for(10);}\n  auto0.stop();\n  return;\n}\n\n\n\nint main() {\n  vex::competition::bStopTasksBetweenModes = false;\n  Competition.autonomous(VEXcode_auton_task);\n  Competition.drivercontrol(VEXcode_driver_task);\n\n  // post event registration\n\n  // set default print color to black\n  printf(\"\\033[30m\");\n\n  // wait for rotation sensor to fully initialize\n  wait(30, msec);\n\n  whenStarted1();\n}","target":"Physical"}