VCM: increase safe range to 2s

This commit is contained in:
emanuel 2022-10-19 10:43:56 +01:00
parent c45ac7c2e4
commit fb7102a933
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}