1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 03:50:02 +03:00
Commit graph

596 commits

Author SHA1 Message Date
David Bieber
5f18ad6d48 Fix spelling of declaration in docs/development/Development.md 2015-09-07 23:13:36 -07:00
Dominic Clifton
9208b8701a Merge pull request #1255 from ProDrone/pr1233_rxfail_mode_changes_1
Changed behavior of PR #1233 - solves issue #1254
2015-09-05 23:01:11 +01:00
Dominic Clifton
0caf8a65ba Merge pull request #852 from ProDrone/Failsafe_features_1
Failsafe - New failsafe functionality (Phase 1)
2015-09-05 22:50:34 +01:00
Dominic Clifton
a58895f4bc Merge pull request #1279 from larryho5/master
- Add Colibri Race md file
2015-09-05 18:34:06 +01:00
Dominic Clifton
84ae209c1e Update smix reverse documentation, closes #1140 2015-09-05 16:43:54 +01:00
ProDrone
f0681de53d Updates and feature additions to failsafe system.
- Added failsafe flightmode and rc control box.

To make failsafe procedure a separate flight mode and make it possible
to trigger failsafe with an AUX switch.

- Failsafe mode is activated when failsafe is active.

RC link lost is simulated with the failsafe AUX switch.
When NOT armed: failsafe switch to failsafe mode is shown in GUI (mode
tab).

- Activate failsafe mode with AUX switch.

- Prevent arming when failsafe via AUX switch is active (safety issue).

- Make failsafe disarm if motors armed and throttle was LOW (2D & 3D)
for `failsafe_throttle_low_delay` time (__JustDisarmEvent__).

Applied code changes to effectively add pull request: Make failsafe
disarm if motors armed and throttle low #717.

- Use failsafeIsMonitoring() to actually start monitoring.

- Added `failsafe_kill_switch` to code.

When set to 1 (0 is default), the failsafe switch will instantly disarm
(__KillswitchEvent__) instead of executing the landings procedure.
Arming is NOT locked after
this, so the craft could be re-armed if needed.
This is intended for racing quads where damage and danger must be
minimized in case of a pilot error.

- Added `failsafe_throttle_low_delay`, adapted documentation.

Used to adjust the time throttle level must have been LOW
to _only disarm_ instead of _full failsafe procedure_
(__JustDisarmEvent__).

- Updated the failsafe documentation.

- Re-enable arming at end of failsafe procedure.

At the end of a handled failsafe event, that means: auto-landing,
__JustDisarmEvent__ or __KillswitchEvent__, the RX link is monitored for
valid data.
Monitoring is a part of the failsafe handling, which means the craft is
still in failsafe mode while this is done.
Arming is re-enabled (allowed) when there is a valid RX link for more
then XX seconds, where XX depends on the handled event like this:
1. XX = 30 seconds after auto landing.
2. XX = 3 seconds after __JustDisarmEvent__.
3. XX = 0 seconds after __KillswitchEvent__.

NOTE: When armed via an AUX switch, you will have to switch to the
disarmed position at the very end to be able to re-arm.
The failsafe mode will not end until you do.

- __KillswitchEvent__ has now priority over __JustDisarmEvent__

- Apply rxfail values instantly when failsafe switch is ON

- Added missing cases to display.c

Show M when failsafe is monitoring for RX recovery (AND disarming when
armed with a switch).

===

Reworked the code from counter-based to time-based.

- AUX failsafe switch now has identical behavior to RX loss.

- Added RX failure and RX recovery timing.

- __KillswitchEvent__ skips RX failure detection delay (direct disarm).

===

[UNIT TESTS]

Adapted failsafe related unittests from counter-based to time-based

- Added failsafeOnValidDataFailed() to some tests

- Removed duplicate test setup from rc_controls_unittest.cc

- Removed magic numbers from rx_ranges_unittest.cc and rx_rx_unittest.cc

