question

Patrick Zweekhorst avatar image
0 Likes"
Patrick Zweekhorst asked Patrick Zweekhorst commented

Cp is not reachable when placed at end of path

Hi,

In the attached example model you can see an issue where a control point can’t be reached (cp distance is infinity). Control point 2 is placed at the start op path2. If path2 would be longer (such that the control point is not at the start of the path it does seem to be working.

Does not work:

1677668973173.png

Does work:

1677668984448.png

It actually almost looks like if the control point is already laying there before the end of the path is placed at that location that it works, but if the control point is placed at this location after the end of the path is already there that is does not work.

Note: Create transfers at crossings is enabled

CpDistanceExample.fsm

Thanks

FlexSim 23.0.4
agvcontrol pointscpdistance
1677668973173.png (19.0 KiB)
1677668984448.png (19.0 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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Patrick Zweekhorst commented

I think this is related/similar to the control area question you had.

If you extend the path even a tiny bit by altering the snap point setting then it will find the CP correctly:

1677768595475.png


1677768595475.png (142.8 KiB)
· 2
5 |100000

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

Patrick Zweekhorst avatar image Patrick Zweekhorst commented ·

Hi @Jason Lightfoot ,

I guess that could indeed be the problem. But for control areas I think it would make more sense than for these control points. But I can work with some longer paths in my actual model for now. The other questions that the AGV is not taking the correct route are still very interesting for us.

The kiva example model @anthony.johnson made also uses control points at the end of the paths and that does seem to work. Maybe there is something different between the models? Or how the network is created?

0 Likes 0 ·
Patrick Zweekhorst avatar image Patrick Zweekhorst Patrick Zweekhorst commented ·

In fact, calling finalizeSpatialChanges again after I made the network by code on all the paths and all the control point seems to solve this issue.

0 Likes 0 ·