question

Kamil KS avatar image
0 Likes"
Kamil KS asked Kamil KS converted comment to answer

Can transporter travel to the netnode of the object after finishing task?

Hello,

I have written the code to get the first conected node to the object. I used Travel Task Sequences in process flow and told the forklift to travel there. I have checked and the code returns a conected Networnode. The forklift stays in the Object instead of traveling there (below you can find a screen of that situation).

Is it possible to do it in the other way ? I want the transporter to travel to the node which is in the red square in the picture.

FlexSim 19.0.2
nodefunctions
node.png (167.6 KiB)
· 1
5 |100000

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

Joshua S avatar image Joshua S commented ·

can you upload your model and the timestamp? This will allow us to better help you.

0 Likes 0 ·

1 Answer

·
Kamil KS avatar image
0 Likes"
Kamil KS answered

Unfortunately I can't upload my original model but I have created the example that shows this situation with a description. I think the problem is that the transpoter is using this node to get to the object (red line connection) so technically he is in that node.

I think that I solved my problem using this code below, I get other 2nd closest networknode. This is not the exact thing that I've wanted (travel back to NN1) but it is fine for me.

nods.png

example.fsm


example.fsm (32.1 KiB)
nods.png (13.7 KiB)
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.