[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] distance to next junction
|
Hi Pascal,
this is just the length of the lane (traci.lane.getLength) minus the
current position on the lane (traci.vehicle.getLanePos).
Best regards,
Michael
Am 2019-07-15 14:52, schrieb Hoffmann, Pascal:
Hi sumo user,
I want to assign vehicles just, if they are in a defined distance to
next junction. Because I didnt find any function for that, I did it so
far with the distance to the next edge --> vehicle.getDrivingDistance.
But I actually just want to check whether I need to change my route,
when it is possible to change the route in like 20m. So is there any
function to realize the distance to the next junction?
Thanks in advance!
Best regards,
Pascal
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user