Skip to main content

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

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


Back to the top