Hello,
Currently I can only retrieve origin CP, current CP, destination CP, and final CP when a AGV is traveling. How can I know all control points from origin CP to final CP on a travel task fired?
Hello,
Currently I can only retrieve origin CP, current CP, destination CP, and final CP when a AGV is traveling. How can I know all control points from origin CP to final CP on a travel task fired?
Under the node allocationPoints, I found 5 sub-nodes that indicates each control point that the agv is going to allocate from start to end. But I can't retrieve value in the nodes to know how the agv will travel.
I noticed that some information in node AGVNetwork>variables/agvs/AGV1 are able to be retrieved by AGV class. Is there no way to read other values in current version?
The values in those nodes can be accessed with the getsdtvalue() command, but based on your question, it seems that you have an underlying problem that you are not explaining.
If you access that data directly and it changes in a subsequent release of the software, then your model will not work correctly when you try to upgrade it from one version to another.
Perhaps if you explained why you want to access this data, we could suggest a better solution for what you are trying to do.
We are trying to make the AGVs choosing paths smarter. On travel task dispatched, the route from start to end is determined by Flexsim in the shortest way. If another AGV also received a travel task and its route overlaps the one of first AGV or entering another direction on a two-way path, then we want the second AGV to use other path to avoid blocking.
I understand that command may have compatibility issue between different versions. Nevertheless, I will use it to solve my question for now.
Thank you.
@Steven Chen Hi Steven, I am trying to do the same things as you described.
Would you mind sharing how you did it?
The AGV API now has more properties for accessing information about an AGV's path than when this question was first asked.
For example, see FlexScript Class - AGV.TraversalPoint (flexsim.com)
Hi!bobo,There is a circumstance under which i need to access all control points on path that AGV is going to travel. I've asked a question here: https://answers.flexsim.com/questions/83333/simulate-agvs-rotation-correctly-during-traveling.html .Please take a look. Thanks in advance.
5 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