I'm running a simulation based on SUMO, OMNeT++ and veins, and I want to see the influence of connectivity on traffic safety. Thus, I add several 'SSM' command in my router file.
When I ran sumo individually, it will give me the output of the vehicle which has SSM device, such as TTC and PET. Each SSM device will have its own output file, named 'ssm_id.xml'
However, when I ran SUMO, OMNeT++ and Veins together, the output of SSM device is missed, I cannot find them.
Does anybody know how to solve this problem?
Thank you so much!
You might (1) have configured SUMO to write the output files to the directory from which you are running the simulation and you might (2) be using sumo-launchd.py
to run one copy of SUMO for each simulation. By default, sumo-launchd.py
runs the SUMO simulation by copying all files to a temporary directory (which is deleted when the simulation completes). Hence, your output files are deleted.
Thus, there are three ways to retain your output files:
sumo-launchd.py
to not delete the temporary directory