[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Regarding routesampler and vehicle attributes
|
oh, I'm really sorry, please disregard my previous email. Looks like I made a typo, but I hope to ask, regarding the additional file, does it still need to be written out? Thanks!
Hi, I tried this: "%sumo_home%\tools\routeSampler.py" --atributes="type=\"car\"" -r vehroutes.xml --prefix c --edgedata-files baycarroutes.xml -o bayroutes.sampled.rou.xml but got the following error: unrecognized arguments: --atributes=type="car".
Also, regarding the additional file to define vehicle types, do i need to write out or is it automatically generated? thanks!
Am Fr., 10. Dez. 2021 um 22:28 Uhr schrieb Brandon Cedric Patangan via sumo-user <
sumo-user@xxxxxxxxxxx>:
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:
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:
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!
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user