Go to file
Dominic Clifton 1c6ea1d397 Fix ANGLE mode and HORIZON mode resetting the errorAngle when they are
both attempted to be enabled at the same time.  Angle mode now takes
precedence over horizon mode.

Fix using aux settings that are not applicable to in-use aux channels -
prior to this it was possible to configure aux4 and then switch to
RX_SERIAL using a 7 channel system (3 aux channels) and aux4 would still
have been processed.
2014-08-26 21:28:23 +01:00
docs Mention Flip32+ in sonar docs. 2014-08-13 22:04:48 +01:00
lib Update makefile to use target specific files. 2014-06-02 18:13:28 +01:00
obj Latest binary with: SONAR support. Free RAM improvements. Prevent arming after connecting a battery when the throttle is in low; when using a switch to arm and when the switch is left in the ON position. PWM Failsafe improvements. MSP Telemetry on telemetry port. Support MSP on multiple ports. 2014-08-25 21:28:18 +01:00
src Fix ANGLE mode and HORIZON mode resetting the errorAngle when they are 2014-08-26 21:28:23 +01:00
support Enable automatic reset after (re)flashing, closes issue #19 2013-11-01 22:47:25 +00:00
targets OLIMEXINO - Document shield sonar port pinout. 2014-08-13 22:27:20 +01:00
.gitignore Updating git ignore list to ignore some common files. 2014-04-08 01:20:44 +01:00
JLinkSettings.ini imported STM32 multiwii port into baseflight dir 2012-02-16 09:39:58 +00:00
LICENSE Updated source files to include the GPL v3 notices. Include a copy of 2014-06-04 16:48:23 +01:00
Makefile Removing cruft from makefile that was accidentally committed when 2014-08-22 19:19:20 +01:00
Notes.md Adding notes. 2014-07-26 21:30:06 +01:00
README.md Updating readme. 2014-06-07 03:01:58 +01:00
stm32_flash_f103_64k.ld CJMCU - Use 64k/128k flash specific linker scripts scripts 2014-08-18 21:04:35 +01:00
stm32_flash_f103_128k.ld CJMCU - Use 64k/128k flash specific linker scripts scripts 2014-08-18 21:04:35 +01:00
stm32_flash_f303.ld BUGFIX - Linker script for F10x was not reserving the last 2kb which 2014-05-12 01:36:59 +01:00

README.md

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.

Additional Features

Cleanflight also has additional features not found in baseflight. Since the primary maintainer of baseflight also sells hardware there is no incentive for baseflight to support the target platforms and features that Cleanflight now provides.

For a list of features, changes and some discussion please review the thread on MultiWii forums and consult the documenation.

http://www.multiwii.com/forum/viewtopic.php?f=23&t=5149

Documentation

There is some documentation here: https://github.com/hydra/cleanflight/tree/master/docs

If what you need is not covered then refer to the baseflight documentation. If you still can't find what you need then visit the #cleanflight on the Freenode IRC network

IRC Support and Developers Channel

There's a dedicated IRC channel here:

irc://irc.freenode.net/#cleanflight

If you are using windows and don't have an IRC client installed then take a look at HydraIRC - here: http://hydrairc.com/

Videos

There is a dedicated Cleanflight youtube channel which has progress update videos, flight demonstrations, instrutions and other related videos.

https://www.youtube.com/playlist?list=PL6H1fAj_XUNVBEcp8vbMH2DrllZAGWkt8

Please subscribe and '+1' the videos if you find them useful.

Configuration Tool

To configure Cleanflight you should use Cleanflight-specific the fork of baseflight-configurator, that can be found here:

https://github.com/hydra/cleanflight-configurator

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: