Commit Graph

2948 Commits

Author SHA1 Message Date
DarkVegetableMatter 942c89237e Battery auto-detect and LPF for battery monitoring 2015-08-04 03:04:12 +01:00
Dominic Clifton 26ac6115e7 Merge branch 'digitalentity-rc-calibration' 2015-08-04 01:13:45 +01:00
Dominic Clifton 9d3276b222 Code and documentation cleanup of rc calibration.
Note: since it didn't actually calibrate anything it has been renamed to
rxrange.

Added ability to reset rxranges using `rxrange reset` - this follows the
same pattern as other cli commands.
2015-08-04 01:13:28 +01:00
Dominic Clifton 27f8223de7 Merge branch 'rc-calibration' of
https://github.com/digitalentity/cleanflight into
digitalentity-rc-calibration

Conflicts:
	docs/Rx.md
	src/main/io/serial_cli.c
	src/main/rx/rx.c
	src/main/rx/rx.h
2015-08-04 00:06:12 +01:00
Dominic Clifton 8af32e28fb Expand on the rx signal loss documentation. 2015-08-03 23:30:01 +01:00
Dominic Clifton aca179c654 Updating failsafe and rx loss detection documentation. 2015-08-03 21:52:25 +01:00
Dominic Clifton ae0c29125d Merge pull request #1157 from cleanflight/blackbox-pause
Add pause/resume switch support to Blackbox
2015-08-03 21:26:36 +01:00
Dominic Clifton 6f4f6c3515 Merge pull request #1178 from stuphi/Documentation-typo_in_Mixer.md
Change cmix to mmix on one line
2015-08-03 21:20:35 +01:00
Dominic Clifton f93c398ba0 Merge pull request #1176 from cmavr8/docs-man-building
Minor typo fixing in doc building
2015-08-03 21:20:17 +01:00
Dominic Clifton c1cb0d8864 CC3D - Display OLED DISPLAY on OPBL builds. 2015-08-03 21:19:20 +01:00
stuphi 0182413a17 Change cmix to mmix on one line 2015-08-03 20:53:28 +01:00
Dominic Clifton 1ef2d8ea4d Cleanup PWM rx loss detection. 2015-08-03 20:17:47 +01:00
Dominic Clifton 490268d2fc Failsafe - Allow AUX channels to HOLD their last value or be SET to a
specific value when RX loss is detected.

Tested with SBus, PWM & PPM.
2015-08-03 18:16:28 +01:00
Dominic Clifton 3436b08575 Failsafe - Remove magic number usage. Cleanup whitespace 2015-08-03 17:03:53 +01:00
Dominic Clifton 8e79a117d1 Merge branch 'ProDrone-preset_rx_channels' 2015-08-03 16:55:01 +01:00
Dominic Clifton 909878509c Merge branch 'preset_rx_channels' of https://github.com/ProDrone/cleanflight into ProDrone-preset_rx_channels 2015-08-03 16:54:48 +01:00
Dominic Clifton 9a23abb610 Correct mixer documentation.
(Thanks Robert Coppock)
2015-08-03 15:49:55 +01:00
Chris Mavrakis 616724271c Renamed build docs script reference, removed extraneous sudo, fixed minor format flaw in build_docs.sh. 2015-08-03 13:54:51 +02:00
ProDrone 08b376f2a5 RPY to mid-stick and T to lowest (or mid for 3D).
On bad (out-of-range) pulses; ROLL, PITCH, YAW will go to `mid_rc` and
THROTTLE will go to `rx_min_usec` (to `mid_rc` for 3D mode). So these
channels will no longer be set by the user directly.
Fallback values for the aux switches (0 .. max) can be set with this
version. Since these switches may trigger all kind of things, the user
needs control over them in case of a RX failsafe event.

A single flight control channel failure (first 4) when using parallel
PWM is interpreted as a failure for all flight control channels (first
4), since the craft may be uncontrollable when one channel is down. (+4
squashed commit)

Squashed commit:

[dbfea9e] Apply fallback values also when serial_rx init failed and/or
RX
disconnected and/or no signal received.

[b5a2ecd] Added get/set MSP commands for RXFAIL config

Bumped API minor version up.

[c0e31ce] minor change for coding standard

