it must be type "type=\"car\"". See
https://sumo.dlr.de/docs/Tools/Turns.html#multiple_vehicle_types

Am Fr., 10. Dez. 2021 um 22:28 Uhr schrieb Brandon Cedric Patangan via
sumo-user <[email protected]>:

> 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: 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: 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: image.png]
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to