From 9aa376ca7a9c15c22e3f0245c9d60968bd283000 Mon Sep 17 00:00:00 2001 From: Ian Parizot Date: Mon, 25 Nov 2024 13:43:13 +0100 Subject: [PATCH] Update position.h --- WRO2025/WRO2025_functions/position.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WRO2025/WRO2025_functions/position.h b/WRO2025/WRO2025_functions/position.h index 8700e2a..6761432 100644 --- a/WRO2025/WRO2025_functions/position.h +++ b/WRO2025/WRO2025_functions/position.h @@ -13,6 +13,6 @@ double time_to_collision_at_rest(float velocity) { } double xposition(double time) { - return time * 343; + return time * 343 / 2; } #endif \ No newline at end of file