Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Manually drive a car in SUMO

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 <namdre.sumo@xxxxxxxxxxxxxx> 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 <mljack@xxxxxxxxx>:
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 <namdre.sumo@xxxxxxxxxxxxxx> 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 <mljack@xxxxxxxxx>:
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
sumo-user@xxxxxxxxxxx
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
sumo-user@xxxxxxxxxxx
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
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top