Hello, crashing indicates a bug. Please send me your scenario + script so I can investigate. You can also try using person.removeStages() which is intended to remove all stages of the person. regards, Jakob
2017-08-02 15:33 GMT+02:00 FIXED-TERM Beutelschiess Stephan (GS/EPT1) via sumo-user <sumo-user@lists.sourceforge.net>: > Hello, > > I have some problems changing a person's target during the simulation. > > I want to remove all stages of a person and then append a new walking > stage. This I tried to manage via TraCI command > Person.removeStage(personID, nextStageIndex) as long as there are stages. > > But sumo crashes, when removing the last stage (index 0). > > I also tried to append the new stage (containing the route to the new > target) first and then remove the 0th stage. But this also lead to a crash. > > I'm using dev-SVN-r25433 on a windows machine. > > Mit freundlichen Grüßen / Best regards > > Stephan Beutelschiess > GS/EPT1 > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > sumo-user mailing list > sumo-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user