1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 20:35:33 +03:00
Commit graph

11297 commits

Author SHA1 Message Date
Robert Lacroix
092baf5805 Add Paralyze mode support
During team relay races it's unsafe to retrieve crashed quads because the course is continuously hot. In order to safely fly a backup quad with the primary quad crashed in the field (but powered up) it's necessary to:

* Disable arming, so that the crashed quad doesn't unintentionally arm as well. This is specifically a problem when a transmitter can send signals to all powered up receivers (like FrSky and others).
* Change VTX to an unused channel with low power output
* Turn off telemetry

This change introduces a new mode called paralyze which disables arming and prevents mode changes (except beeper). It can only be invoked while the quad isn't armed. Once it's invoked, the FC has to be power cycled. In order to invoke it, the mode needs to be in a disengaged state at least once, so that forgetting to flip the switch back after crashing doesn't immediately invoke graveyard on the backup quad.

_Legal disclaimer: I am making my contributions/submissions to this project solely in my personal capacity and am not conveying any rights to any intellectual property of any third parties._
2018-05-10 07:40:31 -07:00
mikeller
c5dd7be884 Removed uneeded USE_DSHOT_DMAR defines. 2018-05-10 22:54:44 +12:00
mikeller
0f8bace2b7 Enabled Dshot DMAR for SPRACINGF4NEO. 2018-05-10 22:52:04 +12:00
Michael Keller
d7665014af Moved pointers back. 2018-05-10 10:54:14 +12:00
s0up
de5fa47c4c navigation feature / reference removal 2018-05-09 10:28:36 -07:00
mikeller
61beef2291 Optimised 'serialPort_t' struct. 2018-05-10 02:23:07 +12:00
mikeller
48e06edc00 Optimised struct. 2018-05-10 02:15:00 +12:00
mikeller
9bf762e9e8 Eliminated more unnecessary calls. 2018-05-10 02:11:41 +12:00
jflyper
b8e0d22d01 Treat uarts without a pin as non-existent 2018-05-09 22:39:02 +09:00
mikeller
032f3b501b Eliminated inefficient serial function calls at runtime. 2018-05-10 01:32:36 +12:00
Michael Keller
3af1610d0b
Merge pull request #5853 from jflyper/bfdev-io-serial-c-to-size-optimized
Move serial.c from SPEED_OPTIMZED to SIZE_OPTIMIZED
2018-05-09 23:51:52 +12:00
Michael Keller
8b01c4a88a
Merge pull request #5855 from McGiverGim/fix_lat_lon_osd_symbols
Fix OSD GPS Lat and Lon symbols
2018-05-09 23:35:10 +12:00
mikeller
99e3dd44b7 Disable unavailable OSD characters. 2018-05-09 23:34:54 +12:00
RolandChen
d628b48116 modified: src/main/flight/servos.c 2018-05-08 20:53:19 -07:00
Bruce Luckcuck
5687e66f45 Changes to support enhancements to BFC for OSD stats field ordering
Reorder the stats field enumeration to match the actual on-screen display order. Needed to support changes in the configurator so that it will also disply the selections in the same order.

