Changed values for distance from threshold

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2021-12-21 23:21:02 +01:00
parent 15d7d5c98e
commit a863242177

View file

@ -339,11 +339,11 @@ var print_stats = func()
} }
# Distance from threshold # Distance from threshold
if (dist_t >= 400 and dist_t <= 550) if (dist_t >= 475 and dist_t <= 525)
{ {
lines[6] = ["Distance from threshold: " ~ sprintf("%i", dist_t) ~ " meters", 0]; lines[6] = ["Distance from threshold: " ~ sprintf("%i", dist_t) ~ " meters", 0];
} }
else if (dist_t >= 300 and dist_t <= 600) else if (dist_t >= 450 and dist_t <= 550)
{ {
lines[6] = ["Distance from threshold: " ~ sprintf("%i", dist_t) ~ " meters", 1]; lines[6] = ["Distance from threshold: " ~ sprintf("%i", dist_t) ~ " meters", 1];
if (worst_rank < 1) if (worst_rank < 1)
@ -351,7 +351,7 @@ var print_stats = func()
worst_rank = 1; worst_rank = 1;
} }
} }
else if (dist_t >= 200 and dist_t <= 680) else if (dist_t >= 400 and dist_t <= 600)
{ {
lines[6] = ["Distance from threshold: " ~ sprintf("%i", dist_t) ~ " meters", 2]; lines[6] = ["Distance from threshold: " ~ sprintf("%i", dist_t) ~ " meters", 2];
if (worst_rank < 2) if (worst_rank < 2)
@ -359,7 +359,7 @@ var print_stats = func()
worst_rank = 2; worst_rank = 2;
} }
} }
else if (dist_t >= 50 and dist_t <= 800) else if (dist_t >= 100 and dist_t <= 900)
{ {
lines[6] = ["Distance from threshold: " ~ sprintf("%i", dist_t) ~ " meters", 3]; lines[6] = ["Distance from threshold: " ~ sprintf("%i", dist_t) ~ " meters", 3];
if (worst_rank < 3) if (worst_rank < 3)