mikeller
a21d0f5d31
Fixed potentially incorrect calculation in ACC calibration if non-default cycle number is used.
2019-11-17 10:58:28 +13:00
mikeller
b5908f5bab
Applied 'USE_ACC' consistently.
2019-02-08 09:51:48 +13:00
mikeller
21edada68b
Removed leftover references to 'gyro_align', 'acc_align'.
2019-02-01 01:50:40 +13:00
blckmn
a9f74cd6df
Removed excess trailing spaces before new lines on licenses.
2018-04-25 20:58:00 +10:00
blckmn
46fe22b4bd
Direct license replacement
2018-04-22 09:22:46 +10: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
d90b42970c
Acc fn/variable renames to align with iNav
2017-12-29 10:23:51 +00:00
mikeller
b489d0ba9d
Renamed 'parameter_group' to 'pg'.
2017-12-19 23:36:31 +13:00
Martin Budden
22c672fa7d
Add acc and gyro accumulators to improve attitude estimation
2017-11-28 06:26:57 +00:00
Martin Budden
ed04a1f24a
Improve ACC filter initialisation
2017-11-24 07:23:19 +00:00
brianlbalogh
b295a159b0
Add gyro rates and configurable FSR for ICM20649 ( #4077 )
2017-09-07 14:05:11 +01:00
Brian Balogh
afec0258c7
Add support for ICM-20649 acc/gyro
2017-09-01 10:57:54 -04:00
Steffen Windoffer
03aa31acdd
remove not needed whitespaces
2017-08-24 11:33:39 +02:00
Martin Budden
2493c214b0
Created subdirectories in drivers directory
2017-04-12 08:06:22 +01:00
Martin Budden
9a3cad9ca3
Further work on gyro SPI selection
2017-03-26 10:10:10 +01:00
Martin Budden
dbfc355097
Added support for BMI160 gyro
2017-02-22 21:37:37 +00:00
Martin Budden
5851b21e4a
Removed a number of static config pointers
2017-02-01 12:58:29 +00:00
Martin Budden
79d4b2146d
Preparation for conversion to parameter groups
2017-02-01 08:46:19 +00:00
Martin Budden
8e79e8092e
Fixed up whitespace
2017-01-22 22:42:45 +00:00
blckmn
102114758c
Better representation of actual sensor (when using 6500 compatible sensors).
2017-01-01 18:37:54 +11:00
Martin Budden
ee8a1676c4
Moved accelerometerTrims into accelerometerConfig()
2016-12-17 22:30:03 +00:00
Martin Budden
17494840a5
Moved gyro and acc detection code into init functions
2016-12-13 10:00:43 +00:00
Martin Budden
4bb6820c42
Moved sensor detection into respective sensor modules
2016-12-05 15:26:14 +00:00
Martin Budden
229f6d14d4
Moved accZero and magZero out of sensorTrims into acc and compass config
2016-12-05 06:49:15 +00:00
Martin Budden
06e871406e
Moved xx_hardware out of sensorSelectionConfig into config for specific sensor
2016-12-05 06:49:14 +00:00
Martin Budden
60e2227396
Moved alignment from sensor into device
2016-12-05 06:49:14 +00:00
Michael Jakob
46387c9dbe
Cleanup ENUM usage
2016-12-04 16:09:21 +01:00
Martin Budden
b8b9c95f57
Moved sensor global data into sensor_s structs
2016-12-01 17:47:17 +00:00
Martin Budden
265cd85457
Moved accelerometer items to struct. masterConfig tidy.
2016-11-27 14:42:50 +00:00
kc10kevin
6dbded7071
ICM20689 Gyro Fix
2016-10-16 20:28:53 -05:00
Anders Hoglund
44abc8f2e4
Clean up vtx.c includes, move all not directly used to where they belong.
2016-10-09 21:26:17 +02:00
kc10kevin
dc4b4ac986
ICM-20689 Gyro
2016-09-14 07:33:32 -05:00
kc10kevin
57c24c6ee1
ICM-20689 Gyro
2016-09-13 19:44:36 -05:00
Martin Budden
c077bacee6
Improved acc initialisation
2016-08-15 07:32:06 +01:00
Anders Hoglund
1300952472
Added MPU9250 ACC detection.
2016-08-09 14:52:22 +02:00
Martin Budden
9059254db6
Minor tidy of sensor code
2016-06-29 15:17:49 +01:00
Martin Budden
e9a46c6ebb
Cleanup of acc device drivers extern usage CF PR#2117
2016-06-16 18:09:05 +01:00
Martin Budden
03ef7f9ba9
Moved declaration of pidControllerFuncPtr into pid.h
2016-05-17 08:45:33 +01:00
borisbstyle
57a3e59a38
Rework Acc filtering
2016-02-17 17:37:01 +01:00
borisbstyle
881a448255
Convert gyroADC and accADC to int32_t
2016-02-14 22:03:19 +01:00
Dominic Clifton
85ba1eb0bd
Add support for MPU6500 connected via I2C.
2015-10-02 15:43:44 +01:00
Nicholas Sherlock
0c8adf25c2
Use defines for MAG_MAX and ACC_MAX
2015-03-07 01:57:45 +13:00
Nicholas Sherlock
8a541a9fa2
Fix upper limit on mag_hardware and acc_hardware CLI variables
2015-03-07 01:18:05 +13:00
Dominic Clifton
ed434dd169
Cleanup ACC hardware enum so that 'None' is always '1' and doesn't
...
change every time a new sensor is added. All the sensor enum values are
now aligned.
2015-02-26 22:31:38 +00:00
Dominic Clifton
1de72b11ce
Update the cli status
command to show all detected sensors (Except on
...
CJMCU).
Further cleanup of sensor initialisation.
2015-02-19 21:08:30 +00:00
Dominic Clifton
c45efac812
Cleanup sensor detection. Less code required and a similar pattern is used for each type of sensor.
2015-02-19 16:15:14 +00:00
Dominic Clifton
53406a7ac7
Relocate some structures and code to the right places.
...
This cleans up the include file order somewhat and fixes a couple of
dependencies.
The goal of this is to rename flight.c/flight.h to pid.c/pid.h.
2015-01-31 23:47:51 +01:00
Dominic Clifton
36c0b6f106
Cleanup MPU9150 support.
2014-12-24 23:53:17 +00:00
Dominic Clifton
183c5f8e16
Add MPU9150 mag support and mag autodetection. Add AK8975 mag driver.
...
Note: not working on the sparky, MPU9150 needs passthough enabling but
when enabled the mag and gyro won't ack on the default addresses. Needs
further investigation.
2014-12-21 23:40:48 +00:00
Dominic Clifton
fed6df275f
Add MPU9150 driver.
...
This is a almost a complete clone of the 6050 - needs cleanup and
de-duplication.
2014-12-09 03:12:37 +00:00