Commit graph

2703 commits

Author SHA1 Message Date
Dominic Clifton f05a12863c Update beeper code to allow targets that don't support GPS to be built. 2015-04-25 10:55:59 +02:00
Dominic Clifton 3974b02b3a Remove BEEPER_CONFIRM_BEEP. Simplifies logic, reduces code size, and
ensures that the durations of one or more confirmation beeps can never
get out of sync when the code is changed.  Renamed queueConfirmationBeep
to beeperConfirmationBeeps - nothing was actually queued.
2015-04-25 10:53:07 +02:00
Dominic Clifton 064de090a0 Even more cleanups to the new beeper code. Seperate beeper mode and
priority via simpler static declaration - removes giant switch
statement.  Use a new method when beeping out GPS status.  Lower memory
usage. Smaller code size.  Beeper priority now only handled in a single
place.
2015-04-25 10:39:14 +02:00
Dominic Clifton 85b524fa18 Cleanup beeper mode comments to reduce maintenance overhead when
adding/removing modes and/or refactoring.
2015-04-25 00:48:01 +02:00
Dominic Clifton 3b557d5f42 Further cleanups to the new beeper code. 2015-04-24 23:55:11 +02:00
Dominic Clifton 6360aa0dca Cleanup new beeper code. Decreases code-size, removes unneeded state BEEPER_STOP, reduces needs for some comments, removes some magic numbers, simplifies logic and improves maintainability. 2015-04-24 23:10:35 +02:00
Andrew Payne 68aa0b6485 Update Battery.md w/ copy edits & typo fixes 2015-04-24 15:39:05 -04:00
Jonas Harnesk 6f3574790d Fixed broken link to banggood 2015-04-24 20:58:25 +02:00
Dominic Clifton 5c0e0952d6 Merge pull request #801 from payne92/documentation-edits
Documentation edits and improvements
2015-04-24 00:39:05 +02:00
Andrew Payne 087adabea5 Merge remote-tracking branch 'upstream/master' into documentation-edits 2015-04-23 14:14:26 -04:00
Michael Jakob ca9b307850 Adjust variable data type for new CLI parameter 2015-04-23 17:30:21 +02:00
Michael Jakob 2fd79a7aa2 This fix is for avoiding yaw overshoot and bounce back for some
configurations
The hardcoded limit in the mixer and PID controllers 3-5 would be
removed
by default and will be configurable by CLI variables:

