Oleg Kalachev
c8e5e08b03
Move all global variable declarations to the appropriate subsystems
...
As it makes the subsystems code easier to understand.
Declare the most used variables in main sketch file as forward declarations.
Make all control input zero by default (except controlMode).
Minor changes.
2026-01-03 13:28:18 +03:00
Oleg Kalachev
e50a9d5fea
Revert t variable type to float instead of double
...
For the sake of simplicity and consistency.
2025-10-19 20:46:38 +03:00
Oleg Kalachev
70f5186c1b
Use double for storing time instead of float
...
Float precision may be not enough after some time of operating
2025-01-12 19:58:36 +03:00
Oleg Kalachev
698cc3d9b8
Global variables cleanups
...
Remove unused PID objects for cli
Move loopRate to time.ino
2025-01-10 07:10:30 +03:00
Oleg Kalachev
ea141f851f
Use 'loop rate' term instead of misleading 'loop frequency'
2024-12-04 07:00:00 +03:00
Oleg Kalachev
d2296fea76
Change C++ code style: put curly brace on the same line
2023-12-29 18:56:25 +03:00
Oleg Kalachev
a174d5cd7d
Headers cleanups
2023-12-19 05:06:19 +03:00
Oleg Kalachev
c77c25ef4e
dt can be negative on simulator reset
2023-12-04 00:27:55 +03:00
Oleg Kalachev
9a93367629
Make dt=0 on first step, simplify code
2023-05-31 20:07:38 +03:00
Oleg Kalachev
c1aa0d9869
Store current time in float variable
2023-05-26 16:23:30 +03:00
Oleg Kalachev
1125335b16
Cleanup, use printf
2023-05-24 11:22:59 +03:00
Oleg Kalachev
1019d6d4bb
Code cleanups
2023-05-24 10:28:32 +03:00
Oleg Kalachev
e039055c8e
Initial commit
2023-03-26 10:23:30 +03:00