Commit graph

2704 commits

Author SHA1 Message Date
Dominic Clifton a5c2c70541 Fix build for targets that don't use BARO_EOC_GPIO. 2015-04-16 20:56:50 +01:00
Dominic Clifton 6d5b44df7a Fix boot failure on Flip32+ Deluxe Acro.
The problem was the MPU6050 EXTI handler was not registered due to baro
detection taking the only callback handler slot.  When the MPU6050 EXTI
was configured the interrupt flag was never cleared which results in the
CPU being starved.
2015-04-16 20:26:20 +01:00
Dominic Clifton 022d6247cb Add note to documentation regarding RX sending out channel data on
signal loss that would cause a disarm to be registered by the FC.
2015-04-16 12:52:06 +01:00
Dominic Clifton 4b7de19460 Update ALIENWIIF1/F3 specific failsafe configuration to fix broken build 2015-04-16 12:37:30 +01:00
Dominic Clifton 4b4e64e204 Fix unresolved references in unit tests for new failsafe code. 2015-04-16 10:57:27 +01:00
Dominic Clifton e51b1b4b14 Updating documentation to reflect new CLI values 2015-04-16 08:59:18 +01:00
Dominic Clifton 35f78d8680 Update comment regarding rx_min_usec and rx_max_usec 2015-04-16 08:53:26 +01:00
Dominic Clifton 7f42149c30 Fix missing & operator. 2015-04-16 02:02:53 +01:00
Dominic Clifton c8c0c85656 First-cut of a refactored failsafe system.
* fixes issue where indicators would flash when SBus RX entered failsafe
mode.
* fixes bug where turning off a TX for an SBus RX would instantly disarm
when using a switch to arm when the channel went outside the arming
range.
* introduces failsafe phases to make the system more understandable.
* allows the system to ask if rxSignalIsBeing received for all RX
systems: PPM/PWM/SerialRX/MSP.  Also works when a serial data signal is
still being received but the data stream indicates a failsafe condition
- e.g.  SBus failsafe flags.
* failsafe settings are no-longer per-profile.

