Fork of Cleanflight.
转到文件
Dominic Clifton 98f7549aa4 Fix `serial` command handling of telemetry baud rates. Set min blackbox
bad rate to be 19200 to match the confiurator.
2015-05-31 12:36:10 +01:00
docs Replace CLI serial port configuration code with a new `serial` command. 2015-05-31 11:50:58 +01:00
lib various: mark more constant data so it goes into flash instead of RAM. 2015-05-29 05:42:08 +02:00
src Fix `serial` command handling of telemetry baud rates. Set min blackbox 2015-05-31 12:36:10 +01:00
support using css overrides to restrict wide content resizing the pdf canvas 2015-04-03 18:05:48 +02:00
.gitattributes Ensure that binary file changes are ignored when producing a git diff. 2014-10-15 15:23:59 +01:00
.gitignore Update .gitignore to exclude generated files. 2015-01-12 10:51:43 +00:00
.travis.sh Patch Gimli to fix underscores_inside_words in PDF manuals 2015-05-12 22:26:36 +12:00
.travis.yml Enabling travis apt cache. 2015-05-17 22:48:17 +01:00
CONTRIBUTING.md Consolidated developement info into Development.md 2015-05-05 20:15:37 +01:00
JLinkSettings.ini Merge branch 'AlienWii32_defaults' of 2014-12-26 18:40:01 +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 CC3D - Add sonar. 2015-05-22 22:35:41 +01:00
Notes.md Normalize all the line endings 2014-09-15 23:40:17 +01:00
README.md Consolidated developement info into Development.md 2015-05-05 20:15:37 +01:00
build_docs.sh Cleanup getting started guide. 2015-04-22 23:53:12 +02:00
fake_travis_build.sh support unsafe https, code cosmetics 2015-04-02 13:08:52 +02: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 and automated testing.
  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.

  • Multi-color RGB LED Strip support (each LED can be a different color using variable length WS2811 Addressable RGB strips - use for Orientation Indicators, Low Battery Warning, Flight Mode Status, etc)
  • Oneshot ESC support.
  • Blackbox flight recorder logging (to onboard flash or external SD card).
  • Support for additional targets that use the STM32F3 processors (baseflight only supports STM32F1).
  • Support for the Seriously Pro Racing F3 board (STM32F303, I2C sensors, large flash, excellent I/O.)
  • Support for the TauLabs Sparky board (STM32F303, I2C sensors, based board with acc/gyro/compass and baro, ~$35)
  • Support for the OpenPilot CC3D board. (STM32F103, board, SPI acc/gyro, ~$20)
  • Support for the CJMCU nano quadcopter board.
  • Support for developer breakout boards: (Port103R, EUSTM32F103RC, Olimexino, STM32F3Discovery).
  • Support for more than 8 RC channels - (e.g. 16 Channels via FrSky X4RSB SBus).
  • Support for N-Position switches via flexible channel ranges - not just 3 like baseflight or 3/6 in MultiWii
  • Lux's new PID (uses float values internally, resistant to looptime variation).
  • Simultaneous Bluetooth configuration and OSD.
  • Better PWM and PPM input and failsafe detection than baseflight.
  • Better FrSky Telemetry than baseflight.
  • MSP Telemetry.
  • Smartport Telemetry.
  • RSSI via ADC - Uses ADC to read PWM RSSI signals, tested with FrSky D4R-II and X8R.
  • Autotune - ported from BradWii, experimental - feedback welcomed.
  • OLED Displays - Display information on: Battery voltage, profile, rate profile, version, sensors, RC, etc.
  • In-flight manual PID tuning and rate adjustment.
  • Rate profiles and in-flight selection of them.
  • Graupner PPM failsafe.
  • Graupner HoTT telemetry.
  • Multiple simultantious telemetry providers.
  • Configurable serial ports for Serial RX, Telemetry, MSP, GPS - Use most devices on any port, softserial too.
  • more many minor bug fixes.

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

Installation

See: https://github.com/cleanflight/cleanflight/blob/master/docs/Installation.md

Documentation

There is lots of documentation here: https://github.com/cleanflight/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/

Etiquette: Don't ask to ask and please wait around long enough for a reply - sometimes people are out flying, asleep or at work and can't answer immediately.

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 the Cleanlight-configurator GUI tool (Windows/OSX/Linux) that can be found here:

https://chrome.google.com/webstore/detail/cleanflight-configurator/enacoimjcgeinfnnnpajinjgmkahmfgb

The source for it is here:

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

Contributing

Contributions are welcome and encouraged. You can contribute in many ways:

  • Documentation updates and corrections.
  • How-To guides - received help? help others!
  • Bug fixes.
  • New features.
  • Telling us your ideas and suggestions.

The best place to start is the IRC channel on freenode (see above), drop in, say hi. Next place is the github issue tracker:

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

Before creating new issues please check to see if there is an existing one, search first otherwise you waste peoples time when they could be coding instead!

Developers

Please refer to the development section in the docs/development folder.

TravisCI is used to run automatic builds

https://travis-ci.org/cleanflight/cleanflight

Build Status

Cleanflight Releases

https://github.com/cleanflight/cleanflight/releases