I want to add vehicle to road using movetoXY.  Vehicle spawns at some point, 
from next timestamp, I am giving positions using movetoXY positions on the map 
setting keep route=1 option.

By default, sumo searches for road nearest to 100 m, if route is found within 
100 m radius of given XY point. The vehicle should get placed to the nearest 
route. I changed the source code-changed this distance to 3000m and built sumo 
l, so that if nearest route is at say 125 m then also it should find the 
nearest route without giving any error.
I was conducting experiment, controlling vehicle using movetoXY and gave 
position outside the road but near to  it, what I observe is vehicle did not 
map it's route to that nearest road, but some other road far away. Can someone 
tell me how does this happen?

Regards

Amit



Get Outlook for Android<https://aka.ms/AAb9ysg>
_______________________________________________
sumo-dev mailing list
sumo-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-dev

Reply via email to