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

17 commits

Author SHA1 Message Date
mikeller
1812eee8fd Cleaned up 'getEstimatedVario()'. 2020-05-31 14:14:58 +12:00
Tony Cabello
5209a83e6a Bug fix: absolute altitude before arming is now correct when using GPS and Baro 2020-03-21 16:26:30 +01:00
jflyper
ff16686893 White space tidy 2020-02-17 23:54:57 +13:00
mikeller
cedcf2d7e2 Added calibration menu to CMS. 2019-11-19 13:59:52 +13:00
Michael Keller
ad2b350920
Fixed USE_VARIO conditional. (#8133)
Fixed USE_VARIO conditional.
2019-05-04 15:34:44 +12:00
mikeller
33a956d123 Fixed USE_VARIO conditional.Also fixed some indentation. 2019-05-01 00:41:04 +12:00
Maciej Bunia
bd5b73d6b0 add missing haveGpsAlt and haveBaroAlt checks
simplify conditions
2019-04-30 13:07:45 +02: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
mikeller
fad7ee3464 Fix missing 'platform.h' includes in compilation units, and make them stay away. 2019-02-23 17:49:25 +13:00
Tony Cabello
6a6193551c Numeric Vario calculated with GPS altitude 2018-12-05 09:01:53 +01:00
Blaine
2e552841f1 Enables Vario on targets that support barometers
OSD and telemetry output of vario data is enabled on F4 and up targets
that have
USE_BARO defined.  Settings and telem elements are removed from all
other targets.

F3 targets are not supported to free memory.
2018-09-02 23:20:07 -07:00
AirBreak69
0e52e21524 GPS altitude: cleanup all occurancies to assume source is in cm per lsb resolution
Harmonized (and partly corrected) all occurancies of gpsSol.llh.alt and getEstimatedAltitude() to handle altiude sourced in cm resolution.
This was introduced by GSP_RESCUE/RTH.
Introduced a naming convention that include the unit into the variable/function names:
gpsSol.llh.alt -> gpsSol.llh.alt_cm
getEstimatedAltitude() -> getEstimatedAltitude_cm()
2018-08-19 00:11:30 +12:00
s0up
ce1a3edc03 put altitude offset getter within same ifdef as calculate estimated altitude 2018-06-19 09:06:29 -07:00
s0up
911c8e406c wait for altitude offset to be applied before updating idleTask data 2018-06-18 14:43:35 -07:00
mikeller
eb8098e933 Fix BARO altitude display. 2018-05-06 20:01:41 +12:00
blckmn
22b84f12a8 Licences missed during PRs 2018-05-05 17:03:30 +10:00
Diego Basch
c46be03047 added gps for altitude estimation, remove most unused code, rename altitude.c to position.c, add hdop to nmea 2018-05-04 08:45:26 -07:00