How can I find the distance between a traveling AGV and a fixed resource object in the AGV module? The AGV is traveling on the path, and the fixed resource object is connected to a control point on the path.
How can I find the distance between a traveling AGV and a fixed resource object in the AGV module? The AGV is traveling on the path, and the fixed resource object is connected to a control point on the path.
This is a somewhat difficult thing to find. There is a forum post here with a model that does something similar to finding the location of the AGV on a network. The difference is that it's finding the distance between two AGVs on the network. Some of the logic would have to be changed.
All the travel is based on kinematics and you can query the kinematic node to get the information of the travel distance to its destination. There are three conditions to be fulfilled. Firstly the kinematics to the destination you wish to query has to be created, secondly you need the time you like to get the distance and thirdly you have to know which node stores the kinematics. Maybe someone from Flexsim can give us a hint where we can find the node where the kinematic is stored. The command itself is well documented in the manual and the command manual.
Here a not tested command: cpdistance(start object, destination object). But I think this command works only stationary objects and not traveling objects. Perhaps you can test it in a small model and tell us your results.
Thanks for answering. This command does not work well. Do you have any other solutions?
7 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