How can we change the AGV Direction when it has reverse movement

How can we change the AGV Direction when it has reverse movement

tanmay_v2
Not applicable
42 Views
3 Replies
Message 1 of 4

How can we change the AGV Direction when it has reverse movement

tanmay_v2
Not applicable

[ FlexSim 21.1.4 ]

Hello Team,

I have been working on AGV path flow, where I have an AGV which is travelling from one control point to another and then travelling back. But the orientation of the AGV remains same & it travels in a backward direction. I want to have forward moving orientation of my AGV.

Folks, Kindly revert to my problem, as I have a big tree of AGV path, where I cant draw rotation pathfor the AGV. Is there any option after writing code in process or AGV, where we can control its movement visuals.

Note: I tried with setrot command,but it didnt worked.

Looking for your support, Thanks

0 Likes
43 Views
3 Replies
Replies (3)
Message 2 of 4

moehlmann_fe
Explorer
Explorer

If it's only important that the AGV travels backwards visually and you know at which points it would need to turn you can edit the shape factors to switch the orientation of the 3d shape around.

1641456429160.png

This can be done in code by directly setting the value of the corresponding node.

object.find("spatial/offsetrz").value = deg;

In the attached example I do this in the load/unload trigger of the task executer.

SwitchShapeOrientation.fsm

Message 3 of 4

jason_lightfootVL7B4
Autodesk
Autodesk

Are you saying you want it to reversed but want the visual to show forward? Or do you want it to actually change it's travel direction by rotation and are unable to get it to do so?

An example would help us help you.

0 Likes
Message 4 of 4

Jeanette_Fullmer
Community Manager
Community Manager

Hi @Tanmay Varshney,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes