No, fcd-output will not work for this. However, if you just wish to reset vehicle positions you can also do this with traci.vehicle.moveToXY and it will probably have less overhead compared to saving/loading state.
Am Di., 9. Juni 2020 um 22:36 Uhr schrieb Proyash Podder <[email protected]>: > Thank you for your reply. I already used - -fcd-output which gives me the > exact x and y coordinates. But, my goal is to get the saved state(xml > file), modify it, and again use the - -load state command to restart the > simulation. Can I restart the simulation like load state if I use - - > fcd-output ? > > Regards, > Proyash Podder > > On Jun 9, 2020, at 4:09 PM, Jakob Erdmann <[email protected]> wrote: > > The state encodes vehicle positions via lane coordinates (lane id and > offset along the lane). While you could compute x and y from this (i.e. > using traci function traci.simulation.convert2d) it might be easier to use > --fcd-output instead: > https://sumo.dlr.de/docs/Simulation/Output/FCDOutput.html > > Am Di., 9. Juni 2020 um 17:54 Uhr schrieb Proyash Podder <[email protected] > >: > >> Hello everyone! >> >> I am using SUMO’s save state and load state functionality to take >> snapshot of my scenario for a particular time (e.g., 1st second) using “sumo >> -c myfile.sumocfg --save-state.times 1 --save-state.files trace_1.xml” >> command. >> >> Now, the trace_1.xml file does not contain the exact position ( e.g., x >> and y coordinate of a vehicle/node). Is there any way, I can get the exact >> x and y coordinate of all the nodes? >> >> Regards, >> Proyash Podder >> _______________________________________________ >> 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 > > > _______________________________________________ > 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