Going forward if there are any changes to the on-screen display order of the post-flight statistics then the enumeration must be updated to match.
2018-05-08 08:59:27 -04:00
Michael Keller
fa6c993f04
Merge pull request #5847 from mikeller/remove_telemetry_switch
Removed 'tlm_switch', replaced with 'isModeActivationConditionPresent(BOXTELEMETRY)'.
2018-05-08 23:41:16 +12:00
Michael Keller
7bc2b70043
Merge pull request #5846 from mikeller/cleanup_msp_port_releasing
Cleaned up implementation of MSP port releasing when shared.
2018-05-08 23:40:56 +12:00
Miguel Angel Mulero Martinez
ca64074a12 Fix OSD GPS Lat and Lon symbols 2018-05-08 13:17:26 +02:00
Michael Keller
03412d27b3
Merge pull request #5848 from etracer65/osd_stats_bitset
Change enabled OSD stats storage to bitmap
2018-05-08 22:59:48 +12:00
mikeller
908beb2912 Fixed tests. 2018-05-08 22:58:33 +12:00
jflyper
5edd0c746f Move serial.c from SPEED_OPTIMZED to SIZE_OPTIMIZED 2018-05-08 17:09:24 +09:00
Bruce Luckcuck
905f14d86c Change enabled OSD stats storage to bitmap
Previously the flags controlling the enabled OSD stats were stored as an array of boolean. This change reduces config storage by storing the flags as bits inside a single uint32.
2018-05-07 12:07:25 -04:00
mikeller
19a360b867 Removed 'tlm_switch', replaced with 'isModeActivationConditionPresent(BOXTELEMETRY)'. 2018-05-08 01:14:18 +12:00
mikeller
0cd8c62568 Cleaned up implementation of MSP port releasing when shared. 2018-05-07 23:33:23 +12:00
Michael Keller
7b831f94ee
Merge pull request #5837 from jflyper/bfdev-universal-poc-NERO
Universal target benchmark (NERO)
2018-05-07 21:31:58 +12:00
Michael Keller
0940e4545b
Merge pull request #5842 from jflyper/bfdev-move-defaults-out-of-pg-bus_i2c-and-pg-bus_spi
Move defaults out of pg inits (I2C & SPI)
2018-05-07 21:29:56 +12:00
Michael Keller
9b4eee14cb
Merge pull request #5841 from etracer65/spracingf3neo_flash_reduction
Fixed flash overflow for SPRACINGF3NEO
2018-05-07 21:29:35 +12:00
Michael Keller
5be277cffa
Merge pull request #5834 from mikeller/fix_baro_altitude
Fix BARO altitude display.
2018-05-07 21:28:52 +12:00
Michael Keller
743fd6194a
Merge pull request #5840 from etracer65/cli_type_bitset
Add cli parameter bit mapping mode
2018-05-07 21:27:42 +12:00
Michael Keller
2f2c95a556
Merge pull request #5686 from pulquero/antigrav_osd
Display anti-gravity activity in OSD.
2018-05-07 21:26:38 +12:00
jflyper
a7cf1a7c35 Move defaults out of pg files 2018-05-07 10:04:07 +09:00
jflyper
969aaa4123 Per mikeller's comment 2018-05-07 10:03:04 +09:00
jflyper
f0efe1f8d8 Move defaults out of pg files 2018-05-07 10:02:29 +09:00
Bruce Luckcuck
aa4a8c7ec1 Add cli parameter bit setting type
Adds a new parameter mode `MODE_BITSET` that allows associating a cli parameter with a specific bit in a stored value. Bit packed values can be exposed with individual cli parameters for each bit as needed. Supports UINT8, UINT16 and newly added UINT32 data types (UINT32 not supported for other modes at this time).
2018-05-06 18:33:11 -04:00
Bruce Luckcuck
ba95e24fa4 Fixed flash overflow for SPRACINGF3NEO 2018-05-06 15:06:25 -04:00
jflyper
b20640beaf Config for NERO 2018-05-07 01:21:31 +09:00
mikeller
eb8098e933 Fix BARO altitude display. 2018-05-06 20:01:41 +12:00
Michael Keller
851ed5f597
Merge pull request #5813 from githubDLG/master
Add new target Stack-X
2018-05-06 18:48:02 +12:00
J Blackman
781d2612cf
Merge pull request #5833 from mikeller/add_generated_timers
Added generated timer definitions for STM32F7X2 universal target.
2018-05-06 15:12:13 +10:00
mikeller
16a96f7318 Added generated timer definitions for STM32F7X2 universal target. 2018-05-06 16:29:39 +12:00
Michael Keller
717444175c
Merge pull request #5824 from blckmn/timer_config
Timer configuration
2018-05-06 15:53:02 +12:00
blckmn
c816f64b9e Additional timer mapping for 7X2 target. 2018-05-06 12:34:28 +10:00
blckmn
6d33fc6b0b Fixed CC Channel versus Index issue, and added additional mapping in timerHardware for 7X2 target 2018-05-06 12:00:31 +10:00
blckmn
e5031407a6 Configurable timers 2018-05-06 12:00:31 +10:00
Michael Keller
05b6d3d494
Merge pull request #5825 from blckmn/timer_prep
Timer clean up in preparation for configurable timers.
2018-05-06 12:59:08 +12:00
blckmn
88ed243d32 Made the timerioTagGetByUsage zero based, as it is not used by users. 2018-05-06 09:37:19 +10:00
blckmn
aad6efdf03 Timer clean up in preparation for configurable timers 2018-05-06 06:55:17 +10:00
Mark Hale
b2e43abf2d Display anti-gravity activity in OSD.
Signed-off-by: Mark Hale <mark.hale@physics.org>
2018-05-05 19:56:56 +01:00
Michael Keller
5e1b5df5d4
Merge pull request #5828 from blckmn/licence_update
Licence update for newly added target
2018-05-06 01:31:57 +12:00
Michael Keller
0fe89da76f
Merge pull request #5810 from pulquero/esc-telem-2
Configure smart port sensors based on runtime configuration.
2018-05-06 00:42:00 +12:00