Sorry for asking the same question. I can't find the answer I'm looking for with SSM.
I want to use traci to get whether there will be a collision at intersections and roundabouts.
I also want to know who I'm going to collide with.
For example, a car traveling from left to right at an intersection ("vehicle1") and a vehicle traveling from top to bottom ("vehicle2") continue to go on, there is a possibility of a collision. Speed doesn't matter. In other words, it doesn't matter whether or not they collide when driving at the same speed, it is important that the road to the left of the intersection and the road to the top are colliding roads.
I wonder if it is possible to get the value by traci or other methods.
Regards.
-----Original Message----- From: "Lu"<kmo2578@xxxxxxxxx> To: "Sumo project User discussions"<sumo-user@xxxxxxxxxxx>; Cc: Sent: 2022-05-30 (월) 19:09:32 (GMT+09:00) Subject: Re: [sumo-user] Collision awarness
Thank you so much for your kind explanation.
But the situations where I try to recognize the risk of collision are intersections and roundabouts.
I'm trying to see if I can do it using the SSM you answered first.
I used traci to limit vehicle speed and lane changes. Therefore, speed and lane changes are made by myself using traci.
So if I don't do anything, they will collide with each other. So I want to know whether to do it or not before crashing. Is there any way to find out using traci in the current version?
I would like
to know whether there will be a collision when two vehicles
are traveling in their current direction.
We plan to use
traci, and if there is a risk of collision, i will take
appropriate measures to prevent the collision.
Could it be
possible to use traci to get information on whether or not
there is a possibility of collision in situations such as
intersections or roundabouts?
Or is there no
function available for this in SUMO, and I have no choice but
to process data such as coordinates and judge it myself?