yaw_jump_prevention_limit, global setting (original fixed value was 100)
yaw_p_limit, per profile setting (fixed value was 300)
2015-04-23 17:30:20 +02:00
Dominic Clifton bad0b1b04d Fix random RX loss beep when using Serial RX receivers. 2015-04-23 16:36:56 +02:00
Dominic Clifton 7266d42466 Cleanup failsafe beeper code and update failsafe unit tests. 2015-04-23 15:55:04 +02:00
Nicholas Sherlock ec55efd5bd Fix explanation of mincommand parameter (it doesn't relate to the Rx) 2015-04-23 16:31:17 +12:00
Dominic Clifton 519586a5ce Merge branch 'refactoredBeeperCode_181_1' of
git://github.com/ethomas997/cleanflight into
ethomas997-refactoredBeeperCode_181_1

Conflicts:
	src/main/flight/failsafe.c
	src/main/io/beeper.c
	src/main/mw.c
2015-04-23 01:21:27 +02:00
Andrew Payne 48aa67ca12 Merge branch 'documentation-edits' of github.com:payne92/cleanflight into documentation-edits 2015-04-22 18:11:41 -04:00
Andrew Payne c1b93ff92a Merge remote-tracking branch 'upstream/master' into documentation-edits 2015-04-22 18:10:29 -04:00
Nicholas Sherlock 391a884d1d Fix line wrapping of "stick positions" section 2015-04-23 10:05:02 +12:00
Nicholas Sherlock 529141527c Add explanation of yaw controllability at low throttle (tricopters) 2015-04-23 10:02:57 +12:00
Dominic Clifton 1dc066eb73 Merge pull request #795 from Q-Branch/Updated_battery_monitoring_docs
Update to Battery monitor docs
2015-04-23 00:02:10 +02:00
Dominic Clifton 4c02b6ef9e Merge pull request #778 from JohnieBraaf/master
Move wiki pages to docs folder
2015-04-22 23:59:07 +02:00
Dominic Clifton efe0acbd64 Cleanup getting started guide. 2015-04-22 23:53:12 +02:00
Dominic Clifton 23698daa48 Merge branch 'docs-proposals-chris' of git://github.com/cmavr8/cleanflight into cmavr8-docs-proposals-chris
Conflicts:
	build_docs.sh
2015-04-22 23:41:16 +02:00
Dominic Clifton 07ff844725 Clarify tpa_breakpoint and tpa_rate documentation. 2015-04-22 23:29:48 +02:00
Dominic Clifton 3e3a197809 Merge pull request #757 from azaitsev/patch-2
Added information about TPA rate.
2015-04-22 23:25:14 +02:00
Dominic Clifton d58f873bb7 Merge pull request #777 from modem158/patch-3
Update Rx.md
2015-04-22 23:23:47 +02:00
Dominic Clifton b2710b215e Fix typo in comment 2015-04-22 23:19:42 +02:00
Dominic Clifton 24052eae2e Fix some character encoding issues in comments. 2015-04-22 20:29:21 +01:00
Dominic Clifton 407f71ce6e Merge branch 'rework-failsafe' 2015-04-22 21:25:07 +02:00
Dominic Clifton 1562b6a8e9 Merge branch 'sherlockflight-tricopter-yaw' 2015-04-22 21:24:44 +02:00
Dominic Clifton c085b2c61d Fix CJMCU build (broken in 08efc2e) 2015-04-22 20:24:23 +01:00
Dominic Clifton 0d8889c8ef Merge branch 'tricopter-yaw' of git://github.com/sherlockflight/cleanflight-dev into sherlockflight-tricopter-yaw 2015-04-22 21:21:17 +02:00
Dominic Clifton 581b0cd897 Fix compiler warning regarding failsafeIndicator 2015-04-22 21:15:47 +02:00
Dominic Clifton f1f9c1ac02 Merge pull request #794 from Petfrogg/master
In order to make a CC3D.bin you need to add OPBL=yes.
2015-04-22 17:12:27 +02:00
Jonas Harnesk ca1a1903f9 Removing the git references on request from Hydra 2015-04-22 13:15:08 +02:00
Rich 248e4accba Update Battery.md 2015-04-22 09:11:28 +01:00
Rich 884e057a10 Update to Battery monitor docs
Added warning note to battery monitor docs to avoid Naze32 board destruction.
2015-04-20 13:50:27 +01:00
Jonas Harnesk f955c3aad0 In order to make a CC3D.bin you need to add OPBL=yes. 2015-04-20 14:03:44 +02:00
Andrew Payne 76970411aa Copy edits & cleanup 2015-04-19 20:12:20 -04:00
Andrew Payne 3b94756465 Merge remote-tracking branch 'upstream/master' into documentation-edits 2015-04-19 19:48:57 -04:00
Dominic Clifton fbc3a8e1eb Correct rx channel min/max pulse checking so that it is inclusive to
match the documentation.  Add first unit tests for code in rx.c.
2015-04-19 13:22:32 +01:00
Nicholas Sherlock 08efc2e66d Fix tri_unarmed_servo (was broken by pid_at_min_throttle changes) 2015-04-19 21:37:51 +12:00
Dominic Clifton 20a421c4be Add test to ensure that failsafe is not activated when disarmed and RX
signal loss is occurs.
2015-04-19 06:29:54 +01:00
Dominic Clifton ebd5475a55 DISPLAY - Allow FC to boot normally if OLED display is not connected at
boot.  FC can detect when the display is unplugged and recovers after
display I2C timeouts.
2015-04-18 20:13:46 +01:00
Dominic Clifton d4eb558254 Ensure failsafe does not repeatedly call disarm when landed. 2015-04-18 19:00:20 +01:00
Andrew Payne 8edd51b1e2 Merge remote-tracking branch 'upstream/master' into documentation-edits 2015-04-17 16:48:41 -04:00
Dominic Clifton a34e8f0bdb Update the failsafe so that an extra cycle is not required between some
phase changes.
2015-04-17 00:10:35 +01:00
Dominic Clifton eb74735ee8 First cut of unit tests for reworked failsafe.
In writing these tests a bug was discovered with RX_SERIAL and RX_MSP
failsafe delay timing - the configured delays are not honoured.
2015-04-16 23:35:56 +01:00
Dominic Clifton a5c2c70541 Fix build for targets that don't use BARO_EOC_GPIO. 2015-04-16 20:56:50 +01:00