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[i].path == path)
{
section = agv.travelPath[i];
break;
}
}
Thanks in advance!