ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
|
Downloads |
Q&A Using Flexsim and building models |
#1
|
||||
|
||||
Action when Transporter enters a specific area (geofencing)
Greetings,
Is it possible to specify a polygon-shaped region within FlexSim simulated world that will trigger a user-defined action when transporter enters/exits it? For example, if a transporter drives under a crane I want the crane to move out of the way and stop, i.e. driving into the polygon of a specified shape (I am ready to settle for a rectangle) in a specific area within the crane's operation envelope results in an event that triggers a custom task sequence for the crane. At the same time, I need to be able to reduce the speed of the vehicle and keep it reduced until it leaves the geofenced area. Is it possible to implement such behavior using FlexScript? Thank you! VF |
#2
|
|||
|
|||
Hi Vadim,
not an elegant way but you could draw a visual tool with the dimensions of the "blocked area" and then create a user-event that repeatedly checks the x and y location of your crane hook if it's within the positions of your blocked area. And if so execute your routine and dispatch the custom task sequence and so on. I don't really like the method, because it might slow down the simulation but could not think of anything else so far. |
#4
|
||||
|
||||
Another solution would be to use Collision spheres. All TE´s have this Tab and so can use it. But this even will slow down your model, if you check collisions very often.
Something about this theme: http://www.flexsim.com/community/for...ead.php?t=1657 Even have a look in Community and Help ;-)
__________________
Hemmi |
#5
|
||||
|
||||
A faster option, but advanced, would be to check if your tasksequence is going to bring you into the specified area and if so take the appropriate action
|
#6
|
||||
|
||||
Also, if your transporter is on a network, then you can set a speed limit on the network edges that cross under the crane, and you can use the network nodes' triggers at the edges of the crane's area to tell the crane to move out of the way.
|
The Following User Says Thank You to Phil BoBo For This Useful Post: | ||
arunkrmahadeva (01-03-2014) |
Tags |
geofencing |
Thread | Thread Starter | Forum | Replies | Last Post |
Pull Specific Flowitems from Rack using Message | Christian Norregaard | Q&A | 2 | 04-04-2012 07:28 AM |
How to assign more than one physician to a specific bed? | Lionel Lim | FlexSim HC: Q&A | 2 | 02-10-2010 10:13 AM |
Random generator for Yard Block Area and Transfer Area | John Kim | Container Terminal (CT) Library | 1 | 09-21-2009 10:59 AM |
Call a specific operator | Michael Hartlieb | Q&A | 3 | 06-29-2009 09:04 AM |
Close A Specific Port | Joe Allen | Q&A | 2 | 09-11-2008 06:30 PM |