question

Martin K6 avatar image
0 Likes"
Martin K6 asked Martin K6 commented

Flying custom Task Executer when moving

Hello,

I have a custom Task Executer (.blend file) and I wanted to make the simples movement with the travel block, but when I do so the Task Executer starts to fly and is not moving on the floor.


Does anyone knows why?

Thank you.


Martin


custom_AGV.fsm

FlexSim 22.0.1
task executertravelcustom
custom-agv.fsm (1.6 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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Martin K6 commented

You object is rotated 90 degrees - you should have its default orientation as 0 degrees. You can adjust the shape in visual->shape factors, or change the way it's exported to have a compatible z-axis.

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

Martin K6 avatar image Martin K6 commented ·

Yes, I know that, but if I change it to 0 it is happing again in the same way. If you can change it in the attached model that you could also see it? Or am I wrong?


Thanks again.


Martin

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Martin K6 commented ·

It is happening due to the rotation. The task executer ends the travel with it's center point at a height equal to half it's size in z-direction. Normally, this would mean the bottom face sits at z = 0, but due to the rotation of the object that is not the case anymore.

I corrected the orientation of your 3d model within it's bounding box. I also added a task executer, rotated and adjusted in size, to showcase what is happening with your original model. If you reset it's x-rotation after it travelled to the queue you will see that in "normal" orientation it seems to stand on the ground.

custom-agv_1.fsm

0 Likes 0 ·
custom-agv-1.fsm (1.6 MiB)
Martin K6 avatar image Martin K6 Felix Möhlmann commented ·
Hi,

thank you a lot. Now I can fully understand that.

Martin

0 Likes 0 ·