[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Previous stage output not available in TraCI - problem analyzed
|
Hi,
the problem is caused by a crash of SUMO in certain
circumstances.
For details see issue 7336
Greetings Harald
Am 22.07.20 um 14:07 schrieb Tripplanner Mumbai:
Finally, I installed SUMO through the command line (sudo
apt install SUMO) and tried to get the previous stage data
through TraCI but again the same issues persist here, i.e., it
goes for exception and the program stops.
It is a prolonged question which is yet to be answered by
anyone, will I get an answer for it?
Again, accessing previous stage data leads to
error when I tried with the latest development version which
was updated on July 9.
Hello,
I had raised this question long time ago that the
TraCI program is unable to find the previous stage
information incase the current stage has been
completed successfully. Particularly I was trying to
extract the following information from the previous
stage.
print("previous
stage","type",prevStage.type,"dest",prevStage.destStop,"travel
time", prevStage.travelTime,
"distance",prevStage.length,"depart time",
prevStage.depart)
Unfortunately, the output does not contain all
the required information, as shown below.
previous stage type 3 dest
busStop#12 travel time -1.0 distance
672.437702712895 depart time -0.001
Surprisingly, when I tried to execute
the TraCI code (demo-i.py) after installing the
latest version (updated on July 5), I got
some exceptions now which were not there in the
previous versions. In particular I am getting the
following error:
Error in Previous Stage
retrieval, so, skip this personID: 2229
, which is due to line number
97 in my TraCI program.
Kindly check the issues in the development version and
suggest to me. I am enclosing the network and
corresponding codes for tracing the issue.
regards,
Dillip Rout
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user