vex-iq-rapid-relay-2024/DialedIn - Copy(Liam)Newsen...

1 line
94 KiB
Plaintext
Raw Permalink Normal View History

2025-03-23 15:09:46 -07:00
{"mode":"Blocks","hardwareTarget":"brain","workspace":"<xml xmlns=\"https://developers.google.com/blockly/xml\"><variables><variable id=\"_2.^beQjx|FGt38A,8(E\">myVariable</variable><variable id=\"..g3^IMlO;JB5y6hF{Kl\">WantedPIDThang</variable><variable type=\"broadcast_msg\" id=\"@~Da}qwoI4:06{prOW-7\">message1</variable><variable type=\"broadcast_msg\" id=\"tcRt+.,f]ydnX{{a~3(I\">PID</variable></variables><block type=\"procedures_definition\" id=\"TdR#_O1Vx+((PErX[![V\" x=\"1050\" y=\"-1090\"><statement name=\"custom_block\"><shadow type=\"procedures_prototype\" id=\"TL!aH0@=l`u.Ql%TG*t;\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" proccode=\"TurnToHeading %n %b\" proceduredefid=\"TL!aH0@=l`u.Ql%TG*t;\" argumentids=\"[&quot;J1n$|-Ow~cRF!_W5(3a[&quot;,&quot;@%EX6!$HJ|4I;HE_7cz2&quot;]\" argumentnames=\"[&quot;Heading&quot;,&quot;Clockwise?&quot;]\" argumentdefaults=\"[&quot;todo&quot;,&quot;false&quot;]\" argumenttypes=\"[&quot;n&quot;,&quot;b&quot;]\" warp=\"false\"></mutation><value name=\"J1n$|-Ow~cRF!_W5(3a[\"><shadow type=\"argument_reporter_number\" id=\"mahF4g=4-p.DMP5u#xdi\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" funcname=\"TurnToHeading_Heading_Clockwise?\" argumentid=\"J1n$|-Ow~cRF!_W5(3a[\" proceduredefid=\"TL!aH0@=l`u.Ql%TG*t;\"></mutation><field name=\"VALUE\">Heading</field></shadow></value><value name=\"@%EX6!$HJ|4I;HE_7cz2\"><shadow type=\"argument_reporter_boolean\" id=\"V?=(4}SKMd.NKvF3~+G%\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" funcname=\"TurnToHeading_Heading_Clockwise?\" argumentid=\"@%EX6!$HJ|4I;HE_7cz2\" proceduredefid=\"TL!aH0@=l`u.Ql%TG*t;\"></mutation><field name=\"VALUE\">Clockwise?</field></shadow></value></shadow></statement><next><block type=\"iq_control_if_then_else\" id=\"DRH/f8z(L$Xc-@0T{:}Z\"><value name=\"CONDITION\"><block type=\"argument_reporter_boolean\" id=\"j*tuau_TAT?.6[2WU^%n\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" funcname=\"TurnToHeading_Heading_Clockwise?\" argumentid=\"@%EX6!$HJ|4I;HE_7cz2\" proceduredefid=\"TL!aH0@=l`u.Ql%TG*t;\"></mutation><field name=\"VALUE\">Clockwise?</field></block></value><statement name=\"SUBSTACK\"><block type=\"iq_drivetrain_turn\" id=\"d5CR1b])u)X^hPHs*I,{\"><field name=\"TURNDIRECTION\">right</field><next><block type=\"iq_control_wait\" id=\"vAE;_qTD7mPCn4QO_r_r\"><value name=\"DURATION\"><shadow type=\"math_positive_number\" id=\"j}fewQh5Y5FdM3lZ{zdF\"><field name=\"NUM\">0.5</field></shadow></value><next><block type=\"iq_control_if_elseif_else\" id=\"p$rm?=gPb0)e6hC(?aiq\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" branches=\"2\"></mutation><value name=\"CONDITION1\"><block type=\"iq_operator_less_than\" id=\"Z7nD|pN2*/g`w2-c!cw5\"><value name=\"OPERAND1\"><shadow type=\"math_number\" id=\"eKwG$oxm*`@$r:ZGlP;l\"><field name=\"NUM\">0</field></shadow><block type=\"iq_operator_add\" id=\"N97xk^AaRIr~E^ecg!=]\"><value name=\"NUM1\"><shadow type=\"math_number\"><field name=\"NUM\">0</field></shadow><block type=\"argument_reporter_number\" id=\"eOgjiwbb3BV-U0gP?:x[\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" funcname=\"TurnToHeading_Heading_Clockwise?\" argumentid=\"J1n$|-Ow~cRF!_W5(3a[\" proceduredefid=\"TL!aH0@=l`u.Ql%TG*t;\"></mutation><field name=\"VALUE\">Heading</field></block></value><value name=\"NUM2\"><shadow type=\"math_number\" id=\"i@8wu`YYs0i-LY5r.g)M\"><field name=\"NUM\">2</field></shadow></value></block></value><value name=\"OPERAND2\"><shadow type=\"math_number\" id=\"%OqVNwb:_|*m+.KzQqAR\"><field name=\"NUM\">50</field></shadow><block type=\"iq_sensing_heading_of_gyro\" id=\"zM^_m%Qb9G:tw2e`B-y(\"><field name=\"GYRO\">BrainInertial</field></block></value></block></value><statement name=\"SUBSTACK1\"><block type=\"iq_drivetrain_turn\" id=\"v)q/xC4v/#)XuLfu7ri!\"><field name=\"TURNDIRECTION\">left</field></block></statement><value name=\"CONDITION2\"><block type=\"iq_operator_less_than\" id=\"0GUv_PGrPiGeTKvJ{|bS\"><value name=\"OPERAND1\"><shadow type=\"math_number\" id=\"j7D_uv;4d:|j$z8DsfC;\"><field name=\"NUM\">0</field></shadow><block type=\"iq_sensing_heading_of_gyro\" id