1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00
Commit graph

241 commits

Author SHA1 Message Date
Dominic Clifton
53167b161f BMP388 - Add support for BMP388 barometer.
BMP388 - Move the static assert.

BMP388 - Build faster when the baro driver is not enabled.

BMP388 - Fix spi init due to changes in master.

BMP388 - Add missing bmp388 unit test files.

BMP388 - Remove debug code.

BMP388 - Prepare EXTI/EOC handling for unified targets.

BMP388 - enable on unified targets.

BMP388 - Add support to NUCLEOF722.

BMP388 - Add support to NUCLEOH743.

BMP388 - Add BMP388 (via SPI) support to NUCLEOF7

* For some CI visibility on the conditional baro SPI code.

NUCLEOH743 - Add LPS baro for more CI visibility.

Remove whitespace, as requested.

Move barometer `#defines` into the implementations.

Cleanup style of method names in baro drivers.
2019-07-02 08:14:23 +12:00
Michael Keller
aba49b39ae
Gps rescue pid controller based on vertical velocity (#8015)
Gps rescue pid controller based on vertical velocity
2019-07-01 23:45:28 +12:00
Michael Keller
6130dc3b9e
Move motorConfig_s and motorDevConfig_s to pg/motor (#8498)
Move motorConfig_s and motorDevConfig_s to pg/motor
2019-06-30 12:59:31 +12:00
jflyper
0e63596abd Move motorConfig_s, motorDevConfig_s and associated PG handling into pg/motor.[ch] 2019-06-29 20:03:54 +09:00
Nicola De Pasquale
bb5f59a94d new gps rescue pid controller based on vertical velocity [ci skip] 2019-06-27 18:17:03 +02:00
Bruce Luckcuck
f42f6a8047 Fix filter cutoff frequency limits
Was missed when 32KHz filtering was removed.
2019-06-25 19:01:44 -04:00
functionpointer
7cb34205b3 [VTX] vtxTable factory flag and full integration of vtxTable (#8380)
Moved vtxtable frequency mode implementation into `vtx_common.c`.
This makes the implementation available for all vtx types and allows
for some code deduplication (see point below)

Removed band and channel tracking from tramp and rtc6705.
The hardware underlying both only support frequency mode and
the tracking is now done in `vtx_common.c` using the new factory flag.

Deleted vtxStringXXX. to continue supporting builds without
`USE_VTX_TABLE`, new infrastructure was created in
`drivers/vtx_table.c`, which loads fixed tables into vtxTableXXX
when built witout `USE_VTX_TABLE`. Individual vtx implementations no
longer need to load any band/channel tables. They only need to load
their individual power tables when built without `USE_VTX_TABLE`.
Additionally this allows for the next point:

Fully integrated vtxTableXXX and removed the old and no longer needed
indirection of frequency and power tables in `vtxDevice_t`.

Removed VTX_SETTINGS_* constants from `vtx_common.h` and replaced them
with the vtxtable equivalent.

rtc6705 implementation now uses power values from vtxtable instead of
using indices directly. It also stops using index 0. This makes it
consistent with other vtx implementations and is more user configurable.
It also cleans up `telemetry\srxl.c` which had to have a special case for rtc6705.

Finally, frequency entries in the vtxtable can now be marked as empty
by setting their frequency to 0. Betaflight will never allow a blocked
channel to be selected. This is useful for vtxtable index mode
(FACTORY flag set) where manufacturer-defined bands can be truncated
to ensure compliance with local laws and regulations.
2019-06-24 12:28:46 +02:00
Bruce Luckcuck
778df74729 Add missing CLI parm for ESC RPM Frequency OSD element 2019-06-09 18:42:24 -04:00
Michael Keller
ef79a36fd7
Add OSD profile names feature (#8272)
Add OSD profile names feature
2019-05-25 12:29:41 +12:00
Michael Keller
e54ef4815a
Add gps rescue altitude mode to CMS (#8318)
Add gps rescue altitude mode to CMS
2019-05-23 23:28:09 +12:00
Nicola De Pasquale
6b79eecc43 add gps rescue altitude mode to CMS
ground speed is expressed in cm/s

requested changes

added new line

add newline
2019-05-22 14:44:29 +02:00
pkruger
b8a9e46a8d
Merge branch 'master' into 8107-osd-profile-names 2019-05-22 21:58:36 +10:00
pkruger
9ae53d94d0
Merge branch 'master' into 8107-osd-profile-names 2019-05-21 21:22:50 +10:00
laz2wiringpi
c1510c9f27 USE_RX_RSSI_DBM Split from pr 8042
rssi dbm osd negitive values
rename max to min
2019-05-20 22:19:04 -04:00
laz2wiringpi
e9a406f447 Link Quality without Aux
fix indent , move unused
remove premature optimisation
Use prior code for osd element calc
unit test add crsf for scaleCrsfLq
unittest typo
rx 0-100
elements simplify osdElementLinkQuality refactor
share  one 16 bit var
2019-05-20 18:10:37 -04:00
Michael Keller
1c313a9a02
Add gps rescue option for not climbing to highest altitude of flight (#8301)
Add gps rescue option for not climbing to highest altitude of flight
2019-05-20 19:58:52 +12:00
Nicola De Pasquale
1262dbf06f added altitude options 2019-05-19 12:09:27 +02:00
Michael Keller
b1d1fba775
Added kiss rates (#8251)
Added kiss rates
2019-05-19 13:52:47 +12:00
Pieter Kruger
28182706a4 Add OSD profile names feature 2019-05-19 10:50:22 +10:00
Nicola De Pasquale
c5adc0b549 first commit
fixes
2019-05-19 02:45:11 +02:00
mikeller
411467d9ef Prevent 'system_hse_mhz' from showing in non-F4 'diff'/'dump'. 2019-05-12 23:19:35 +12:00
Nicola De Pasquale
657aeb2483 first commit
kiss rates

prevent division by zero

various fixes
2019-05-11 09:15:59 +02:00
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