How can I let KID unload to the pointB,and travel to the point as PF
not turn back to the pointA, please help me!!!
How can I let KID unload to the pointB,and travel to the point as PF
not turn back to the pointA, please help me!!!
Internally, for the navigator, the AGV is still positioned at Control Point A after it is moved. You have to update its "currentCP" before giving it the next travel task, otherwise it will continue from its last known position.
You can do that with the following code
AGV(Model.find("KID")).currentCP = Model.find("ControlPointB");
You can replace the "Model.find()" with other valid references to the AGV and control point. This specific code assumes that the "KID" is in moved back into the model after moving it to ControlPointB. I did that as a precaution; leaving the "KID" inside the control point node seems to work fine, but would have to be reflected in the ".find" command ( Model.find("ControlPointB/KID") ).
10 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved