mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Open Source Flight Controller Firmware
This resulted in the removal of duplicate logic, duplicate code and the removal of a temporary buffer per-driver. The NAZE specific sensor alignment is now contained within the core code instead of in the drivers. The sensor alignment is determines by the sensor initialisation code. The alignment of sensor readings is now performed once and only by the appropriate sensor code, see usages of alignSensors(). The acc/gyro/compass driver code is now more reusable since it has no dependencies on the main code. |
||
---|---|---|
lib | ||
obj | ||
src | ||
support | ||
.gitignore | ||
baseflight.uvproj | ||
JLinkSettings.ini | ||
Makefile | ||
README.md | ||
stm32_flash.ld |
Cleanflight
Clean-code version of baseflight flight-controller - flight controllers are used to fly multi-rotor craft and fixed wing craft.
This fork differs from baseflight in that it attempts to use modern software development practices which result in:
- greater reliability through code robustness.
- easier maintainance through code cleanliness.
- easier to develop new features.
- easier to re-use code though code de-coupling and modularisation.
The MultiWii software, from which baseflight originated, violates many good software development best-practices. Hopefully this fork will go some way to address them. If you see any bad code in this fork please immediate raise an issue so it can be fixed, or better yet submit a pull request.
Contributing
Before making any contributions, take a note of the https://github.com/multiwii/baseflight/wiki/CodingStyle
For this fork it is also advised to read about clean code, here are some useful links: