Yes, the latest version works fine for retrieving the previous stage. It is
especially helpful when two consecutive rides are there.
On Mon, 25 May 2020 at 14:05, Jakob Erdmann wrote:
> Yes. The error happened when accessing the vehicle (pointer) of a previous
> stage in order to retrieve the
Yes. The error happened when accessing the vehicle (pointer) of a previous
stage in order to retrieve the vehicle type id of that stage. Instead of
using a potentially stale pointer, the type id is now stored directly.
Am Mo., 25. Mai 2020 um 10:29 Uhr schrieb Tripplanner Mumbai <
Hi Jackob,
I want to point out to your comments at github link- "*when calling
traci.person.getNextStage(personID, nextStageIndex) with a negative index,
if the vehicle has already left the simulation, traci crashes when trying
access the vehicle type*".
You may be right that it happened due to
Thank you for the example files. The issue has been fixed (
https://github.com/eclipse/sumo/issues/7060)
You can download the updated sumo version* tomorrow* at
https://sumo.dlr.de/docs/Downloads.php#sumo_-_latest_development_version
regards,
Jakob
Am Mo., 25. Mai 2020 um 07:50 Uhr schrieb
Hello,
the FatalTraCIError can mean one of two things:
1) Sumo had an error (you will find a reason in the log file if you run
sumo with option --log)
2) Sumo encountered a bug and crashed. In that case please send me input
files for reproducing the issue (
As per the discussion, I tried to extract the stage information using TraCI
and combine the log files to generate the ticket data. However, for some of
the cases, I get fatal errors as follows.
File "/home/dhrien/Documents/sumos/Bologna/acosta_persontrips/demo.py",
line 86, in run prevStage =
Yes. If you need to retrieve data while the simulation is still running,
you generally need to use traci. If you can wait until the simulation is
finished you can retrieve the ticket information from the xml outputs as
well.
Am Do., 7. Mai 2020 um 09:06 Uhr schrieb Tripplanner Mumbai <
Hello,
during the simulation, you can use traci.person.getStage to access past,
current and future stage information including the destination busStop of
each stage (which is the origin stop for the subsequent stage).
regards,
Jakob
Am Do., 7. Mai 2020 um 08:36 Uhr schrieb Tripplanner Mumbai <