question

Tanmay Varshney avatar image
0 Likes"
Tanmay Varshney asked Jeanette F commented

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

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

FlexSim 21.1.4
agvagvpathagv travel direction
· 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.

Felix Möhlmann avatar image Felix Möhlmann commented ·

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

1 Like 1 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

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 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

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

0 Answers

·

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.