Michael Keller
8a95474bff
Merge pull request #5135 from codecae/battery_telemetry_init_fix
...
Corrected issue with telemetry init when battery cell estimation is undefined
2018-02-11 13:24:12 +13:00
Curtis Bangert
3a7540e042
Corrected issue with telemetry init when battery cell estimatation is undefined
2018-02-08 22:31:50 -05:00
Dan Nixon
22874d8ba2
CMS power menu
...
Menu including:
- Voltage meter selection
- Current meter selection
- Max cell voltage (moved from MISC menu)
- Voltage scale adjust (moved from MISC menu)
- ADC current scale and offset adjust
- Virtual current scale and offset adjust
2018-02-01 15:31:45 +00:00
Adrian Miriuta
b21d681153
Introduced cli parameter <gyro_offset_yaw>
...
It allows to manually compensate gyro drift over time.
rebased squashed.
2018-01-25 12:45:38 +01:00
Martin Budden
3116ef4008
Moved compass health check into compass.c
2018-01-21 14:51:59 +00:00
Martin Budden
78cc4f65a1
Avoided compass task wrapper function
2018-01-20 13:35:22 +00:00
qba667
5748e75408
Additional IBUS telemetry implemented.
2018-01-18 13:37:02 +01:00
AJ Christensen
17bd318ec1
Biquad RC+FIR2 Filter: Prototype of ledvinap's suggestion on #4890
...
https://github.com/betaflight/betaflight/pull/4890#issuecomment-356636997
2018-01-16 15:37:19 +13:00
Martin Budden
740234c909
Fix F1 builds
2018-01-11 09:35:08 +00:00
Martin Budden
3747d6742b
Whitespace tidy
2018-01-10 16:56:54 +00:00
Michael Keller
4258651b3a
Merge pull request #4881 from jflyper/bfdev-adc-internal-full-task-version
...
VREFINT and core temperature support, full task polling version
2018-01-10 16:12:05 +13:00
jflyper
a03b85025c
Internal ADC support, full task polling version
2018-01-10 11:49:56 +09:00
Michael Keller
05304e07d0
Merge pull request #4890 from fujin/rs2k-fast-kalman-implementation-only
...
Fast Kalman Gyro Filter: Implementation and parameter groups only
2018-01-10 00:55:02 +13:00
Michael Keller
72712b348d
Fixed defines for BARO_LPS.
2018-01-09 17:22:06 +13:00
Kalyn Doerr
6e6aafe6d5
Fast Kalman Gyro Filter: Implementation and parameter groups only
...
Signed-off-by: AJ Christensen <aj@junglistheavy.industries>
2018-01-08 08:15:20 +13:00
Chris
efc556f91a
Add LPS25HB driver
2018-01-07 18:00:19 +01:00
Martin Budden
3125ae252b
Tidied gyro filter code
2018-01-03 12:27:53 +00:00
mikeller
09d396c05c
Cleaned up parameter group handling.
...
Fixed missing include.
2017-12-31 10:51:01 +13:00
Michael Keller
4ef45f008a
Merge pull request #4866 from martinbudden/bfa_gyro_unittest
...
Added gyro unit test
2017-12-30 12:01:38 +13:00
Martin Budden
7af079d5a7
Added gyro unit test
2017-12-29 12:04:05 +00:00
Martin Budden
d90b42970c
Acc fn/variable renames to align with iNav
2017-12-29 10:23:51 +00:00
Martin Budden
671382234a
Enabled switch fallthrough checking by compiler
2017-12-23 19:46:40 +00:00
Martin Budden
2281c9ab8c
Add option to check gyro overflow on yaw or all axes
2017-12-23 16:51:08 +00:00
Martin Budden
eccdf2d4a5
Set gyro overflow checking default to true ( #4826 )
2017-12-23 18:47:56 +03:00
Bruce Luckcuck
96f0cff924
Changed slew filter to work for all axis instead of just yaw.
2017-12-22 12:17:27 -05:00
jflyper
a510091bf1
Add Benewake TFmini/TF02 support
2017-12-21 02:21:36 +09:00
jflyper
11c47c631b
Port iNav's rangefinder
2017-12-20 12:54:19 +09:00
mikeller
b489d0ba9d
Renamed 'parameter_group' to 'pg'.
2017-12-19 23:36:31 +13:00
Michael Keller
b94533ead1
Merge pull request #4767 from martinbudden/bfa_enable_instruction_tcm
...
Enabled Instruction TCM
2017-12-19 01:36:32 +13:00
Martin Budden
b26ff88fd9
Added gyro overflow checking and handling. Helps avoid YSTTM
2017-12-18 05:21:02 +00:00
Michael Keller
c3de899d47
Merge pull request #4771 from martinbudden/bfa_accgyro_struct_alignment
...
Improved accgyro device structure alignment
2017-12-18 16:03:27 +13:00
Michael Keller
82e289c1eb
Merge pull request #4770 from martinbudden/bfa_gyro_sync
...
Moved gyro_sync into drivers/accgyro directory
2017-12-18 15:58:35 +13:00
Martin Budden
81ebdb38b6
Improved accgyro device structure alignment
2017-12-17 16:54:13 +00:00
Martin Budden
ed30e9f5c7
Moved gyro_sync into drivers/accgyro directory
2017-12-17 16:01:50 +00:00
Martin Budden
de5b0d53ff
Enabled Instruction TCM
2017-12-17 13:41:51 +00:00
Martin Budden
0153b1d369
Changed gyro integration to use trapezium rule
2017-12-17 13:24:09 +00:00
Michael Keller
7a7f1ceda5
Merge pull request #4743 from Dimand/Current_calibration_fix
...
Changed the current calibration to be more sensible
2017-12-17 11:07:07 +13:00
Martin Budden
a33a82725e
Add fast RAM support, CCM or TCM depending on processor
2017-12-16 17:42:35 +00:00
Martin Budden
12640972a9
Preparation for using instruction cache on F7
2017-12-15 10:07:19 +00:00
DESKTOP-JI9AKHT\Dimand
bcd5752a12
Changed the scaling factor of the curent sensor to be in the form of y=mx+b. Altered the scaling to be in mV/10A, this means that for you average 50mOhm shunt resistor you will have a scale factor of 500, plenty of integre adjustability and the default 400 used will be fine as a first guess in most cases. Offset is adjusted to mA to give greater adjustability as an integer value. Builds successfully to OMNIBUSF4SD.
2017-12-14 15:19:16 +11:00
Alberto García Hierro
d666151188
Don't check batteryConfig fields from the telemetry, call APIs instead
...
This makes the telemetry code less dependendant on the battery
implementation.
New functions introduced:
isBatteryVoltageAvailable()
isAmperageAvailable()
2017-12-04 17:14:17 +00:00
Michael Keller
4525a20ec9
Merge pull request #4677 from mikeller/fixed_permissions
...
Fixed permissions on files.
2017-11-30 17:57:27 +13:00
Martin Budden
c0b1572175
Fix to acc gyro accumulation code
2017-11-28 16:04:00 +00:00
mikeller
4d30971e2d
Fixed permissions on files.
2017-11-28 23:31:55 +13:00
Martin Budden
22c672fa7d
Add acc and gyro accumulators to improve attitude estimation
2017-11-28 06:26:57 +00:00
Martin Budden
8cb7abd15f
Added data parameter to UART RX callback
2017-11-25 10:11:37 +00:00
Martin Budden
ed04a1f24a
Improve ACC filter initialisation
2017-11-24 07:23:19 +00:00
Martin Budden
e3ee9a5588
Created new interface directory
2017-11-12 12:20:58 +00:00
mikeller
a8d34dabb0
Changed defines for GYRO/ACC/MAG/BARO/GPS/SONAR/OSD/BLACKBOX/CMS to conform to the USE_ convention.
2017-11-05 10:15:24 +13:00
mikeller
814597ae9f
Enabled gyro slew filter for gyros using the MPU6500 driver (needed for ICM20608G).
2017-10-21 13:15:43 +13:00