2024-11-24 12:46:28 -08:00
|
|
|
{"mode":"Blocks","hardwareTarget":"brain","workspace":"<xml xmlns=\"https://developers.google.com/blockly/xml\"><variables><variable type=\"boolean\" id=\"SDo8xMo+ur@yjkVadj={\">OpisiteSideCleared</variable><variable type=\"boolean\" id=\"YOvDz*c3GcB68@~BKd$N\">FirstLoopBringDown</variable><variable type=\"broadcast_msg\" id=\"Ys-;aaCGd9HQ/Q1d=8U/\">message1</variable><variable type=\"broadcast_msg\" id=\"p[T_sKdVzC(j=,`3;22^\">BringDownTrayNLoad</variable><variable type=\"broadcast_msg\" id=\"hj6=6q#vHZ5_=IT(!:T_\">LOAD</variable><variable type=\"broadcast_msg\" id=\"iWPdlBBVSvXirdpvhNYC\">WaitnFire</variable><variable id=\"_2.^beQjx|FGt38A,8(E\">myVariable</variable><variable id=\"+F)NK5}x-5zy_h1Nt$lE\">TurnAmount</variable></variables><block type=\"procedures_definition\" id=\"|LQs{U}m-T@0V]FP|=~-\" x=\"1350\" y=\"-170\"><statement name=\"custom_block\"><shadow type=\"procedures_prototype\" id=\"]%H?^mdGXtK$Ru6yNb*]\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" proccode=\"BringDownTray(2)\" proceduredefid=\"]%H?^mdGXtK$Ru6yNb*]\" argumentids=\"[]\" argumentnames=\"[]\" argumentdefaults=\"[]\" argumenttypes=\"[]\" warp=\"false\"></mutation></shadow></statement><next><block type=\"iq_motion_spin_for\" id=\"q`be@;mLee|g%5mU^vCe\" disabled=\"true\"><field name=\"MOTOR\">Spinner</field><field name=\"DIRECTION\">fwd</field><field name=\"UNITS\">deg</field><field name=\"anddontwait_mutator\">false</field><value name=\"AMOUNT\"><shadow type=\"math_number\" id=\"j7,|N?Y7p/?-3M$5{.bN\"><field name=\"NUM\">1350</field></shadow></value><next><block type=\"iq_control_wait\" id=\"o0]M*LnDf?SCb-/-`TOo\"><value name=\"DURATION\"><shadow type=\"math_positive_number\" id=\"SMF6O_iqdB5,~sg/N+m=\"><field name=\"NUM\">0.2</field></shadow></value></block></next></block></next></block><block type=\"procedures_definition\" id=\"cT4Z~acQlh07C(R.ghPp\" x=\"1070\" y=\"-90\"><statement name=\"custom_block\"><shadow type=\"procedures_prototype\" id=\"4.wl1;fUA?y!wQuvexHk\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" proccode=\"Fire\" proceduredefid=\"4.wl1;fUA?y!wQuvexHk\" argumentids=\"[]\" argumentnames=\"[]\" argumentdefaults=\"[]\" argumenttypes=\"[]\" warp=\"false\"></mutation></shadow></statement><next><block type=\"iq_motion_spin_for\" id=\"S7~Cs6`qYAznP7xV1-9}\" disabled=\"true\"><field name=\"MOTOR\">Spinner</field><field name=\"DIRECTION\">rev</field><field name=\"UNITS\">deg</field><field name=\"anddontwait_mutator\">false</field><value name=\"AMOUNT\"><shadow type=\"math_number\" id=\"[DqtOk-TWj^aDDV`6E::\"><field name=\"NUM\">50</field></shadow></value><next><block type=\"iq_control_wait\" id=\"iJA0Ong?08qzagwJyYrL\"><value name=\"DURATION\"><shadow type=\"math_positive_number\" id=\"As[l1xkZA:R_;O[Su%Q{\"><field name=\"NUM\">0.2</field></shadow></value><next><block type=\"procedures_call\" id=\"/lICq6c_u`AxU0Z.i7%(\"><mutation xmlns=\"http://www.w3.org/1999/xhtml\" proccode=\"Bring Down Tray\" proceduredefid=\"D5S.tl)mgPD0|PDuUv_D\" argumentids=\"[]\" warp=\"false\"></mutation></block></next></block></next></block></next></block><block type=\"iq_events_when_started\" id=\"I0OI8DxwtVbPhFw;bkq^\" x=\"550\" y=\"70\"><next><block type=\"iq_motion_set_motor_velocity\" id=\"X0282/GAx)EFO*+@=WN+\"><field name=\"MOTOR\">Spinner</field><field name=\"UNITS\">pct</field><value name=\"VELOCITY\"><shadow type=\"math_number\" id=\"qXyJ%sC{Jcah=4VVdcQO\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"iq_motion_set_motor_torque\" id=\"Jhc:NZ}0z9dF{:aqSS6E\"><field name=\"MOTOR\">Spinner</field><value name=\"TORQUE\"><shadow type=\"math_number\" id=\"0@Dw|Oqs8o$yh6Fq4Tc7\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"iq_motion_set_motor_velocity\" id=\":unO:SJYg=5GSnU/+HV4\"><field name=\"MOTOR\">Motor4</field><field name=\"UNITS\">pct</field><value name=\"VELOCITY\"><shadow type=\"math_number\" id=\"THv`_X3YSq!vKhFyQN~u\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"iq_motion_set_motor_torque\" id=\"ZwEwHS]VdMkSXSWUnOB8\"><field name=\"MOTOR\">Motor4</field><value name=\"
|