16 Commits

Author SHA1 Message Date
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
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
ce67baae89 Minor fixes 2024-12-25 02:18:52 +03:00
Oleg Kalachev
378db51de9 Get rid of simulator build warnings 2024-10-24 03:50:03 +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
627233f862 Minor updates 2024-07-25 02:44:47 +03:00
Oleg Kalachev
69cfc9e5fa Utilize internal ESP32 UART invertor for SBUS 2024-01-26 13:46:13 +03:00
Oleg Kalachev
f4aaf0f4f3 Use radians macro, minor change 2024-01-12 00:43:52 +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
d2296fea76 Change C++ code style: put curly brace on the same line 2023-12-29 18:56:25 +03:00
Oleg Kalachev
cb27e0f61f Cleanups 2023-12-13 07:59:08 +03:00
Oleg Kalachev
9a93367629 Make dt=0 on first step, simplify code 2023-05-31 20:07:38 +03:00
Oleg Kalachev
f84d1e95dd More cleanups 2023-05-26 16:46:22 +03:00
Oleg Kalachev
88cc792287 Cleanups 2023-05-26 16:24:19 +03:00
Oleg Kalachev
34fd303027 Restore accidentally removed files 2023-05-24 10:58:34 +03:00
Oleg Kalachev
aaa8f70166 Enable Serial input and output in simulator, refactor 2023-05-24 10:23:12 +03:00