- Reworked all test-cases for flight_failsafe_unittest.cc
2015-09-04 16:55:40 +02:00
ProDrone
a46832fd85 Changed behavior of PR #1233 and doc update
Stick channels only have AUTO and HOLD mode.
AUX channels only have SET and HOLD mode.
Added check to parameter in CLI.
Modified rx.md to reflect changes (and more).

+1 squashed commit:

- A cleaner approach for the same functionality

Basically addressing all comments from Hydra
2015-09-04 16:51:19 +02:00
Larry (TBS)
c8f4a479e0 - Colibri Race md file update. 2015-09-04 16:57:58 +08:00
Larry (TBS)
f83e8f2592 - Colibri Race md file update. 2015-09-04 16:02:08 +08:00
Larry (TBS)
ee248b46a9 - Add Colibri Race md file 2015-09-02 12:40:38 +08:00
Dominic Clifton
a373c095e3 Correct new rxfail documentation. Fixes #1238 2015-08-20 18:35:36 +01:00
Dominic Clifton
f0b0cbd83a Update OSX building instructions to cover GCC 4.9.2. 2015-08-20 18:34:15 +01:00
Dominic Clifton
718729504e Allow FC to reverse input channels by using rxrange.
Just reverse the min/max arguments.

Unit tested.

Fixes #1132.
2015-08-20 02:46:03 +01:00
Dominic Clifton
a030d4dd9e Failsafe - Add rxfail auto mode. Allow rxfail to be used for all
channels, not just aux channel.
2015-08-20 01:37:29 +01:00
Nicholas Sherlock
53a1d7bcd7 Reshuffle Blackbox docs to reduce duplication, some updates 2015-08-18 21:13:41 +12:00
joshuabardwell
a03c0a4bdf Add information about wiring up OpenLog 2015-08-18 21:03:53 +12:00
Dominic Clifton
aa797a27fd Update baseflight migration guide to reference the cli serial command. 2015-08-05 17:16:07 +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
stuphi
0182413a17 Change cmix to mmix on one line 2015-08-03 20:53:28 +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
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
8fb418706a Merge pull request #1144 from kaefert/patch-1
added explanations for mag_hardware
2015-07-30 20:25:08 +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
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
borisbstyle
eb6efec692 Fix doc yaw_prevention_limit 2015-07-17 16:54:47 +02: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
1cfd2de168 Merge pull request #1114 from tannewt/patch-2
Fix a table
2015-07-13 17:55:04 +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
cc06113c8f Rename yaw_direction to yaw_motor_direction to avoid confusion
between `yaw_control_direction` and yaw servo configuration.
2015-07-13 01:54:45 +01:00
Scott Shawcroft
cf661fcd1a Fix a table 2015-07-10 17:21:04 -07:00
Dominic Clifton
783a4c4bfa Merge pull request #1066 from cleanflight/custom-servo-mixers
Custom servo mixers
2015-07-09 23:48:53 +01:00
Dominic Clifton
357e3bdc10 Merge pull request #1069 from pulsar256/ci_curl_fixes
Travis/CI Updates: retry failed HTTP requests, Updated GCC to 4.9-2015q2
2015-07-09 23:42:57 +01:00
Dominic Clifton
79e72760e1 Update mixer documentation. 2015-07-09 21:31:47 +01:00
Dominic Clifton
7b91524ba2 Replace gimbal_flags with FEATURE_CHANNEL_FORWARDING and gimbal_mode.
Gimbals are only one use of channel forwarding, PWM video switchers and
PWM buzzers are others.
2015-07-08 16:41:29 +01:00
Dominic Clifton
3776bb07dc Update mixer documentation. 2015-07-08 13:59:53 +01:00
stuphi
76937d8730 Add a diagram of stick postions 2015-07-06 21:27:38 +01:00
Paul Rogalinski
9c58764dd5 updated travis documentation 2015-07-01 22:50:43 +02:00