1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 04:15:44 +03:00
Open Source Flight Controller Firmware
Find a file
Dominic Clifton c08d0ac1b3 BUGFIX - gyro calibration too short when movement detected during
calibration.

When the model is moved during the gyro calibration period too much the
code that detects the movement (gyroMovementCalibrationThreshold aka
'moron threshold') did not restart the calibration correctly and one too
few calibration cycles were used when restarting.

In addition to this there was unnecessary calibration reset code - the
reset of calibration variables is supposed to happen at the start of
calibration; due to the bug the first calibration cycle could not be
detected when restarting so the old reset code was required. 

This commit also cleans up the Gyro code so the it is in a similar style
to the recently cleaned acceleration code.
2014-04-22 20:39:44 +01:00
lib added overclock feature 2014-04-15 08:33:37 +02:00
obj Latest binaries. 2014-04-22 02:47:08 +01:00
src BUGFIX - gyro calibration too short when movement detected during 2014-04-22 20:39:44 +01:00
support Enable automatic reset after (re)flashing, closes issue #19 2013-11-01 22:47:25 +00:00
.gitignore Updating git ignore list to ignore some common files. 2014-04-08 01:20:44 +01:00
baseflight.uvproj fixing fucked up struct definitions; 2014-04-08 08:25:25 +09:00
JLinkSettings.ini imported STM32 multiwii port into baseflight dir 2012-02-16 09:39:58 +00:00
Makefile Remove main.c's dependency on mw.h/board.h. 2014-04-22 01:58:23 +01:00
README.md Fix typo in readme. 2014-04-21 20:50:09 +01:00
stm32_flash.ld format 2014-04-16 15:06:37 +00:00

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:

  1. greater reliability through code robustness.
  2. easier maintainance through code cleanliness.
  3. easier to develop new features.
  4. 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 immediately 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: