- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am working on a model of a train system using the AGV module. The paths are bidirectional, and trains travel from a loading point to an unloading point and then return.
The main route is single-track, with several sidings (passing loops) where trains can pull over. Loaded trains have priority over empty trains, so the desired behavior is the following:
If two trains are heading toward each other, the empty train should detect the situation, pull into the nearest siding (CP_Parking1), and wait there. Once the loaded train has passed, the empty train should rejoin the main track and continue its journey.
I have attached a demo example. I have tried using waypoints, but I cannot get the returning AGV to redirect to CP_Parking in order to allow the other AGV to pass.
I would appreciate any help in resolving this issue and in better understanding the correct way to model this behavior.
Thank you!
Solved! Go to Solution.