我自己在做一个小项目,transporter在singleProc之间运送在制品。
) ?/ N8 I! b p) J! L( k0 @自己写了几个方法,从左至右运货可以,但是从右道左运送就会卡住,小车就不动了。
: Z. @( c6 g v+ e. Bif order="m13" then
. R$ g, D0 \, r" M 9 l. Z1 F7 y, ~* r! |* `
tran1.backwards:=true;
7 a- }: X1 l4 z tran1.stopped:=false;
* _ h8 K& s3 d1 w9 G# O/ ~ tran1.destination:=track1;' X7 Z& |9 S3 S! o
tran1.destctrl:="unload";5 n i" ~$ b% a
end;
7 n; p6 ?# [) |这是我自己写的方法,前面都没有错误,到了这一步就不能运动到track1.不知道有没有人遇到过相似的问题。
, t" C% b1 X; Z0 `4 j, J求指教啊! |