Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
[ FlexSim 23.1.3 ]
Hi!
How can I identify the travelPath being calculated in the setSpeedProfile code? The way I was using is the following loop, but if it has to pass through the same path twice, it doesn't work. I would have to add some other condition. Is there any way to directly obtain a reference to the travel path?
AGV.TravelPathSection section;
int i;
for(i = 1; i <= agv.travelPath.length; i++)
{
if(agv.travelPath.path == path)
{
section = agv.travelPath;
break;
}
}
Thanks in advance!
Solved! Go to Solution.