Oleg Kalachev
0c87d4d634
Port changes from commit 52819e4
2025-07-15 01:22:18 +03:00
Oleg Kalachev
6058e8ecab
Refactor CLI submodule
...
Move command parsing to doCommand
Parse command with splitString instead of stringToken
Trim commands
Move cliTestMotor to the bottom
Rename parseInput to handleInput, which is more clear
Move motor test function to motors.ino
Remove parameters table functionality to simplify the code
2025-02-28 22:49:37 +03:00
Oleg Kalachev
f9e1802bc0
Make util module header instead of .ino-file
2025-01-10 07:02:00 +03:00
Oleg Kalachev
8c9bff0813
Make motor indexes definition const int and move them to motors.ino
...
Remove motor indexes definitions from flix.ino
Add motors.ino to simulation code and implement required mocks
2025-01-09 11:17:44 +03:00
Oleg Kalachev
ec832d4e37
Implement RC fail-safe
2024-11-04 11:51:17 +03:00
Oleg Kalachev
a94687bd56
Keep the t variable monotonic in the simulation
...
Otherwise it causes stopping sending MAVLink and other bugs
2024-10-23 09:36:54 +03:00
Oleg Kalachev
abcc9b96de
Use FLU as the main coordinate system instead of FRD
...
Corresponding to the IMU orientation in the new version
2024-10-23 09:30:49 +03:00
Oleg Kalachev
627233f862
Minor updates
2024-07-25 02:44:47 +03:00
Oleg Kalachev
1119c77cca
Remove unneeded abs for motors thrust in simulation
2024-05-24 14:47:26 +03:00
Oleg Kalachev
41a9a95747
Transfer gyro low pass filter to estimate.ino
...
Separate raw gyro data and filtered rates to different variables
2024-04-20 14:52:01 +03:00
Oleg Kalachev
f718af7f0e
Support MAVLink usage in simulation
2024-01-31 12:10:18 +03:00
Oleg Kalachev
6b52ad562b
Minor const clarification
2024-01-31 12:00:23 +03:00
Oleg Kalachev
ed6d09061b
Rename RC_CHANNEL_AUX to RC_CHANNEL_ARMED
2024-01-19 05:19:41 +03:00
Oleg Kalachev
48ea797a47
Make simulator read RC through real drone code
2024-01-06 00:09:29 +03:00
Oleg Kalachev
f520b57abe
Implement RC calibration, common for the real drone and the simulation
2024-01-02 11:54:09 +03:00
Oleg Kalachev
78f3f6e3b3
More simulation code minor updates
2023-12-29 19:10:37 +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
645b148564
Cleanup simulation code, remove debug model showing current attitude estimation
2023-12-29 18:45:19 +03:00
Oleg Kalachev
c58a16e4df
More clear file name for simulation plugin, cleanup in CMakeLists
2023-12-29 13:33:03 +03:00