Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Detect when a vehicle reached an LTS

Maybe you could use rerouters on that edge: http://sumo.dlr.de/wiki/Simulation/Rerouter
Via TraCI, you could either monitor the edge of the vehicle using traci.vehicle.getRoadID(), or the vehicles on that edge using edge.getLastStepVehicleIDs



2018-07-31 22:45 GMT+02:00 un famous <unfamous31@xxxxxxxxx>:
Hello ,
i'm trying to create a simulation where i need to detect when a vehicle reached an intersection so i can do some calculation and rerouting .....
However i'm unable to detect if a certain vehicle have reached the edge of a LTS.

can you please give me idea on how to achieve this.

and thank you

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top