question

Kari Payton avatar image
1 Like"
Kari Payton asked Joerg Vogel edited

Object for a wind blade transporter?

Is it possible to model the transporter in the photo attached? It rotates even as the front of the truck is headed in a different direction. bladetransport.png

FlexSim 18.1.0
transportertraileronpredraw
bladetransport.png (571.5 KiB)
· 2
5 |100000

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

Kari Payton avatar image Kari Payton commented ·
0 Likes 0 ·
Michael Kramer avatar image Michael Kramer commented ·

See if this helps. It's a basic PF to rotate an object about the z-axis a certain number of degrees (dblDeltaAngle) every time period (defined in the Delay block). As the AGV was traveling around a curve I had to split the token and adjust the rotation angle and rotation time so it didn't rotate before or after the turn, but in the turn (rotate-split-token.png). This was more art than science.

I found out the key was to use NetworkNode under "Travel Networks" in the Library, not the path in "AGV" section. In this example I just had the AGV (token.resouce) rotate. I imagine you could just as easily rotate a object on the AGV (token.item for example).

pf-rotate.png

pf-rotate-code.png

pf-rotate-final-angle-decision.png

0 Likes 0 ·
Steven Hamoen avatar image
3 Likes"
Steven Hamoen answered Jordan Johnson commented

@Kari Payton I'm not sure but what about an AGV network and an attached trailer with a very long "Trailer Gap"?

· 6
5 |100000

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

Kari Payton avatar image Kari Payton commented ·

@steven.hamoen can you provide example? Unfortunately I am not very familiar with AGVs. I tried attaching something to the object but the angle is not there... the blade only follows in a straight line. I can't attatch the file because of the model size.

0 Likes 0 ·
Steven Hamoen avatar image Steven Hamoen Kari Payton commented ·

@Kari Payton Here is an example model. (My idea actually worked ;-) ) I have not modelled the blade. What you can do if you load the trailer you can make sure the blade is already in the trailer and then you can change the rotation of the blade based on the angle between the center of the truck and the center of the trailer.

agvforbladetransport.fsm

1 Like 1 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ Steven Hamoen commented ·

This is pretty cool. To improve draw performance, I recommend putting the angle code in OnPreDraw instead of OnDraw. OnPreDraw is only called once per paint, while OnDraw is usually called many times.

5 Likes 5 ·
Show more comments
Dj Moens avatar image
1 Like"
Dj Moens answered Dj Moens edited

It depends on what you want to get out of the model. If you will use the AGV with a 'gap', the gap is calculated 'over' the network. That means that the front and the rear will have the same speed. And I think in the case of the picture, the speed of the front and the back will relate to each other as a sine function. And as you mention, visually you will not see the correct behavior as well.

Seems that you want (a) special object(s).

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.