Frédéric Drouhin
2013-11-18 07:53:36 UTC
Dear all,
I start recently use sumo (0.17.1) to produce NS2 scenario based on
OpenStreetMap. I follow tutorial (by the way very helpful) and found a
way to go until "fcd output" generated by sumo binary.
I have several (3) questions about the different files produced and the
way to use traceExporter.py.
In fcdoutput file, I found some different tag from the documentation
(http://sumo-sim.org/userdoc/Simulation/Output/FCDOutput.html):
x in place of pos_x, y in place of pos_y but I also found pos and I
wondering what does it mean ?
Do you have an explanation about this tags ?
Example of a vehicule
<timestep time="1.00">
<vehicle id="1" x="1120.17" y="675.21" angle="-113.77"
type="DEFAULT_VEHTYPE" speed="0.00" pos="0.20" lane="-139664890#1_0"
slope="0.00"/>
</timestep>
Then I try to generate my NS2 with traceExporter.py, I got a strange
behaviour since I did not get a file and my mouse pointer change to a
cross. I try several combination but did not find the way to produce my
NS2 file. I wrote my own parser but I would prefer used traceExporter.py
if possible. What did I make wrong ?
I see also that I have some negative values and I check documentation
and found : "Since ns2 allows only positive x- and y-coordinates, the
scenario is shifted accordingly if negative coordinates are used in the
Sumo scenario. " Does it mean that the min(x) and min(y) are shifted to 0 ?
Thanks for your help,
Frédéric
I start recently use sumo (0.17.1) to produce NS2 scenario based on
OpenStreetMap. I follow tutorial (by the way very helpful) and found a
way to go until "fcd output" generated by sumo binary.
I have several (3) questions about the different files produced and the
way to use traceExporter.py.
In fcdoutput file, I found some different tag from the documentation
(http://sumo-sim.org/userdoc/Simulation/Output/FCDOutput.html):
x in place of pos_x, y in place of pos_y but I also found pos and I
wondering what does it mean ?
Do you have an explanation about this tags ?
Example of a vehicule
<timestep time="1.00">
<vehicle id="1" x="1120.17" y="675.21" angle="-113.77"
type="DEFAULT_VEHTYPE" speed="0.00" pos="0.20" lane="-139664890#1_0"
slope="0.00"/>
</timestep>
Then I try to generate my NS2 with traceExporter.py, I got a strange
behaviour since I did not get a file and my mouse pointer change to a
cross. I try several combination but did not find the way to produce my
NS2 file. I wrote my own parser but I would prefer used traceExporter.py
if possible. What did I make wrong ?
I see also that I have some negative values and I check documentation
and found : "Since ns2 allows only positive x- and y-coordinates, the
scenario is shifted accordingly if negative coordinates are used in the
Sumo scenario. " Does it mean that the min(x) and min(y) are shifted to 0 ?
Thanks for your help,
Frédéric