Controlling the travel threshhold in A*

Controlling the travel threshhold in A*

craig_dickson
Not applicable
14 Views
14 Replies
Message 1 of 15

Controlling the travel threshhold in A*

craig_dickson
Not applicable

We're building a model using A* controlling task executers to deliver flow items to queues.

How can I control the travel threshholds on the queues? I need the items to be dropped off actually at the queue, but the threshhold is much wider than that that, covering a space much larger than the queue itself. I really only want one node, or at most one grid space around it, as opposed to at least three (see screenshot.)

21157-capture.jpg

0 Likes
Accepted solutions (1)
15 Views
14 Replies
Replies (14)
Message 2 of 15

joseph_g3
Not applicable

@Craig DIckson

Queues shouldn't have travel thresholds that big. Could you share your model so that we can get a better look at the problem?

0 Likes
Message 3 of 15

craig_dickson
Not applicable
0 Likes
Message 4 of 15

craig_dickson
Not applicable

FYI, this is just a 'scratch' model to test how A* works and see if it is suitable for real model.

0 Likes
Message 5 of 15

joseph_g3
Not applicable
Accepted solution

@Craig DIckson

I don't know why I didn't think of this earlier, but your problem is actually pretty simple. You said that you want the task executors to drop off items at the queues, but that is impossible as long as you have your queues inside of a barrier. Barriers are designed so that task executors cannot enter them, so you will either have to edit or change the shape of the barrier to allow the task executors to reach the queue or you will have to accept them depositing items from a distance. As long as your queues are inside of an impassible barrier, the task executors will not be able to reach them.

0 Likes
Message 6 of 15

craig_dickson
Not applicable

@Joseph Gillespie I don't think it's quite that simple. Even if I put the queue in open space, the agvs will deliver to several points on the queue's periphery, not to the single location of the queue, which is what I want. What that means is that they often try to deliver in the main travel path, not in the little safe harbor. I moved the queue into the barrier so that none of its points were in the main path, but sometimes it still made a lot more points as you saw.

There is not a way to control the size of the travel threshold so that things are delivered to one and only one point?

0 Likes
Message 7 of 15

philboboADSK
Autodesk
Autodesk

If you want to travel to a specific point, use a Travel to Loc task to travel to the queue's location rather than a Travel task to travel to the queue object.

If you travel to a specific location, then it will go to that specific location instead of using a travel threshold.



Phil BoBo
Sr. Manager, Software Development
0 Likes
Message 8 of 15

joseph_g3
Not applicable

@Craig DIckson

Another option would be to use a divider layout like this:

21205-capture.png

As long as you don't include the queue as a barrier (as long as the queue isn't connected to the A* navigator), the AGVs should travel right up to the queue when unloading items.

0 Likes
Message 9 of 15

craig_dickson
Not applicable

Hmm. The problem with what you drew is that I need the harbor to be 2 vehicles wide, and after the Unload task the vehicle is directed to move aside into the adjacent parking location, and that location happens to contain another red point (it's the top right in your picture). So sometimes a vehicle comes to the parking location to drop instead.

The other problem with the Travel to Loc vs Unload is that I use the Unload to trigger that movement to parking. Using a Travel to Loc and then a Move item doesn't fire that trigger. (See my next question posted about half an hour ago.)

0 Likes
Message 10 of 15

philboboADSK
Autodesk
Autodesk

Just use a Travel to Loc and then an Unload.

It doesn't have to be one or the other.



Phil BoBo
Sr. Manager, Software Development
0 Likes
Message 11 of 15

craig_dickson
Not applicable

@phil.bobo I did try that but got some very odd behavior in AStar. I posted another question with a model that show what happens. Thanks

0 Likes
Message 12 of 15

joseph_g3
Not applicable

@Craig DIckson

If you're going to be using Process Flow anyway, you could just use Travel to Loc to send the task executor to the unload point, move the item off, and then use a Travel to Loc or just plain Travel to move it into the parking spot. Sure, the parking spot would be different depending on which unload location the task executor goes to, but you could always use custom code or a table to determine where to park.

0 Likes
Message 13 of 15

philboboADSK
Autodesk
Autodesk

That model doesn't have any Travel To Loc tasks in it, just Travel tasks.

Use a Travel To Loc task:

21206-travel-to-loc.png



Phil BoBo
Sr. Manager, Software Development
0 Likes
Message 14 of 15

craig_dickson
Not applicable

Yes, that's the direction I am headed. That will probably work for the application.

Still, I'd like to know why using "Unload" in AStar sent the TE on an apparent wild goose chase though. If you connect to either the left or right code blocks you'll see what I mean. In previous experience both of those work fine outside of AStar?

0 Likes
Message 15 of 15

joseph_g3
Not applicable

@Craig DIckson

See my answer to Raul's question: A Star not behaving properly?

0 Likes