[322705f] Added programmable RX channel defaults on rx lost Update #2
2015-07-31 14:35:14 +02:00
Nicholas Sherlock 0c4604eeef Blackbox code size savings by factoring common loops out into fuctions 2015-07-31 15:53:22 +09:00
Dominic Clifton c282cf4ea7 Merge pull request #1161 from NL-Splinter/patch-1
Update Inflight Adjustments.md
2015-07-30 20:32:27 +01:00
Dominic Clifton da5bee283d Merge pull request #1134 from borisbstyle/cli_doc
Fix doc yaw_prevention_limit
2015-07-30 20:27:01 +01:00
Dominic Clifton f9d8cb362d Merge pull request #1142 from nzmichaelh/stflash
build: add a target for flashing via st-flash.
2015-07-30 20:25:27 +01:00
Dominic Clifton 8fb418706a Merge pull request #1144 from kaefert/patch-1
added explanations for mag_hardware
2015-07-30 20:25:08 +01:00
Dominic Clifton 999cc48445 Merge pull request #1145 from stuphi/Manual-PDF_version_Index
Add a simple TOC to the front of the PDF manual
2015-07-30 20:24:15 +01:00
Dominic Clifton 78b8fa9d31 Merge pull request #1160 from axelfrancois/master
Update GPS Doc
2015-07-30 20:13:01 +01:00
NL-Splinter 8697c5dd08 Update Inflight Adjustments.md
Some typos corrected.
2015-07-24 17:17:14 +02:00
Axel eb4e70c246 Update GPS Doc
Small modification for the type of GPS (NEO-6M).
2015-07-24 10:33:51 +02:00
Nicholas Sherlock 53860e461c Add resume event to allow clean log decoding, add documentation 2015-07-23 19:18:08 +12:00
Alexander Fedorov 01632998a3 Blackbox: Enable logging when mode switch is active 2015-07-22 13:36:22 +12:00
stuphi d978900182 Add a simple TOC to the front of the PDF manual 2015-07-19 20:48:53 +01:00
Thomas 471de906ea added explanations for mag_hardware
found the info here: http://www.rcgroups.com/forums/showthread.php?t=2249574&page=126&highlight=mag_hardware#post30521603 and thought it would make sense if the CLI table contained those explanations also.
2015-07-19 20:22:37 +02:00
Michael Hope f792ffa2e6 build: add a target for flashing via st-flash.
This makes developing against Discovery boards easier.

Signed-off-by: Michael Hope <mlhx@google.com>
2015-07-19 15:52:15 +02:00
borisbstyle eb6efec692 Fix doc yaw_prevention_limit 2015-07-17 16:54:47 +02:00
Dominic Clifton 7af3d57606 Fix default rx_min_usec to be 885 - this default needs to be just above
the lowest setting that an SBus RX will use in failsafe mode.

The previous value of 985 was a typo.

```0.625f * sbusChannelValue) + 880;```
2015-07-17 01:05:14 -07:00
Dominic Clifton b794e263e8 Fix compiler errors for old led animation code. 2015-07-17 01:05:14 -07:00
Dominic Clifton c5dbf16060 De-duplicate mixer integration test code. 2015-07-17 01:05:14 -07:00
Dominic Clifton cfe0d770ac De-duplicate mixer tri and quad integration test setup code. 2015-07-17 01:05:14 -07:00
Dominic Clifton 9f62349191 De-duplicte some Channel forwarding test-setup code 2015-07-17 01:05:14 -07:00
Dominic Clifton 5be2276b6b First cut of custom motor and servo mixer test.
Note: The test is rather heavyweight, more like an integration test than
a unit test, but will allow for the underlying code to be refactored.
2015-07-17 01:05:14 -07:00
digitalentity 2614111c39 Implemented RC calibration and unit-tests
Added rc calibration docs to Rx.md
2015-07-16 08:49:18 +10:00
Dominic Clifton 4fc7d517bf Adding another buzzer that works - MultiComp MCKPX-G1205A-3700
TRANSDUCER
2015-07-14 11:41:50 +01:00
Dominic Clifton 57e1c70548 Merge pull request #1046 from fedorcomander/blackbox_inflight_adjustments
Add logging of the inflight adjustment events to the blackbox
2015-07-13 18:05:08 +01:00
Dominic Clifton 9d60642cf2 Merge pull request #1113 from pulsar256/travis_docker_migration
travis docker environment compatibility
2015-07-13 17:55:43 +01:00
Dominic Clifton 1cfd2de168 Merge pull request #1114 from tannewt/patch-2
Fix a table
2015-07-13 17:55:04 +01:00
Dominic Clifton c0f1f1c145 Merge pull request #1111 from digitalentity/patch-1
Typo fix for quickMedianFilter implementation
2015-07-13 17:54:51 +01:00
Dominic Clifton 2e9e18acad Merge pull request #1120 from joshuabardwell/buzzer-documentation-update
Add "three beeps" arming tone documentation
2015-07-13 12:50:17 +01:00
joshuabardwell 4dec6e548a Add "three beeps" arming tone documentation 2015-07-13 00:35:51 -04:00
Dominic Clifton de1ff66854 PORT103R - Enable MPU6000/MPU6500 autodetection. 2015-07-13 03:29:18 +01:00
Dominic Clifton 676b2dd6c0 Use the define USE_FLASH_M25P16. Only USE_FLASHTOOLS for some
development targets.
2015-07-13 03:28:34 +01:00