generated from Makerspace-Amiens/template-project
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
37f31ed
commit 216a35d
Showing
4 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"blocks":{"languageVersion":0,"blocks":[{"type":"niryo_one_update_tool","id":"X`/3ni-Wp2:i~rh~QvzB","x":-575,"y":13836,"next":{"block":{"type":"niryo_one_grasp_w_tool","id":"=xm^N!5Jzrk@G,wq#rE8","next":{"block":{"type":"niryo_one_release_w_tool","id":"hcbDuC.R5(|phS^w1Cya","next":{"block":{"type":"niryo_one_conveyor_use","id":"RI|C2tjdEVW_-BDCY*k@","next":{"block":{"type":"niryo_one_conveyor_control","id":"K1ipd3lL}vPLirwVyb+[","fields":{"DIRECTION_SELECT":"ConveyorDirection.BACKWARD"},"inputs":{"CONVEYOR_SWITCH":{"block":{"type":"niryo_one_conveyor_models","id":"W_}M1EI,PU7D}$4Kz5._","fields":{"CONVEYOR_SELECT":"ConveyorID.ID_1"}}},"SPEED_PERCENT":{"block":{"type":"math_number","id":"lst64,%X49o.n}m)eW!}","fields":{"NUM":0}}}},"next":{"block":{"type":"controls_whileUntil","id":"v)|3qo{]4q-%ix-;C[|O","fields":{"MODE":"WHILE"},"inputs":{"BOOL":{"block":{"type":"logic_boolean","id":"}e`3(E^J/Im00$yzq9Wd","fields":{"BOOL":"TRUE"}}},"DO":{"block":{"type":"niryo_one_move_joints_from_joints","id":"ml%dER3i~R~){@6IEoB/","inputs":{"JOINTS":{"block":{"type":"niryo_one_joints","id":"D[4-xzv~;Ie9F~KmHZsa","data":"rad","inputs":{"j1":{"block":{"type":"math_number","id":"CbDBQJ79Q|D1?Cq85K-K","fields":{"NUM":0}}},"j2":{"block":{"type":"math_number","id":"6B0(i,0tlnpJ6v3d)?iu","fields":{"NUM":0}}},"j3":{"block":{"type":"math_number","id":"/}@PMF0$2z0DKxS_/}DZ","fields":{"NUM":0}}},"j4":{"block":{"type":"math_number","id":"hs?v:Gc=y}tED^)`Cdps","fields":{"NUM":0}}},"j5":{"block":{"type":"math_number","id":"e9=gDm^I603OsDwc?9!`","fields":{"NUM":0}}},"j6":{"block":{"type":"math_number","id":"$alSsE%*.?h`K`0|(k-b","fields":{"NUM":0}}}}}}},"next":{"block":{"type":"controls_if","id":"bg@5MAn?u|DX~0hC3G|f","extraState":{"hasElse":true},"inputs":{"IF0":{"block":{"type":"niryo_one_vision_is_object_detected","id":"`F[87xW12{{de:n4Ok2c","inputs":{"COLOR_SWITCH":{"block":{"type":"niryo_one_vision_color","id":"S@%Km*/{049hQP7]_$^X","fields":{"COLOR_SELECT":"ObjectColor.ANY"}}},"SHAPE_SWITCH":{"block":{"type":"niryo_one_vision_shape","id":"!^oUoh}9;Fu71/n=(}kZ","fields":{"SHAPE_SELECT":"ObjectShape.ANY"}}},"WORKSPACE":{"block":{"type":"niryo_one_workspace","id":"K/Wzjg%J0-i%woiuX^Tg","fields":{"WORKSPACE_SELECT":""}}}}}},"DO0":{"block":{"type":"niryo_one_sleep","id":"I,GsvAHXP()qEs2p}-J@","inputs":{"SLEEP_TIME":{"block":{"type":"math_number","id":"vuJ;Ao3C(RR,J6aKA{2K","fields":{"NUM":0}}}},"next":{"block":{"type":"niryo_one_conveyor_stop","id":"kvbj?s)zQD?cVe6Y-dUt","inputs":{"CONVEYOR_SWITCH":{"block":{"type":"niryo_one_conveyor_models","id":"f3fNj)%|Pq{Si3_sv:Z!","fields":{"CONVEYOR_SELECT":"ConveyorID.ID_1"}}}},"next":{"block":{"type":"variables_set","id":"}cELLEx$Ch1s:n7bC2%N","fields":{"VAR":{"id":"ajNDt6_%.teOTDqvr~hv"}},"inputs":{"VALUE":{"block":{"type":"math_number","id":"Hq5AcW[,!_;S5`R#p4ex","fields":{"NUM":0}}}},"next":{"block":{"type":"controls_if","id":"V)4G!Cp{/Y(MScSRC]7u","extraState":{"elseIfCount":1},"inputs":{"IF0":{"block":{"type":"niryo_one_vision_pick","id":"cnY3qVj!G:~qtU8*u1r{","inputs":{"COLOR_SWITCH":{"block":{"type":"niryo_one_vision_color","id":"E~J$_)GocC-m(MeP3KVh","fields":{"COLOR_SELECT":"ObjectColor.GREEN"}}},"SHAPE_SWITCH":{"block":{"type":"niryo_one_vision_shape","id":"GYExm~}O-Bw1RgZPX_+R","fields":{"SHAPE_SELECT":"ObjectShape.SQUARE"}}},"WORKSPACE":{"block":{"type":"niryo_one_workspace","id":"n`MOL{|KFO5,_18Pg-m)","fields":{"WORKSPACE_SELECT":""}}},"HEIGHT_OFFSET":{"block":{"type":"math_number","id":"8R.PamyV/z3_N_Nv9MnK","fields":{"NUM":-10}}}}}},"DO0":{"block":{"type":"niryo_one_move_joints_from_joints","id":"-?-euBRiNrC3rcMYq~:O","inputs":{"JOINTS":{"block":{"type":"niryo_one_joints","id":"ti|?#BvkZ~eJvqi*b{Iw","data":"rad","inputs":{"j1":{"block":{"type":"math_number","id":"MRnGQXz|[Ot-q#j]8=b%","fields":{"NUM":0}}},"j2":{"block":{"type":"math_number","id":"/e^P/dq}VsTB[$M[RVe.","fields":{"NUM":0}}},"j3":{"block":{"type":"math_number","id":"P}ODMj~Z2iUSp;{C2nTv","fields":{"NUM":0}}},"j4":{"block":{"type":"math_number","id":"I+UV],i9-L-7UJTX0o^i","fields":{"NUM":0}}},"j5":{"block":{"type":"math_number","id":"C{w8re7;]HN!t+gK_$$6","fields":{"NUM":0}}},"j6":{"block":{"type":"math_number","id":"(o1`hR:AkyO8qw=AzZ?D","fields":{"NUM":0}}}}}}},"next":{"block":{"type":"niryo_one_move_joints_from_joints","id":"cwZE_2oKXys2nxjW3!nW","inputs":{"JOINTS":{"block":{"type":"niryo_one_joints","id":"`RK[cK1:d8{Q4*3Vy}-e","data":"rad","inputs":{"j1":{"block":{"type":"math_number","id":"tNH$^e~%Q:+?WxGi!!XB","fields":{"NUM":0}}},"j2":{"block":{"type":"math_number","id":"7n_ASWM^sFx/F0PtyYo1","fields":{"NUM":0}}},"j3":{"block":{"type":"math_number","id":",n5KGM]VNs)@jI;Y3+%W","fields":{"NUM":0}}},"j4":{"block":{"type":"math_number","id":",iK?GSpN3R+=M6yw=#c+","fields":{"NUM":0}}},"j5":{"block":{"type":"math_number","id":"jV|~Z:#?l6:@i(eE;`?0","fields":{"NUM":0}}},"j6":{"block":{"type":"math_number","id":"%,i.Q0Ye[NCK$Ss/il]X","fields":{"NUM":0}}}}}}},"next":{"block":{"type":"niryo_one_release_w_tool","id":"i.+UEBj/j=x*)B4wGm1-","next":{"block":{"type":"niryo_one_move_joints_from_joints","id":"u?/b4@fZr=nHu_gL_!*!","inputs":{"JOINTS":{"block":{"type":"niryo_one_joints","id":"%,R$$DF*-xpvngq%d#Vh","data":"rad","inputs":{"j1":{"block":{"type":"math_number","id":"m20Cz%~Zf@|Q.3nd@r=!","fields":{"NUM":0}}},"j2":{"block":{"type":"math_number","id":"cx()E7D]S2[0Rpdv3)xd","fields":{"NUM":0}}},"j3":{"block":{"type":"math_number","id":"z^)NYKV[r|(.^QD,wUJb","fields":{"NUM":0}}},"j4":{"block":{"type":"math_number","id":"kV?kXvZU*1U~V,|.bB~6","fields":{"NUM":0}}},"j5":{"block":{"type":"math_number","id":"~Dr-zpC?QRs0%+oV]7fP","fields":{"NUM":0}}},"j6":{"block":{"type":"math_number","id":"ZL]QQZacGL%|$6R4C|+%","fields":{"NUM":0}}}}}}}}}}}}}}},"IF1":{"block":{"type":"niryo_one_vision_pick","id":"_!k2[q_CW!L/c28==[w6","inputs":{"COLOR_SWITCH":{"block":{"type":"niryo_one_vision_color","id":"}N4rNTZxJ[Q;CiEUK_e=","fields":{"COLOR_SELECT":"ObjectColor.ANY"}}},"SHAPE_SWITCH":{"block":{"type":"niryo_one_vision_shape","id":"M,x|9*E?g5D0OF{Y$JE_","fields":{"SHAPE_SELECT":"ObjectShape.ANY"}}},"WORKSPACE":{"block":{"type":"niryo_one_workspace","id":"o~^z}qX@*i/yX?HLmka/","fields":{"WORKSPACE_SELECT":""}}},"HEIGHT_OFFSET":{"block":{"type":"math_number","id":"C0SqxArl_cv@]Ns`WL!^","fields":{"NUM":-10}}}}}},"DO1":{"block":{"type":"niryo_one_move_joints_from_joints","id":"Q8^_wpamlBz:e,B4)(D7","inputs":{"JOINTS":{"block":{"type":"niryo_one_joints","id":"pQ1lNTgZL$AVzrh;eJZq","data":"rad","inputs":{"j1":{"block":{"type":"math_number","id":"baw/QNg6U=nl}MJFYF9a","fields":{"NUM":0}}},"j2":{"block":{"type":"math_number","id":"RwgJF,/~xRx:]96{U({Z","fields":{"NUM":0}}},"j3":{"block":{"type":"math_number","id":"gQxsj*x@dc]n:OPLn~u:","fields":{"NUM":0}}},"j4":{"block":{"type":"math_number","id":"tO?[BYYyiffE7S3I;[/j","fields":{"NUM":0}}},"j5":{"block":{"type":"math_number","id":"|ILkWsIH=?EF;TYnSxjH","fields":{"NUM":0}}},"j6":{"block":{"type":"math_number","id":"uV.2r8^H0v+swQJv`z6h","fields":{"NUM":0}}}}}}},"next":{"block":{"type":"niryo_one_move_joints_from_joints","id":"[;oc0E/:A[wy!23vVj]}","inputs":{"JOINTS":{"block":{"type":"niryo_one_joints","id":"v9I9(0xJ%j,vPNG1H%Va","data":"rad","inputs":{"j1":{"block":{"type":"math_number","id":"VG+,5R_xmQZFC,vX~zcU","fields":{"NUM":0}}},"j2":{"block":{"type":"math_number","id":"F]*K@39)gx[kY/Z_m{q}","fields":{"NUM":0}}},"j3":{"block":{"type":"math_number","id":"aty[Km.Ivv1ih;:W{!QI","fields":{"NUM":0}}},"j4":{"block":{"type":"math_number","id":"b|$Rjyt[O=d.jpdRgCI+","fields":{"NUM":0}}},"j5":{"block":{"type":"math_number","id":"4rQjvO,)Q6]5m9X-+1od","fields":{"NUM":0}}},"j6":{"block":{"type":"math_number","id":"za[Gws[}6gJ?les[i+=C","fields":{"NUM":0}}}}}}},"next":{"block":{"type":"niryo_one_release_w_tool","id":":;]/}CCk?1A;iAtZ;^),","next":{"block":{"type":"niryo_one_move_joints_from_joints","id":"AS(6`rj,yA.k#8,C|q^H","inputs":{"JOINTS":{"block":{"type":"niryo_one_joints","id":"iDw.7/orD~mGxO8BduRr","data":"rad","inputs":{"j1":{"block":{"type":"math_number","id":"qu.ld@w2F!@!!:XTAa[t","fields":{"NUM":0}}},"j2":{"block":{"type":"math_number","id":"_PGy4%W6|U^GlB5XEFD*","fields":{"NUM":0}}},"j3":{"block":{"type":"math_number","id":"(b.H5[^p)MRBNO-x7akX","fields":{"NUM":0}}},"j4":{"block":{"type":"math_number","id":"xmJrQ7YAZUFK-1Ae]=;*","fields":{"NUM":0}}},"j5":{"block":{"type":"math_number","id":"?c_l}{5([email protected]","fields":{"NUM":0}}},"j6":{"block":{"type":"math_number","id":"fqK?P`/2DB{yR@M@{7U{","fields":{"NUM":0}}}}}}}}}}}}}}}},"next":{"block":{"type":"niryo_one_conveyor_control","id":"w@0rV+44}SnV@|B_mf#4","fields":{"DIRECTION_SELECT":"ConveyorDirection.BACKWARD"},"inputs":{"CONVEYOR_SWITCH":{"block":{"type":"niryo_one_conveyor_models","id":"TGhn28^04GoL[_jV3x_k","fields":{"CONVEYOR_SELECT":"ConveyorID.ID_1"}}},"SPEED_PERCENT":{"block":{"type":"math_number","id":"bnB6vxNnVHd]j7sV4VJ$","fields":{"NUM":0}}}}}}}}}}}}}},"ELSE":{"block":{"type":"math_change","id":"uJHhYsGJWEd+-ZWG3n?W","fields":{"VAR":{"id":"ajNDt6_%.teOTDqvr~hv"}},"inputs":{"DELTA":{"shadow":{"type":"math_number","id":"[bYr|A%IUxH)K:Wh=MCr","fields":{"NUM":0}}}}}}},"next":{"block":{"type":"controls_if","id":"z!=hibvVI?U3vWtho#a4","inputs":{"IF0":{"block":{"type":"logic_compare","id":"d~rR`p:6xUSM,_O8;:X^","fields":{"OP":"EQ"},"inputs":{"A":{"block":{"type":"variables_get","id":"#^PrP#/K%NnUq8HKx+Q~","fields":{"VAR":{"id":"ajNDt6_%.teOTDqvr~hv"}}}},"B":{"block":{"type":"math_number","id":"mA|_y04812_]XO0QX$Gg","fields":{"NUM":0}}}}}},"DO0":{"block":{"type":"niryo_one_conveyor_stop","id":"Chnmloi_E_!vR{GM/Orr","inputs":{"CONVEYOR_SWITCH":{"block":{"type":"niryo_one_conveyor_models","id":"xKDPjS2(nubIgS]W/WMM","fields":{"CONVEYOR_SELECT":"ConveyorID.ID_1"}}}},"next":{"block":{"type":"niryo_one_move_joints_from_joints","id":"1PgG2gVhdQLOqM?ZquU,","inputs":{"JOINTS":{"block":{"type":"niryo_one_joints","id":"x_XEfQb,#sgIw._m!HcT","data":"rad","inputs":{"j1":{"block":{"type":"math_number","id":"j@H3=mm`sQg6nF|{[_Pk","fields":{"NUM":0}}},"j2":{"block":{"type":"math_number","id":"%clnitxU[dyHJ#i!plr]","fields":{"NUM":0}}},"j3":{"block":{"type":"math_number","id":"eR/?-ZXY/eT*f.,BDg=r","fields":{"NUM":0}}},"j4":{"block":{"type":"math_number","id":"JQzxck.f#8H9u7pz/P@v","fields":{"NUM":0}}},"j5":{"block":{"type":"math_number","id":"okml,0R@)*KV~xvq*5t/","fields":{"NUM":0}}},"j6":{"block":{"type":"math_number","id":"OZ{BvXl81E$XVL%Pub|N","fields":{"NUM":0}}}}}}},"next":{"block":{"type":"controls_flow_statements","id":"yEh/G/QWBSO~U4X`p#by","fields":{"FLOW":"BREAK"}}}}}}}}}}}}}}}}}}}}}}}}}}]},"variables":[{"name":"i","id":"ajNDt6_%.teOTDqvr~hv"}]} |
Oops, something went wrong.