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 > <https://sumo.dlr.de/docs/Simulation/Output/FCDOutput.html> > Am Di., 9. Juni 2020 um 17:54 Uhr schrieb Proyash Podder <[email protected] > <mailto:[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] <mailto:[email protected]> > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user > <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
