question

Patrick Cloutier avatar image
0 Likes"
Patrick Cloutier asked Jason Lightfoot commented

Any way to keep the same AGV orientation?

I need to keep AGVs pointing in the same direction for their entire life no matter in which X or Y direction they travel.

I have seen in many older posts that there is no way to control AGV orientation on AGV paths. It's all controlled by AGV logic and there is nothing we can do about it.

Is it still the case ?

FlexSim 20.1.0
flexsim 20.1.0agv orientation
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

·
Phil BoBo avatar image
1 Like"
Phil BoBo answered Jason Lightfoot commented

Do you mean that you want the agvs to appear to not rotate at all?

Like this?

agv_no_rotation_1.fsm

I disabled the main object's 3D shape and Show Contents flag. Then I added a component using the animator and set its shape to the AGV shape. Then I added a subcomponent of that component that draws the main object's content.

Then I added an On Pre Draw trigger that calls updatelocations(current) and then sets the rotation Z of the subcomponent to the -Z rotation of the main object.

That way, it appears to always be still, even though the main object is rotating. Because the drawn object sets its rotation to the opposite.


· 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.

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

In version 23 you can just uncheck the rotate checkbox on the task executer properties:

1689333462300.png

1 Like 1 ·
1689333462300.png (4.1 KiB)

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.