Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Regarding routesampler and vehicle attributes

Hello again! Had a question about routesampler, I tried using attributes to run an edgedata file in order to define a route as being populated by a certain number of motorcycles. I used this command: 

python "%sumo_home%\tools\routeSampler.py" -r vehroutes.xml --edgedata-files passengercars.xml -o passengercars.sampled.rou.xml --attributes="vType id=\"car\" vClass=\"passenger\"

and was able to get routeSampler to write the routes. I tried to run it in sumo though, and this is what I got:

image.png
so I'm actually not sure what I got wrong in the command. I was able to write the routefile, and upon checking it I found that it did write the routes and specified vehicle id and type as well:

image.png

it all seemed to be well in there, and I checked the said line that was supposed to have an error but didn't find anything. Hope someone can clarify, thanks!

image.png

Back to the top