Revert t variable type to float instead of double

For the sake of simplicity and consistency.
This commit is contained in:
Oleg Kalachev
2025-10-18 12:28:01 +03:00
parent ebac78dc0f
commit e50a9d5fea
11 changed files with 16 additions and 19 deletions

View File

@@ -8,7 +8,7 @@ The firmware is a regular Arduino sketch, and it follows the classic Arduino one
The main loop is running at 1000 Hz. All the dataflow goes through global variables (for simplicity):
* `t` *(double)* — current step time, *s*.
* `t` *(float)* — current step time, *s*.
* `dt` *(float)* — time delta between the current and previous steps, *s*.
* `gyro` *(Vector)* — data from the gyroscope, *rad/s*.
* `acc` *(Vector)* — acceleration data from the accelerometer, *m/s<sup>2</sup>*.