Attach Items to AGV at front end

Attach Items to AGV at front end

arunTTT2P
Contributor Contributor
100 Views
4 Replies
Message 1 of 5

Attach Items to AGV at front end

arunTTT2P
Contributor
Contributor

[ FlexSim 18.0.3 ]

Hi,

Need a modeling idea here. How to attach the loaded item to the front end of the AGV and the loaded item have to behave like an attached trailer following the curves of the AGV network. In other words, like a push train. Set location didn't work for me here, maybe it is because the attach as trailer option is overrunning it.agv-help.fsm

Thanks and Regards, @phil.bobo, @Sam Stubbs, @anthony.johnson

Arun KR

0 Likes
Accepted solutions (1)
101 Views
4 Replies
Replies (4)
Message 2 of 5

joerg_vogel_HsH
Mentor
Mentor

An stupid approach is to set the agv in the front invisible and verry small and change the shape of the last trailer to look like the agv. The Train behaves in the model like a standard train, only the visual looks different.

Message 3 of 5

arunTTT2P
Contributor
Contributor
Accepted solution

It's working when I changed the trailer attach rule node value to greater than 1. A value of 0 places the item on top of the AGV.

11071-rule-value.png

Regards, agv-help.fsm

Arun KR

Message 4 of 5

arunTTT2P
Contributor
Contributor

Would have been easy, if the attach rule node value can be changed from the network properties GUI window.

0 Likes
Message 5 of 5

Vinay_S_Jindal
Not applicable
For reference for current users.

Now we can use this code to attach trailer ahead.
agv.attachTrailer(trailerObj, 0.1, 0, 0);

If 3rd parameter is 0, the trailer will attach to ahead, if 1 attaches to behind.

Refer this link from documents for more details.

(flexsim.com)https://docs.flexsim.com/en/23.0/Reference/CodingInFlexSim/FlexScriptAPIReference/AGV/AGV.html#Metho...


0 Likes