sumo icon indicating copy to clipboard operation
sumo copied to clipboard

Arrival Position and Depart Position Value Error

Open nnuk opened this issue 7 years ago • 1 comments

Hi,

I was doing some routing on a OSM map in Sumo. When I play the simulation of the configuration file I get this error.

Error: Invalid arrivalPos definition for walk 'person 'person0' walking from 198727654_1'; must be one of ("random", "max", or a float) Quitting (on error).

The xml code that my routing file has is in the attached file. RoutingFile.pdf

Can anyone help me regarding this issue? I think that arrival pos and depart pos used in the code are in X Y format and Sumo documentation says that we have to use these positions with unit "m". So I don't know how to convert. Hope it helps understanding the question.

Thanks.

nnuk avatar Jul 01 '19 17:07 nnuk

ArrivalPosition must be given as an offset along the edge as a single number (which is then interpreted as meters). If the edge is 100m long then arrivalPos="55" would let the person arrive 5 meters after the middle. (in vehicle driving direction).

namdre avatar Jul 01 '19 19:07 namdre