question

Jouky D avatar image
0 Likes"
Jouky D asked Jouky D commented

Trigger when kinematics is added in Object kinematics and obtain its info?

Hello everyone,

After @Felix Möhlmann answered me this question (AGV: How to trigger when kinematics is added): https://answers.flexsim.com/questions/148025/agv-how-to-trigger-when-kinematics-is-added.html.

I was searching a similar thing for an object kinematics. However, I can't obtain or see the kinematics information as in the AGV: acc1, acc2, peakSpeed, peakTime, time, etc.

Is there a way to obtain it if the kinematics needed is not from AGV?

Thank you.

FlexSim 23.1.2
kinematicstreenodekinematics with process flow
· 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.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Jouky D commented

You can react to tokens entering the "Apply Kinematics" activity, since that is when the kinematic is added. (Place a "Breathe" after the source so the kinematics are added before you try to do anything else)

capture2.png

You specify where the kinematic data is stored in the activities (by default in a label "kinematics" on the token), so that is where you can read the information from using getkinematics().

capture1.png


capture1.png (10.1 KiB)
capture2.png (14.5 KiB)
· 5
5 |100000

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