Skip to content

Commit

Permalink
Update position.h
Browse files Browse the repository at this point in the history
  • Loading branch information
ianparizot authored Nov 25, 2024
1 parent 6501477 commit 9aa376c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WRO2025/WRO2025_functions/position.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ double time_to_collision_at_rest(float velocity) {
}

double xposition(double time) {
return time * 343;
return time * 343 / 2;
}
#endif

0 comments on commit 9aa376c

Please sign in to comment.