Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Traci: person moveToXY

Hello,
traci.person.moveToXY is still under development.
Currently, re-positioning within the current edge is supposed to work. (Although it sounds as if that isn't working in your case either)
Placement on other edges is not yet implemented.
As soon as it's working, it will be put into the Changelog at http://sumo.dlr.de/wiki/ChangeLog#Enhancements
You could also watch the corresponding issue tracker: https://github.com/DLR-TS/sumo/issues/2872
regards,
Jakob

2017-12-21 18:22 GMT+01:00 Xavier Paul Lister Lavenir <xlavenir@xxxxxxx>:

Hello,

 

I am using TraCI to control pedestrians and I would like to “teleport” or move pedestrians around the network. The following command is available in the latest development version of TraCI: “traci.person.moveToXY”.

 

I’m not sure if this command is working correctly, I have tried a simple command of moving pedestrians to new coordinates which are on their route but it doesn’t always move them to the correct edge, and even if it is on the correct edge, it doesn’t go to the correct location along the edge. Also, changing the parameter “keepRoute” to 0 or 2 doesn’t allow me to move pedestrians off of the network.

 

I was just wondering if this function is ready for use or whether I am using it incorrectly?

 

Many thanks,

Xavier


_______________________________________________
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