VCM: increase safe range to 2s
This commit is contained in:
parent
c45ac7c2e4
commit
fb7102a933
|
|
@ -26,8 +26,8 @@ static int are_vehicles_intersecting(
|
|||
A2[0] = tA[a+1].latitude;
|
||||
A2[1] = tA[a+1].longitude;
|
||||
for (int b = 0; b < tB_len-1; ++b) {
|
||||
if (tA[a].timestamp > tB[b].timestamp + 1000 ||
|
||||
tA[a].timestamp < tB[b].timestamp - 1000) {
|
||||
if (tA[a].timestamp > tB[b].timestamp + 2000 ||
|
||||
tA[a].timestamp < tB[b].timestamp - 2000) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue