Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://lab.open-roberta.org/#loadProgram&&ev3lejosv1&&CarSensor&&%3Cexport%20xmlns=%22http://de.fhg.iais.roberta.blockly%22%3E%3Cprogram%3E%3Cblock_set%20xmlns=%22http://de.fhg.iais.roberta.blockly%22%20robottype=%22ev3%22%20xmlversion=%223.1%22%20description=%22%22%20tags=%22%22%3E%3Cinstance%20x=%221%22%20y=%2214%22%3E%3Cblock%20type=%22robControls_start%22%20id=%22RGN#Bqq1Gr?edpN)hy/9%22%20intask=%22true%22%20deletable=%22false%22%3E%3Cmutation%20declare=%22false%22%3E%3C/mutation%3E%3Cfield%20name=%22DEBUG%22%3EFALSE%3C/field%3E%3C/block%3E%3Cblock%20type=%22robActions_motorDiff_on_for%22%20id=%229@ECa%7D!YG/xID/844/3@%22%20intask=%22true%22%3E%3Cfield%20name=%22DIRECTION%22%3EFOREWARD%3C/field%3E%3Cvalue%20name=%22POWER%22%3E%3Cblock%20type=%22math_number%22%20id=%22W)%7CouD9.-:_M4EV+-U~2%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E100%3C/field%3E%3C/block%3E%3C/value%3E%3Cvalue%20name=%22DISTANCE%22%3E%3Cblock%20type=%22math_number%22%20id=%22fKPzqlv1/ICi(d%7DWo%7D3R%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E95%3C/field%3E%3C/block%3E%3C/value%3E%3C/block%3E%3Cblock%20type=%22robActions_motorDiff_turn_for%22%20id=%22PF%7D.S%7C_b%7B%7CB-1~XH;)-V%22%20intask=%22true%22%3E%3Cfield%20name=%22DIRECTION%22%3ERIGHT%3C/field%3E%3Cvalue%20name=%22POWER%22%3E%3Cblock%20type=%22math_number%22%20id=%22,z=DSb826(d/hjlm/;it%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E100%3C/field%3E%3C/block%3E%3C/value%3E%3Cvalue%20name=%22DEGREE%22%3E%3Cblock%20type=%22math_number%22%20id=%22DhCA%60p~m2Z#.a)RE@mD?%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E90%3C/field%3E%3C/block%3E%3C/value%3E%3C/block%3E%3Cblock%20type=%22robActions_motorDiff_on%22%20id=%22)%25FBcKq:54;/bMOz5PH.%22%20intask=%22true%22%3E%3Cfield%20name=%22DIRECTION%22%3EFOREWARD%3C/field%3E%3Cvalue%20name=%22POWER%22%3E%3Cblock%20type=%22math_number%22%20id=%22XeID#%5E2S?9Fr;7oEhix?%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E100%3C/field%3E%3C/block%3E%3C/value%3E%3C/block%3E%3Cblock%20type=%22controls_whileUntil%22%20id=%22aq%7DOzvy22-#K#%5B5+f7!l%22%20intask=%22true%22%3E%3Cfield%20name=%22MODE%22%3EUNTIL%3C/field%3E%3Cvalue%20name=%22BOOL%22%3E%3Cblock%20type=%22logic_compare%22%20id=%22ivDlv%5D%250Sc5pNCaEYI*C%22%20intask=%22true%22%3E%3Cfield%20name=%22OP%22%3ELTE%3C/field%3E%3Cvalue%20name=%22A%22%3E%3Cblock%20type=%22robSensors_ultrasonic_getSample%22%20id=%22wr*%5EpfUkMq-c-%5D)pygQ;%22%20intask=%22true%22%3E%3Cmutation%20mode=%22DISTANCE%22%3E%3C/mutation%3E%3Cfield%20name=%22MODE%22%3EDISTANCE%3C/field%3E%3Cfield%20name=%22SENSORPORT%22%3E4%3C/field%3E%3Cfield%20name=%22SLOT%22%3E%3C/field%3E%3C/block%3E%3C/value%3E%3Cvalue%20name=%22B%22%3E%3Cblock%20type=%22math_number%22%20id=%22FVr%253d5=(Mzq@cxq(aRz%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E10%3C/field%3E%3C/block%3E%3C/value%3E%3C/block%3E%3C/value%3E%3C/block%3E%3Cblock%20type=%22robActions_motorDiff_stop%22%20id=%22dQ%60KqH(%7DO%2512f%7C%5Dlkhd5%22%20intask=%22true%22%3E%3C/block%3E%3Cblock%20type=%22robActions_motorDiff_on%22%20id=%22QKCilhmd%5BRT=#h4CxMP%5D%22%20intask=%22true%22%3E%3Cfield%20name=%22DIRECTION%22%3EBACKWARD%3C/field%3E%3Cvalue%20name=%22POWER%22%3E%3Cblock%20type=%22math_number%22%20id=%22Xr433Z3O1Kml-sL/;X;Y%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E50%3C/field%3E%3C/block%3E%3C/value%3E%3C/block%3E%3Cblock%20type=%22controls_whileUntil%22%20id=%22SODBSo(PIKd%25hL#-%5DEwi%22%20intask=%22true%22%3E%3Cfield%20name=%22MODE%22%3EUNTIL%3C/field%3E%3Cvalue%20name=%22BOOL%22%3E%3Cblock%20type=%22logic_compare%22%20id=%22,%5Es8nkGdxT/t%25M%5B6UWYJ%22%20intask=%22true%22%3E%3Cfield%20name=%22OP%22%3EEQ%3C/field%3E%3Cvalue%20name=%22A%22%3E%3Cblock%20type=%22robSensors_colour_getSample%22%20id=%22m;#w%5BieVJl%7D2R)~Ke1aa%22%20intask=%22true%22%3E%3Cmutation%20mode=%22COLOUR%22%3E%3C/mutation%3E%3Cfield%20name=%22MODE%22%3ECOLOUR%3C/field%3E%3Cfield%20name=%22SENSORPORT%22%3E3%3C/field%3E%3Cfield%20name=%22SLOT%22%3E%3C/field%3E%3C/block%3E%3C/value%3E%3Cvalue%20name=%22B%22%3E%3Cblock%20type=%22robColour_picker%22%20id=%22%25kM4%25f*hwePD1%7B_Nj3q5%22%20intask=%22true%22%3E%3Cfield%20name=%22COLOUR%22%3E#b30006%3C/field%3E%3C/block%3E%3C/value%3E%3C/block%3E%3C/value%3E%3C/block%3E%3Cblock%20type=%22robActions_motorDiff_stop%22%20id=%22%5D4T%5Ek_B*W+mzj_-iw%7CCj%22%20intask=%22true%22%3E%3C/block%3E%3Cblock%20type=%22robActions_motorDiff_on_for%22%20id=%22+*A__x9rMC722C2vbQs7%22%20intask=%22true%22%3E%3Cfield%20name=%22DIRECTION%22%3EBACKWARDS%3C/field%3E%3Cvalue%20name=%22POWER%22%3E%3Cblock%20type=%22math_number%22%20id=%22@%25ov8g#ik%7BMX8_)%7BYHG3%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E50%3C/field%3E%3C/block%3E%3C/value%3E%3Cvalue%20name=%22DISTANCE%22%3E%3Cblock%20type=%22math_number%22%20id=%22%5B6U%600bs%5D=icYCD@l5rtJ%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E10%3C/field%3E%3C/block%3E%3C/value%3E%3C/block%3E%3Cblock%20type=%22robActions_motorDiff_turn_for%22%20id=%22dD:ZX-HD8FLGo)uFH5%7CS%22%20intask=%22true%22%3E%3Cfield%20name=%22DIRECTION%22%3ERIGHT%3C/field%3E%3Cvalue%20name=%22POWER%22%3E%3Cblock%20type=%22math_number%22%20id=%22@*%7DjX!QJ4f)L2S~sE?(U%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E100%3C/field%3E%3C/block%3E%3C/value%3E%3Cvalue%20name=%22DEGREE%22%3E%3Cblock%20type=%22math_number%22%20id=%22P09Id%7C9+%60,fvQJIamSl?%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E90%3C/field%3E%3C/block%3E%3C/value%3E%3C/block%3E%3Cblock%20type=%22robActions_motorDiff_on%22%20id=%22?v%5EReyZBvzwp~_@iPcO)%22%20intask=%22true%22%3E%3Cfield%20name=%22DIRECTION%22%3EFOREWARD%3C/field%3E%3Cvalue%20name=%22POWER%22%3E%3Cblock%20type=%22math_number%22%20id=%22H6%7C9Uo9AfJ3uq/6%5DE%5Ez3%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E100%3C/field%3E%3C/block%3E%3C/value%3E%3C/block%3E%3Cblock%20type=%22controls_whileUntil%22%20id=%22)Sj#7E%5EuaG6k9%5Dw_gz%5Eq%22%20intask=%22true%22%3E%3Cfield%20name=%22MODE%22%3EUNTIL%3C/field%3E%3Cvalue%20name=%22BOOL%22%3E%3Cblock%20type=%22logic_compare%22%20id=%22#X7%5EQ%7C.2o:!E0-M8I8.g%22%20intask=%22true%22%3E%3Cfield%20name=%22OP%22%3EEQ%3C/field%3E%3Cvalue%20name=%22A%22%3E%3Cblock%20type=%22robSensors_colour_getSample%22%20id=%22b%60t@9%7CQ%7C!TJi8ZeR7%604W%22%20intask=%22true%22%3E%3Cmutation%20mode=%22COLOUR%22%3E%3C/mutation%3E%3Cfield%20name=%22MODE%22%3ECOLOUR%3C/field%3E%3Cfield%20name=%22SENSORPORT%22%3E3%3C/field%3E%3Cfield%20name=%22SLOT%22%3E%3C/field%3E%3C/block%3E%3C/value%3E%3Cvalue%20name=%22B%22%3E%3Cblock%20type=%22robColour_picker%22%20id=%22l4#Uiqp%5Dy9Z:aFYgI;tT%22%20intask=%22true%22%3E%3Cfield%20name=%22COLOUR%22%3E#00642e%3C/field%3E%3C/block%3E%3C/value%3E%3C/block%3E%3C/value%3E%3C/block%3E%3Cblock%20type=%22robActions_motorDiff_stop%22%20id=%222%5Dw%60F.d*ivI*9sGtC~.R%22%20intask=%22true%22%3E%3C/block%3E%3Cblock%20type=%22robActions_motorDiff_on_for%22%20id=%22M,X00U/KSP?~lZ_JT5dA%22%20intask=%22true%22%3E%3Cfield%20name=%22DIRECTION%22%3EFOREWARD%3C/field%3E%3Cvalue%20name=%22POWER%22%3E%3Cblock%20type=%22math_number%22%20id=%22=O%7ChMPOF=qLi(H%7BoC*pY%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E50%3C/field%3E%3C/block%3E%3C/value%3E%3Cvalue%20name=%22DISTANCE%22%3E%3Cblock%20type=%22math_number%22%20id=%22aM0YXkloAKoD%5Dp%25x!04:%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E10%3C/field%3E%3C/block%3E%3C/value%3E%3C/block%3E%3Cblock%20type=%22robActions_motorDiff_turn_for%22%20id=%22qE%5DZsM4.%7CjWJeLShkwTp%22%20intask=%22true%22%3E%3Cfield%20name=%22DIRECTION%22%3ELEFT%3C/field%3E%3Cvalue%20name=%22POWER%22%3E%3Cblock%20type=%22math_number%22%20id=%22GVohM6%7C*#o*QH%25~lqkl%7C%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E100%3C/field%3E%3C/block%3E%3C/value%3E%3Cvalue%20name=%22DEGREE%22%3E%3Cblock%20type=%22math_number%22%20id=%22so@%5D:(pHrqWnf74eF:nK%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E90%3C/field%3E%3C/block%3E%3C/value%3E%3C/block%3E%3Cblock%20type=%22robActions_motorDiff_on_for%22%20id=%2243h1aN+6Y6Hwfh8L60tm%22%20intask=%22true%22%3E%3Cfield%20name=%22DIRECTION%22%3EBACKWARDS%3C/field%3E%3Cvalue%20name=%22POWER%22%3E%3Cblock%20type=%22math_number%22%20id=%22/!NO)%7D81tQ/fgPltJv)I%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E50%3C/field%3E%3C/block%3E%3C/value%3E%3Cvalue%20name=%22DISTANCE%22%3E%3Cblock%20type=%22math_number%22%20id=%22?a%7B)JQ?Nj3Z5;xhkVq@y%22%20intask=%22true%22%3E%3Cfield%20name=%22NUM%22%3E28%3C/field%3E%3C/block%3E%3C/value%3E%3C/block%3E%3C/instance%3E%3C/block_set%3E%3C/program%3E%3Cconfig%3E%3Cblock_set%20xmlns=%22http://de.fhg.iais.roberta.blockly%22%20robottype=%22ev3%22%20xmlversion=%223.1%22%20description=%22%22%20tags=%22%22%3E%3Cinstance%20x=%22213%22%20y=%22213%22%3E%3Cblock%20type=%22robBrick_EV3-Brick%22%20id=%221%22%20intask=%22true%22%20deletable=%22false%22%3E%3Cfield%20name=%22WHEEL_DIAMETER%22%3E5.6%3C/field%3E%3Cfield%20name=%22TRACK_WIDTH%22%3E18%3C/field%3E%3Cvalue%20name=%22S1%22%3E%3Cblock%20type=%22robBrick_touch%22%20id=%222%22%20intask=%22true%22%3E%3C/block%3E%3C/value%3E%3Cvalue%20name=%22S2%22%3E%3Cblock%20type=%22robBrick_gyro%22%20id=%223%22%20intask=%22true%22%3E%3C/block%3E%3C/value%3E%3Cvalue%20name=%22S3%22%3E%3Cblock%20type=%22robBrick_colour%22%20id=%224%22%20intask=%22true%22%3E%3C/block%3E%3C/value%3E%3Cvalue%20name=%22S4%22%3E%3Cblock%20type=%22robBrick_ultrasonic%22%20id=%225%22%20intask=%22true%22%3E%3C/block%3E%3C/value%3E%3Cvalue%20name=%22MB%22%3E%3Cblock%20type=%22robBrick_motor_big%22%20id=%226%22%20intask=%22true%22%3E%3Cfield%20name=%22MOTOR_REGULATION%22%3ETRUE%3C/field%3E%3Cfield%20name=%22MOTOR_REVERSE%22%3EOFF%3C/field%3E%3Cfield%20name=%22MOTOR_DRIVE%22%3ERIGHT%3C/field%3E%3C/block%3E%3C/value%3E%3Cvalue%20name=%22MC%22%3E%3Cblock%20type=%22robBrick_motor_big%22%20id=%227%22%20intask=%22true%22%3E%3Cfield%20name=%22MOTOR_REGULATION%22%3ETRUE%3C/field%3E%3Cfield%20name=%22MOTOR_REVERSE%22%3EOFF%3C/field%3E%3Cfield%20name=%22MOTOR_DRIVE%22%3ELEFT%3C/field%3E%3C/block%3E%3C/value%3E%3C/block%3E%3C/instance%3E%3C/block_set%3E%3C/config%3E%3C/export%3E
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement