1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 04:45:24 +03:00
Commit graph

69 commits

Author SHA1 Message Date
Michael Keller
a27a695fa1
Revise PID/Rate profile names to use get/set and eliminate extra PG's (#8231)
Revise PID/Rate profile names to use get/set and eliminate extra PG's
2019-05-10 09:30:55 +12:00
Bruce Luckcuck
f5bc673ada Revise PID/Rate profile names to use get/set and eliminate extra PG's
Removes the custom CLI commands to update or display the PID and Rate profile names. Moves the storage into the pidProfile and controlRateProfile PG's.

Names can now be set with:
set profile_name = NAME
set rate_profile_name = NAME

Also added profile name display to the profile and rate CMS menus.
2019-05-08 09:03:31 -04:00
mikeller
6aabc432fc Added DJI_HDL to the RX protocol list for CLI. 2019-05-08 00:31:15 +12:00
Michael Keller
a8f6ea0b72
Add PID and Rate profile names, osd elements and cli config (#7696)
Add PID and Rate profile names, osd elements and cli config
2019-05-07 20:04:39 +12:00
Michael Keller
011aeb66a6
Moved 'rpm_filter' into 'flight'. (#8186)
Moved 'rpm_filter' into 'flight'.
2019-05-07 00:40:48 +12:00
Pieter Kruger
de5a54a19a Add PID and Rate Profile names 2019-05-06 22:02:33 +10:00
Dominic Clifton
8e5c1dd7a3 RTC6705 resource cleanup. 2019-05-06 01:23:43 +02:00
mikeller
5141bbfa94 Moved 'rpm_filter' into 'flight'. 2019-05-06 00:10:31 +12:00
root
ad43631a8b clean up some spaces before newlines 2019-05-02 23:24:36 +00:00
Michael Keller
9898dd4378
Respect USE_MAG in GPS rescue code (#8136)
Respect USE_MAG in GPS rescue code
2019-05-02 09:15:28 +12:00
jflyper
45bab9dfba Respect USE_MAG in GPS rescue code 2019-05-01 22:08:59 +09:00
Michael Keller
adb4ca39ec
Altitde source calculation option (#8127)
Altitde source calculation option
2019-05-02 00:26:05 +12:00
Maciej Bunia
12cd248233 add comment 2019-04-30 13:56:12 +02:00
Michael Keller
465779e561
Use PT1 for source frame RSSI filtering (#8013)
Use PT1 for source frame RSSI filtering
2019-04-30 08:55:00 +12:00
Michael Keller
b9fc77db3b
When GPS Rescue is engaged after a Failsafe, pilot has to manually sw… (#7936)
When GPS Rescue is engaged after a Failsafe, pilot has to manually sw…
2019-04-30 08:24:59 +12:00
Maciej Bunia
fe4c3ac149 add POSITION_ALT_SOURCE lookup table to enum
add cli setting to choose alt source
modify alt calculation
2019-04-29 20:41:28 +02:00
SteveCEvans
91b6f420fc Use PT1 filter for frame based RSSI using rssi_src_frame_lpf_period when rssi_src_frame_errors = ON 2019-04-28 16:00:18 +01:00
Michael Keller
c383f0cb32
pr Implements feature request #1887 rebase add osd (#8012)
pr Implements feature request #1887  rebase add osd
2019-04-28 15:02:31 +12:00
krzysztofmatula
14bb0fca72
Merge branch 'master' into km-stats-postflight 2019-04-21 22:44:44 +02:00
laz2wiringpi
0a1d2a6997 from the pr
delay for voltage warnings #6691

changed to vbat
Update Battery.md
Add Menu osd Alarm delay

vbat_duration_for_crit
batteryConfig_vbatDurationForCrit
to
 vbat_duration_for_critical
batteryConfig_vbatDurationForCritical

lastVoltageOkMillis rename
2019-04-16 18:31:09 -04:00
Michael Keller
db5c14da02
Merge pull request #8017 from ianrmurphy/rssi-lq-warnings
Added RSSI and Link Quality warnings
2019-04-17 05:49:27 +12:00
blckmn
4cb1f6509c Adding ability to specify a string as an option in the SET / GET setup 2019-04-15 14:52:10 +10:00
ianrmurphy
11dd4e7598 Added warnings for RSSI and Link Quality, added Link Quality alarm. 2019-04-15 00:24:20 +01:00
Krzysztof Matula
cd0e90fdde OSD: allow to present odometer on post flight screen 2019-04-14 23:34:09 +02:00
Michael Keller
eb7e6c0b39
Merge pull request #7838 from IllusionFpv/gps-rescue-improve-landing-approach
Improve target landing altitude in gps-rescue
2019-04-15 00:29:15 +12:00
Tony Cabello
d829563179 GPS Rescue procedure can be aborted by moving sticks, with a configurable delay after recovering rx 2019-04-14 14:15:17 +02:00
Michael Keller
19aa7387f9
Merge pull request #7984 from ctzsnooze/Allow-lower-dynamic-notch-minimum
set dyn_notch_min_hz minimum to 60hz
2019-04-14 23:10:56 +12:00
Nicola De Pasquale
3a282d1d3e improve landing altitude
fix some comments

some requested fixes

initialLandingAltitude converted in meters

removed landing altitude setting from msp, added missing comma

re-added gps_rescue_landing_alt in settings.c

made target landing distance configurable, renamed descentDistance

added slow down distance and improved return speed

changed newSpeed formula

moved newSpeed variable in gps rescue inizialization phase

newSpeed declared as int32_t

modified slow down distance to constant

added some comments

fix type-casting bug

removed extra space

changed slow down distance for better landing

changed default targetLandingAltitudeM to 5 meters
2019-04-14 12:17:19 +02:00
Michael Keller
e12b802bb1
Merge pull request #7927 from krzysztofmatula/km-odometer
Flight statistics (odometer) added.
2019-04-14 21:49:31 +12:00
Michael Keller
b468b94995
Merge pull request #7924 from mikeller/add_crash_recovery_disarm
Added 'disarm' option to crash recovery.
2019-04-14 21:49:05 +12:00
Michael Keller
c3d828e4b4
Merge pull request #7737 from joelucid/remove_ff
remove smart_feedforward
2019-04-14 21:32:39 +12:00
ctzsnooze
5021edb133 set dyn_notch_min_hz minimum to 70hz
dyn_notch_min_hz provides a lower frequency limit below which the dynamic notch cannot go.
The current minimum is 100hz.
For low rpm quads (>7" to X class), when the dynamic notch mode is 'LOW', we should allow the user to enter the lowest possible value that can be detected by the FFT.
That is theoretically the centre of the second bin.  In low mode that is half-way between 31 and 63hz.  In practice, that value will be biased upwards a little bit by the uppers shoulder.  In practice the lowest value returned by the FFT is likely to not be less than 60hz.
This PR lowers the limit from 100hz to 60hz, allowing access to the full range of possible FFT tracking frequencies in LOW mode for low rpm quads.
2019-04-12 22:05:37 +10:00
Krzysztof Matula
eb99c7e0d1 stats:
- cosmetic changes from code review
- not enabling stats on any F3 (not enough flash)
2019-04-07 12:09:28 +02:00
Krzysztof Matula
36c8f1e224 Flight statistics (odometer) added.
Supported counters:
- total flights count
- total flight time
- total flight distance (if GPS available)
2019-04-05 23:43:09 +02:00
mikeller
247f759652 Added 'disarm' option to crash recovery. 2019-04-04 22:40:00 +13:00
mikeller
9e50bae9ef Fixed PWM beeper. 2019-03-29 01:44:23 +13:00
mikeller
b9f20e72a2 Added 'blackbox_device' to hardware diff / dump list. 2019-03-17 18:54:59 +13:00
TheIsotopes
e2f47473ed
remove baro_hardware from dump hardware list
this one was discussed in #7738 and approved
2019-03-08 12:52:03 +01:00
Thorsten Laux
11c21368c8 remove smart_feedforward 2019-03-08 06:49:09 +01:00
Michael Keller
52630c7077 Re-added setting for 'baro_hardware' that was accidentally deleted in #7721. 2019-03-07 11:56:23 +13:00
mikeller
081756febe Added 'hardware' selector to CLI 'diff' / 'dump'. 2019-03-06 03:21:40 +13:00
Michael Keller
2b9880f71b
Merge pull request #7497 from azolyoung/optimization_initialize_logic
add feature & protocolVersion cli setting
2019-03-04 15:11:50 +13:00
Michael Keller
bf8d08b6fa
Merge pull request #7692 from mikeller/make_cc2500_spi_rx_configurable
Made CC2500 (FrSky, SFHSS) SPI RX runtime configurable.
2019-03-04 14:42:55 +13:00
Michael Keller
8fff3cae09
Merge pull request #7655 from kmitchel/dyn_notch_binoffset
Automatically adjust bin offset based on dyn notch minimum.
2019-03-04 14:41:08 +13:00
azolyoung
fcf784b4a1 add feature & protocolVersion cli setting 2019-03-04 09:16:34 +08:00
Kenneth Mitchell
832306743e
Automatically adjust bin offset based on dyn notch minimum.
Changes per review.

Drop min HZ to allow for 7".

Put alignment back.

Fix mistakenly delete variable.
2019-03-02 18:06:04 -05:00
mikeller
96d5b5dcac Added configurability for FlySky. 2019-03-02 23:54:02 +13:00
mikeller
86a5a30267 Made CC2500 (FrSky, SFHSS) SPI RX runtime configurable. 2019-03-02 23:15:32 +13:00
Thorsten Laux
f6ecf097e1 allow use of dshot bidir on targets without burst 2019-03-01 13:24:21 +01:00
Bruce Luckcuck
30672a37c5 Refactor OSD element display code
Remove the giant `select` block that contained all the code to generate the elements and transition them to individual functions called only when the element is active. Simplifies the code and results in a performance improvement as it's not necessary to fall through the large `select` statement for every element that will be drawn. The individual functions and the element to function mapping are moved to a new `osd_elements.c` file.

Moved the OSD related code files to a new `osd/` directory.

Also pre-analyze the active elements and only process those that are active. This also saves processing as it's not necessary to loop through all 50 or so elements when only a couple are active.

Various other cleanup and removal of stale or unnecessary code.

In the default configuration the element drawing phase of the OSD task is reduced from ~51us to ~35us - resulting in about a 30% decrease in processing time.
2019-02-21 14:03:25 -05:00