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
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.htmlHello 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
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________ sumo-user mailing list sumo-user@xxxxxxxxxxxTo unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
|