Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] How are position and velocity computed when turning left/right at intersections?

Hello,
by default, vehicles drive on so-called "internal edges" while passing an intersection. They follow the car follow model just as on normal edges/lanes. You can see these edges when you disable the option "draw junction shape" in the gui visualisation settings. Only if you have built your network with the option --no-internal-links will vehicles "jump" over intersections.
regards,
Jakob



2017-09-18 13:44 GMT+02:00 Do Duc Le <doducle91@xxxxxxxxx>:
Hi,

as the title says I'm interested in how the position of the vehicles are computed when turning at an intersection/junction. I know SUMO follows the car following model of Krauß and the position is computed as x(t + d t) = x(t) + v(t + d t)d for straight movement , which I also confirmed by the Traci function "traci.vehicle.getDistance( )". But I can't find any information on how the position or distance of each vehicle is computed when it turns left/right into another lane/edge (consider a simple cross intersection). It seems like the vehicle disappears from the network when it reaches the junction (at least it is not on any edge) and reappears if it leaves the junction again.

Does any of you know how those functions are computed?

Best regards,

Duc

_______________________________________________
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