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

@@ -10,7 +10,7 @@
#define SERIAL_BAUDRATE 115200
#define WIFI_ENABLED 1
double t = NAN; // current step time, s
float t = NAN; // current step time, s
float dt; // time delta from previous step, s
float controlRoll, controlPitch, controlYaw, controlThrottle; // pilot's inputs, range [-1, 1]
float controlMode = NAN;