Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] DFROUTER Detector type is discarded for most of detectors

Hi Jakob, 

I have downloaded the latest version of edgeDataFromFlow.py and tried to
generate the edge data. But the latest version is showing some error. The
error message is as follows:


C:\Users\Anil\Desktop\SUMO June 30>python
sumo-git/tools/detector/edgeDataFromFlow.py -d parisdetectors.xml -f
parisflow.txt -o edgedata.xml
Traceback (most recent call last):
  File "sumo-git/tools/detector/edgeDataFromFlow.py", line 124, in <module>
    main(get_options())
  File "sumo-git/tools/detector/edgeDataFromFlow.py", line 86, in main
    beginM = int(sumolib.miscutils.parseTime(options.begin, 60) / 60)
TypeError: parseTime() takes 1 positional argument but 2 were given


Can you please suggest to me what mistake I am making with the new version
of edgeDataFromFlow.py?

The old version of edgeDataFromFlow.py did not consider the temporal flow,
but was working and gave the total flow in the edges. I have attached the
files.  FILES.zip
<http://sumo-user-mailing-list.90755.n8.nabble.com/file/t411/FILES.zip>  

Using the older version of edgeDataFromFlow, I was able to generate the
vehicle (although old version did not take into account the temporal flow
data). How can I check what is the flow after the simulation to compare the
flow with the original flow or edge data? I couldn't use flowFromRoutes.py
as I don't have a separate route file.



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/


Back to the top