Hello,
if you load trips into the simulation, than the route is computed at the
insertion time of the vehicle. You can access this route via traci
(traci.vehicle.getRoute).
Alternatively, you can compute routes in advance with duarouter and read
them from the generated xml file.
Or you can run
Dear Raaj,
Many thanks for your kind response, but my question is, if we can know the
turn (left, right, or straight) of every single vehicle at the beginning of
the trip. Not at the entrance of the intersection.
Regards
Radha
On Thu, Sep 26, 2019, 09:53 Raaj Striker wrote:
> I think you can
I think you can create a routes files with desired vehicle generation of
turning left or right or straight by defining the the route Id in such a
way that the vehicle follows that route's direction of turning left or
right or straight.
On Thu, 26 Sep, 2019, 1:52 PM Radha Reddy,
wrote:
> Dear
Dear Sumo Community,
I observed that the vehicle turns (left, right, straight) at the
intersection is assigned when a vehicle reached the intersection.
Is there any possibility to assign/knowing the vehicles turns when they are
injected to the road network?
By depending on the vehicle turn I