The agent system detects with a circular radius. I want to detect only in a limited range.
Here's information about @Phil BoBo's ideas, but I don't know how to implement it.
Do you have any good advice?
The agent system detects with a circular radius. I want to detect only in a limited range.
Here's information about @Phil BoBo's ideas, but I don't know how to implement it.
Do you have any good advice?
See the AGV models in the Agent Module Example Models - FlexSim Community
It gets the intersecting neighbor's location, projects it onto the agent object's coordinate space, uses atan2() to determine the direction that the neighbor is relative to the agent, and then uses an if() statement to ignore collisions that are outside a particular window of direction. (-70 to 70 degrees in the image above for example.)
In those example models, they use that code to avoid triggering proximity with AGVs that are pulled off the main loop onto the spurs.
Thank you for information.
I tried to fix it using the link model.
I want to shut down the agent system when the specified proximity range is exceeded, so I set the collision detection logic in OnInProximity.
However, it does not end even if it exceeds the expected range as shown in the figure below.
(It will end earlier than usual)
Is there a problem with the settings?
I don't understand what you are saying at all.
What are you trying to "fix"?
What does "shut down the agent system" mean?
Why are you using OnInProximity? If you want something to fire "when the specified proximity range is exceeded," then use OnExitProximity.
The "figure below" didn't attach correctly. All I see is a broken link.
I don't understand what you are trying to accomplish in order to know whether there's a "problem with the settings."
The program does whatever you tell it to do. If you want to do something different, then tell it to do something different.
I'm sorry I couldn't convey the information correctly.
In the original model, once it enter the proximity agent, it will not end unless it deviates from the proximity radius.
I wanted to terminate the proximity agent when it was out of a certain range. That's why I set On In Proximity.
I want to judge whether it is within a specific range for each update interval, and if it deviates from the judgment, I want to terminate the proximity agent.
Can this explanation convey it?
Please let us know if you have any missing information.
8 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