Hi all,
I have an agv network in which the agvs travel around. When they have no work I send them to a parking position. While they are underway to a parking position it is possible that a new task becomes available. I want to assign this task to the closest agv, including the agv's that are underway to a parking position. To do this I want to know the distance between the agv and the start point of the task.
I thought I could do this with the function distancetotravel, this function however does not seem to work for agv's that are traveling. I either get a very large (undefined ) number, or a number that is too big and not changing when the agv moves along a path.
Is it possible to find the travel distance between an traveling agv and a control point?
Thanks in advance,
Patrick
Note: the same thing holds when using an normal network.