Untested: Sumd/Sumh/XBus/MSP (!)
Tested: SBus X8R, Lemon RX Sat, X8R in PWM, Spektrum PPM.
2015-04-16 01:31:12 +01:00
Jan Staal a5c8c40751 Removed reference to wiki added video
changed reference to new .md file
2015-04-15 22:40:34 +00:00
Jan Staal fd260d064a Move Building in Eclipse page
Taken from wiki https://github.com/cleanflight/cleanflight/wiki/Building-with-Eclipse
2015-04-15 22:30:12 +00:00
Jan Staal e9e4f4b525 Moved Hardware Debugging file
Taken from wiki https://github.com/cleanflight/cleanflight/wiki/Debugging-in-Eclipse
2015-04-15 22:27:28 +00:00
modem158 2aa8b2bd21 Update Rx.md
Just adding documentation to help with an issue that arose today.
2015-04-15 16:50:58 -04:00
Dominic Clifton 37e551db11 Updating led strip docs. Warn users that the HowTo may not be as up to
date as the documentation - documentation updates via pull requests are
preferred over blog posts/videos.
2015-04-14 20:24:25 +01:00
Dominic Clifton 0ff1599a07 Merge pull request #613 from dascons/patch-3
Update LedStrip.md
2015-04-14 20:19:48 +01:00
Dominic Clifton d15505b2ed Merge pull request #745 from dkisselev/patch-1
Update Autotune.md
2015-04-14 20:18:57 +01:00
Dominic Clifton f9a5ca2743 Merge pull request #727 from t0mmg/master
Documentation update for cli.md
2015-04-14 20:18:45 +01:00
Dominic Clifton 0ecf8be233 Merge pull request #743 from SamuelBrucksch/master
Fixed speed according to frsky protocol
2015-04-14 20:17:59 +01:00
Dominic Clifton 21191c0e14 Merge pull request #762 from bhuism/master
fix voltage calculation for smartport telemetry
2015-04-14 20:14:01 +01:00
Dominic Clifton 29d2f61408 Merge branch 'Hwurzburg-patch-3' 2015-04-14 20:13:01 +01:00
Dominic Clifton d6e94da2f7 Fix formatting of documentation changes in
b34ec00dc5
2015-04-14 20:12:38 +01:00
Dominic Clifton b34ec00dc5 Merge branch 'patch-3' of git://github.com/Hwurzburg/cleanflight into Hwurzburg-patch-3 2015-04-14 20:09:09 +01:00
Dominic Clifton 9a2177d231 Update LedStrip documentation and add link to WS2812 datasheet. 2015-04-14 20:07:02 +01:00
Dominic Clifton 5d62f6da69 Merge branch 'nebbian-bugfix-sonar-drift' 2015-04-14 19:55:23 +01:00
Dominic Clifton 6eaca17cbd fix unit test compilation errors caused by 0359a32 2015-04-14 19:54:48 +01:00
Dominic Clifton beef2e87d7 Merge branch 'bugfix-sonar-drift' of git://github.com/nebbian/cleanflight into nebbian-bugfix-sonar-drift 2015-04-14 19:45:54 +01:00
Dominic Clifton 1a2ef223a0 SPARKY - Apply Oneshot/PPM timer clash fix.
Closes #756.
2015-04-14 19:29:11 +01:00
Dominic Clifton 436d2ed591 Disable VBAT feature by defualt unless target has on-board voltage
divider.
2015-04-14 16:37:47 +01:00
Dominic Clifton 0dd84f587f Merge pull request #767 from sherlockflight/mixer-profile-cli
Fix CLI: mixer settings should be master values, not profile values
2015-04-14 16:19:20 +01:00
Dominic Clifton 78a4476506 Fix comment typo in failsafe.c 2015-04-14 13:59:11 +01:00
Dominic Clifton f28158a5a7 Cleanup debug code. 2015-04-14 13:59:11 +01:00
Andrew Payne 6e629284fc Clarify need to properly set the endpoints 2015-04-13 20:25:28 -04:00
Andrew Payne 06311dda39 Per feedback 2015-04-13 20:13:33 -04:00
Nicholas Sherlock 645f4a4d3b Fix CLI: mixer settings should be master values, not profile values 2015-04-14 11:49:20 +12:00
Hwurzburg f71c764c11 Update PID tuning.md
Add info on pid controller dependent behavior of RC, P/R, and Yaw Rates
2015-04-13 08:13:58 -05:00
Bas Huisman 65b6041d1f fix voltage calculation for smartport telemetry 2015-04-13 10:14:55 +02:00
Andrew Payne 80e3520f34 Update index.md 2015-04-12 20:56:57 -04:00
Andrew Payne f32f90939f Create index.md for an overall table of contents 2015-04-12 20:53:42 -04:00
Andrew Payne 8be92db41a Copy editing, fixing grammar 2015-04-12 20:28:25 -04:00
Andrew Payne b4b4924df7 Rewrite section about props spinning when armed 2015-04-12 20:26:30 -04:00
Andrew Payne 53f45b8795 Make references to doc pages links 2015-04-12 20:14:07 -04:00
Ben Hitchcock 0359a3280b Bugfix to stop altitude hold drift, especially noticeable in sonar mode.
This uses the raw stick values instead of the calculated RCCommand values to determine whether or not the stick has moved.  The problem was that the RcCommand variable wasn't being reset to the stick position each loop, and so outputs were being treated as inputs.
2015-04-12 15:06:04 +08:00
Alex Zaitsev 2fa4932f47 Added information about TPA rate. 2015-04-11 23:11:48 +03:00
Dominic Clifton c11c25514b SPRACING32/NAZE32 - Add support for MPU6050 data ready interrupt.
Currently the interrupt handler is unused.  Later it can be used as a
potential source for watchdog checking or to syncronize the system
around new acc/gyro data availability.

Verified on Naze32 rev 3/4/5 and SPRacingF3 targets.
2015-04-11 19:18:11 +01:00
Chris Mavrakis 89131ecd4a Added a how-to-setup-everything walkthrough guide as a README file. It explains the basic setup steps a CF noob should follow, linking to individual docs. The rest of the docs (the advanced ones) are listed and linked at the bottom. Incorporated thenickdude's, bhuism's and hydra's suggestions, too. 2015-04-11 17:49:41 +02:00
Samuel Brucksch c8a33ab1db Update frsky.c
Changed to a faster calculation
2015-04-08 22:44:44 +02:00
Denis Kisselev f882750e49 Update Autotune.md
Typo
2015-04-08 12:31:14 -07:00
Dominic Clifton d3d9721e91 NAZE - Add support for Naze32_SP (aka PARIS Sirius Air HERO 32). 2015-04-08 20:09:53 +01:00
Dominic Clifton 749160f20e Reset to bootloader after failure mode to allow re-flashing. 2015-04-08 20:07:48 +01:00
Samuel Brucksch 8f165e5224 Update frsky.c
fixed compiling issue
2015-04-08 10:48:22 +02:00