question

Patrick Cloutier avatar image
0 Likes"
Patrick Cloutier asked Jason Lightfoot edited

How to make truck face rack when loading/unloading?

Hello, I'm trying to find the best way to force the trucks to face the racks when they are loading/unloading. This model and its video will be for marketing purpooses so it needs to be more realistic.

Option 1: In this picture, I'm using Astar and it doesn't work. I tried doing a "On Unload Time" set rotation to 0 but it doesn't work because AStar seems to override that.

screenshot-2023-01-20-104426.png

Option 2: I might be able to make it work with Network Nodes but I'm hoping for a more elegant solution.

Option 3: I'm thinking I could program the task sequence with process flow Travel, Rotate, Unload, etc. but before I start I want to make sure it's the only option.

Suggestions ?

Thanks a lot,

FlexSim 23.0.2
task executer rotation
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

Tell the TE to do the pick or place travel offset in the x direction first and then the Y and Z. If that isn't quite good enough then tell it to travel to a position relative to the slot first - say 3 metres in front - giving it enough space to rotate around when approaching the rack.

· 10
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Patrick Cloutier avatar image Patrick Cloutier commented ·

I've never done that. Where do I tell the TE to do the offset in the X first and then YZ?

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Patrick Cloutier commented ·

If you're using process flow use a custom task activity and choose either pick offset or place offset for the task type. Here it's telling the TE to do ALL of the X movement - by using 1 (100%):

1674234213059.png


To get it to then move the Y and Z you should set ALL the fields to 1 (otherwise, if you make X zero, it will undo the X travel it has already done):

1674234327090.png

These task types are described in the manual here and can be used in regular, code/script generated task sequences.

0 Likes 0 ·
1674234213059.png (16.8 KiB)
Patrick Cloutier avatar image Patrick Cloutier Jason Lightfoot ♦ commented ·

I have not been able to make it work with Custom Task Activity.

But I made it work with Kinematics in Process Flow.

So instead of Travel --> Unload

I do Travel --> Kinematics (rotate, move in) --> Unload --> Kinematics (move out, rotate).

The result is great. See attached gif.

truck-square.gif

1 Like 1 ·
truck-square.gif (823.2 KiB)
Show more comments
Jason Lightfoot avatar image Jason Lightfoot ♦ Patrick Cloutier commented ·
There's an example here where the main topic is refining the fork movement
0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

I had worked with an network path on a plane object. I moved the plane in front of a rack cell and connected dynamically the transporter to the network node. This was without an AStar network and long ago, when we worked only with rack objects.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.