Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] How to get the turning behavior of the vehicle?

You can use sumolib to read the turning direction for each network connection. All you need to do is parse the route file and look up a connection for each pair of successive route edges: dir = fromEdge.getConnections(toEdge)[0].getDirection()

Am Di., 24. Nov. 2020 um 15:19 Uhr schrieb 謝昀宸 <sdfg014025xx@xxxxxxxxx>:
Hello,
I want to record the left and right turn behavior or the number of turns of the vehicle in a route
Do Traci or other function libraries provide similar functions?

Many thanks,
Yun
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top