PlantSimulation 非Track方式操作AGV 的常规4种方式
var AGV:OBJECT:=AGVPool.CONT
IF AGV/=VOID
AGV.SETROUTE([Marker]) //第一种方式 采用SETROUTE 方式驱动AGV
end
Stopuntil Agv.DestinationWasReached
AGV.rotate(-90) //第二种方式 原地驱动AGV转弯
stopuntil AGV.DestinationWasReached
AGV.drive(5) //第三种方式 让AGV根据当前方向直线行走5米
stopuntil AGV.DestinationWasReached
AGV.rotate(90) //第二种方式 原地驱动AGV转弯
stopuntil AGV.DestinationWasReached
var route:table[length, real, length, real] //第四种方式动态操控AGV 路径方向进行控制
route.create
route.appendRow(2)
route.appendRow(void, -90, 1, 0.2)
route.appendRow(void, 90, 1, 0.2)
route.appendRow(2)
route.appendRow(void, -90)
route.appendRow(2)
route.appendRow(0.5, -90)
agv.setRouteSegments(route)
stopuntil agv.DestinationWasReached