Hello, the problem occurs because you are issuing moveToXY commands in ~50ms intervals while running the simulation with a step length of 10ms. This results in simulation steps where the vehicle drives normally without external control and then reaches the end of the last route edge. regards, Jakob
2017-11-15 11:07 GMT+01:00 mljack <[email protected]>: > It happens both on master and 0.31.0. Here's my python test and sumo > files. API dumps are in the file sumo.log. > https://www.dropbox.com/s/zo4z2911sjg97jh/test.zip?dl=0 > > It happens only when keepRoute equal to 0 or 2. Usually, it happens near > junctions. > > Regards, > Liang > > On Wed, Nov 15, 2017 at 3:13 PM, Jakob Erdmann <[email protected] > > wrote: > >> Since it fails in the master I'm definitely interested in the API calls. >> I'd assume it should fail in release as well since that part of the code >> wasn't worked on. Nevertheless, it would be good to have that assumption >> confirmed. >> regards, >> Jakob >> >> 2017-11-14 17:11 GMT+01:00 mljack <[email protected]>: >> >>> I'm using the source from the master branch since I need a few fixes >>> there. I'll have more tests to see whether it's reproducible on latest >>> release version or have a dump of API calls. >>> >>> Liang >>> >>> On Tuesday, November 14, 2017, Jakob Erdmann <[email protected]> >>> wrote: >>> >>>> Hello, >>>> as long as the car is receiving a moveToXY command every simulation >>>> step it should never disappear. What version of SUMO are you using? >>>> If the car does disappear (using the latest release version) despite >>>> continuous updates, it would be helpful if you could send me a .net.xml >>>> file and a log of moveToXY parameters that were sent during each step. >>>> regards, >>>> Jakob >>>> >>>> 2017-11-14 11:35 GMT+01:00 mljack <[email protected]>: >>>> >>>>> Hello, >>>>> >>>>> I have a problem to manually control a car always driving on the road. >>>>> >>>>> While SUMO controlling some NPC cars, I also have a player car which >>>>> only response to user's control input. The state of this car is synced to >>>>> SUMO through API. My problem is that the player car get disappeared after >>>>> moveToXY(keepRoute=0) API calls. It seems it ran out routes, esp. on >>>>> a short road segment. >>>>> >>>>> How could I keep a car always on the road? so that other NPC cars >>>>> won't run through the player car. >>>>> >>>>> Thanks, >>>>> Liang >>>>> >>>>> _______________________________________________ >>>>> sumo-user mailing list >>>>> [email protected] >>>>> To change your delivery options, retrieve your password, or >>>>> unsubscribe from this list, visit >>>>> https://dev.eclipse.org/mailman/listinfo/sumo-user >>>>> >>>>> >>>> >>> _______________________________________________ >>> sumo-user mailing list >>> [email protected] >>> To change your delivery options, retrieve your password, or unsubscribe >>> from this list, visit >>> https://dev.eclipse.org/mailman/listinfo/sumo-user >>> >>> >> >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To change your delivery options, retrieve your password, or unsubscribe >> from this list, visit >> https://dev.eclipse.org/mailman/listinfo/sumo-user >> >> > > _______________________________________________ > sumo-user mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/sumo-user > >
_______________________________________________ sumo-user mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/sumo-user
