我自己在做一个小项目,transporter在singleProc之间运送在制品。' j4 y7 C& m( P$ L
自己写了几个方法,从左至右运货可以,但是从右道左运送就会卡住,小车就不动了。+ P K, b# y" m
if order="m13" then
7 ^2 m8 N T; h Z1 M/ ?8 G5 I ' E4 G( l3 Q7 S& N: F3 T
tran1.backwards:=true;
* J! w3 s, g, Q* ?7 o tran1.stopped:=false;8 e/ D0 b: |4 c+ g" ]5 N" ]2 U6 c
tran1.destination:=track1;# Z# b P4 J2 j8 ^" x5 u
tran1.destctrl:="unload";) s8 `4 s7 D) k. _
end;4 |8 @6 W: A, s5 l ~+ a1 x& D) R
这是我自己写的方法,前面都没有错误,到了这一步就不能运动到track1.不知道有没有人遇到过相似的问题。4 \+ u* T1 k: o6 C, _
求指教啊! |