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 謝昀宸 <[email protected]>: > 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 > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
