From 2648fc35989529496bb832e36e21a2f4b9014689 Mon Sep 17 00:00:00 2001 From: GogaCoder Date: Tue, 29 Oct 2024 09:17:33 +0700 Subject: [PATCH] feat: pitch PID regulator, MPU and LPS modified --- .gitignore | 0 .idea/.gitignore | 0 .idea/codeStyles/Project.xml | 103 +++++ .idea/codeStyles/codeStyleConfig.xml | 0 .idea/editor.xml | 580 +++++++++++++++++++++++++++ .idea/helicopter_firmware.iml | 2 + .idea/misc.xml | 7 + .idea/vcs.xml | 0 LICENSE | 0 README.md | 0 convert_sysincludes.py | 0 get-platformio.py | 70 ++++ include/README | 0 lib/README | 0 platformio.ini | 1 + src/.clang-format | 0 src/App.hpp | 0 src/BoardI2C.hpp | 0 src/Filters/Kalman2DFilter.hpp | 0 src/Filters/kalman.hpp | 0 src/Filters/median3.hpp | 0 src/Filters/runningAverage.hpp | 0 src/Logic/FlightController.cpp | 36 +- src/Logic/FlightController.hpp | 20 +- src/Logic/FlightDispatcher.cpp | 0 src/Logic/FlightDispatcher.hpp | 0 src/Logic/PIDController.hpp | 0 src/Logic/SavedPidRegulator.hpp | 6 +- src/Motor/BrushedMotor.cpp | 0 src/Motor/BrushedMotor.hpp | 0 src/RF/BluetoothDispatcher.cpp | 0 src/RF/BluetoothDispatcher.hpp | 0 src/Sensors/Barometer.hpp | 11 +- src/Sensors/BarometerBMP280.hpp | 80 ++++ src/Sensors/BatteryController.hpp | 0 src/Sensors/MPU.hpp | 0 src/Sensors/RangingSensor.cpp | 37 +- src/Sensors/RangingSensor.hpp | 15 +- src/Sensors/Sensors.cpp | 11 +- src/Sensors/Sensors.hpp | 0 src/board_pins.h | 0 src/main.cpp | 38 +- test/README | 0 43 files changed, 917 insertions(+), 100 deletions(-) mode change 100644 => 100755 .gitignore mode change 100644 => 100755 .idea/.gitignore create mode 100644 .idea/codeStyles/Project.xml mode change 100644 => 100755 .idea/codeStyles/codeStyleConfig.xml create mode 100644 .idea/editor.xml create mode 100755 .idea/helicopter_firmware.iml mode change 100644 => 100755 .idea/misc.xml mode change 100644 => 100755 .idea/vcs.xml mode change 100644 => 100755 LICENSE mode change 100644 => 100755 README.md mode change 100644 => 100755 convert_sysincludes.py create mode 100755 get-platformio.py mode change 100644 => 100755 include/README mode change 100644 => 100755 lib/README mode change 100644 => 100755 platformio.ini mode change 100644 => 100755 src/.clang-format mode change 100644 => 100755 src/App.hpp mode change 100644 => 100755 src/BoardI2C.hpp mode change 100644 => 100755 src/Filters/Kalman2DFilter.hpp mode change 100644 => 100755 src/Filters/kalman.hpp mode change 100644 => 100755 src/Filters/median3.hpp mode change 100644 => 100755 src/Filters/runningAverage.hpp mode change 100644 => 100755 src/Logic/FlightController.cpp mode change 100644 => 100755 src/Logic/FlightController.hpp mode change 100644 => 100755 src/Logic/FlightDispatcher.cpp mode change 100644 => 100755 src/Logic/FlightDispatcher.hpp mode change 100644 => 100755 src/Logic/PIDController.hpp mode change 100644 => 100755 src/Logic/SavedPidRegulator.hpp mode change 100644 => 100755 src/Motor/BrushedMotor.cpp mode change 100644 => 100755 src/Motor/BrushedMotor.hpp mode change 100644 => 100755 src/RF/BluetoothDispatcher.cpp mode change 100644 => 100755 src/RF/BluetoothDispatcher.hpp create mode 100755 src/Sensors/BarometerBMP280.hpp mode change 100644 => 100755 src/Sensors/BatteryController.hpp mode change 100644 => 100755 src/Sensors/MPU.hpp mode change 100644 => 100755 src/Sensors/RangingSensor.cpp mode change 100644 => 100755 src/Sensors/RangingSensor.hpp mode change 100644 => 100755 src/Sensors/Sensors.cpp mode change 100644 => 100755 src/Sensors/Sensors.hpp mode change 100644 => 100755 src/board_pins.h mode change 100644 => 100755 src/main.cpp mode change 100644 => 100755 test/README diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.idea/.gitignore b/.idea/.gitignore old mode 100644 new mode 100755 diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..9db4553 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,103 @@ + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml old mode 100644 new mode 100755 diff --git a/.idea/editor.xml b/.idea/editor.xml new file mode 100644 index 0000000..226ca24 --- /dev/null +++ b/.idea/editor.xml @@ -0,0 +1,580 @@ + + + + + \ No newline at end of file diff --git a/.idea/helicopter_firmware.iml b/.idea/helicopter_firmware.iml new file mode 100755 index 0000000..a60d25d --- /dev/null +++ b/.idea/helicopter_firmware.iml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml old mode 100644 new mode 100755 index d858eb1..9e679a6 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,5 +1,12 @@ + +