question

FanFan avatar image
0 Likes"
FanFan asked Felix Möhlmann answered

How to know if the AGV is rotating and the angle value of the rotation?

In AGVnetwork, AGVs are set to rotate at intersections. What methods can be used to obtain information on whether an AGV is rotating the angle value of the rotation?

20250422150441.png

model_V24.2.fsm

FlexSim 24.2.2
agv
20250422150441.png (254.3 KiB)
model-v242.fsm (31.6 KiB)
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

AGVs move via kinematics. With the getkinematics command you can query parameters/positions/times/etc. of the currently planned kinematics.

The kinematics are updated at the start of a travel task and at the pre-arrival/allocation of control points. By checking the kinematics at those points in time, you can know when and how far an AGV will rotate during its travel.

The following would return the time at which the next part of the kinematic finishes, for example.

AGV agv = AGV(Model.find("TaskExecuter1"));
treenode kinNode = agv.kinematics; return getkinematics(kinNode, KINEMATIC_ENDTIME, 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.