question

Arun Kr avatar image
0 Likes"
Arun Kr asked Vinay S answered

Attach Items to AGV at front end

FlexSim 18.0.3
agv module
agv-help.fsm (28.4 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.

Joerg Vogel avatar image Joerg Vogel commented ·
1 Like 1 ·
Arun Kr avatar image
2 Likes"
Arun Kr answered Arun Kr commented

rule-value.png (13.7 KiB)
agv-help.fsm (28.5 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.

Arun Kr avatar image Arun Kr commented ·
0 Likes 0 ·
Vinay S avatar image
0 Likes"
Vinay S answered
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#Method-attachTrailer


5 |100000

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