question

Miguel Pereira avatar image
0 Likes"
Miguel Pereira asked Miguel Pereira commented

How to change the orientation of task executor.

Hi,


How can i correct the orientation of my task executers (Plane).


Look in my example, i have the AGV orientation on "forward only", the ones from the right are correct. But the ones in the left are wrong, they go backwards.

CorrigirVisual.fsm

I've put that AGV orientation in the first straight next to the planes that start on the right, if you run the model you'll the ones from the left source going backwards.

How can i fix this?


Thanks, Miguel.

FlexSim 21.0.5
flexsim 21.0.5object rotationobject visualvehicle orientation
corrigirvisual.fsm (2.5 MiB)
5 |100000

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

1 Answer

Eric M avatar image
0 Likes"
Eric M answered Miguel Pereira commented

Hi @Miguel Pereira, path57 has the AGV Orientation setting to "forward only." Change that to Any and it should work fine.

Another option would be to change the actual object's base rotation. As you can see in the animator (image below), the planes have different "forward" directions (which is why the one on the left looks like it's going backwards, based on how it's defined it thinks it's going forward).

1626984704494.png

To fix this base rotation, click on the plane you want to change and click on More Visuals in the properties window. Then click on Shape Factors and change the Z-rotation by 180 degrees (change to 270, currently 90). Then you can leave the path as "forward" and the planes will have the same forward direction.

1626984816736.png


1626984704494.png (71.3 KiB)
1626984816736.png (24.4 KiB)
· 3
5 |100000

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

Miguel Pereira avatar image Miguel Pereira commented ·
Yes, i knew both those solutions, i was just trying to know if is there a way to fix the problem of them going backwards. Because if i change the Z by 180, they'll start in backwards instead of starting as they should be. I hope i'm making myself clear...
0 Likes 0 ·
Eric M avatar image Eric M Miguel Pereira commented ·

Yup, then just click "Switch Initial Direction" and you should be good.

1626986942093.png

1 Like 1 ·
1626986942093.png (4.9 KiB)
Miguel Pereira avatar image Miguel Pereira Eric M commented ·
Yes! That was exactly what i needed! Thanks.
0 Likes 0 ·