Martin Budden
dbfc355097
Added support for BMI160 gyro
2017-02-22 21:37:37 +00:00
Martin Budden
e4ae2526e0
Merge pull request #2451 from martinbudden/bf_pg_configs1
...
Added PG config definitions 1
2017-02-22 18:35:51 +00:00
Martin Budden
0bca49d8c4
Added PG config definitions 1
2017-02-22 09:43:05 +00:00
Maxim Strinzha
0dd699c5a7
Sparky 2.0 Accelerometer (fix mpu9250 detection)
2017-02-22 08:27:34 +03:00
blckmn
8e9be424ce
Removed more target specific conditionals from the main codebase
2017-02-19 17:28:29 +11:00
Martin Budden
f2b423525d
Split gyro device out of gyro sensor struct
2017-02-06 00:00:32 +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
J Blackman
fb1ca88ebf
Merge pull request #1850 from martinbudden/bf_gyro_reentrant
...
Made gyro device code reentrant
2016-12-29 05:33:46 +11:00
Martin Budden
42344a8fe6
Made gyro device code reentrant
2016-12-18 00:16:23 +00:00
Martin Budden
ee8a1676c4
Moved accelerometerTrims into accelerometerConfig()
2016-12-17 22:30:03 +00:00
Martin Budden
1d3bfc86d4
Updated sensor driver read signatures
2016-12-15 23:06:52 +00:00
Martin Budden
17494840a5
Moved gyro and acc detection code into init functions
2016-12-13 10:00:43 +00:00
Martin Budden
a47c073874
Used device pointer in detect functions
2016-12-07 09:16:42 +00:00
Martin Budden
4bb6820c42
Moved sensor detection into respective sensor modules
2016-12-05 15:26:14 +00:00
Martin Budden
60e2227396
Moved alignment from sensor into device
2016-12-05 06:49:14 +00:00
Martin Budden
b8b9c95f57
Moved sensor global data into sensor_s structs
2016-12-01 17:47:17 +00:00
Martin Budden
dc56f143f3
Changed alignSensors to have common src/dest
2016-11-20 07:46:58 +00:00
Martin Budden
58c85029d6
Removed unnecessary #includes
2016-10-26 05:15:26 +01:00
Martin Budden
a771280b50
Moved config.c from config directory to fc directory
2016-10-18 08:57:39 +01:00
Martin Budden
a257210b56
Split features into a separate module
2016-09-04 18:48:58 +01:00
Martin Budden
c077bacee6
Improved acc initialisation
2016-08-15 07:32:06 +01:00
Martin Budden
147a16a66d
Whitespace and const correctness tidy
2016-08-11 17:44:54 +01:00
Martin Budden
541f4d4018
Directory rearrangement to reflect cleanflight changes
2016-08-07 13:44:00 +01:00
borisbstyle
4fff6c89bf
Merge pull request #684 from rav-rav/notch
...
Smoother filtering (additional notch filter)
2016-07-16 10:30:47 +02:00
Martin Budden
c076bc3e2d
Minor build optimisations
2016-07-11 20:11:09 +01:00
rav-rav
86626acbdf
add notch filter
...
configurable with gyro_notch_hz and gyro_notch_q
2016-07-07 07:47:13 +02:00
Martin Budden
74d20a276f
Made filter naming, parameters and state consistent
2016-07-03 06:45:11 +01:00
J Blackman
9843d7ce2f
Merge pull request #602 from martinbudden/bf_gyro_tidy
...
gyro sync and initialisation cleanup
2016-06-28 08:18:38 +10:00
Martin Budden
a2d1af04aa
Minor cosmetic tidying
2016-06-27 20:04:21 +01:00
Martin Budden
4d238b27d5
Moved targetLooptime into gyro_t, tidied gyro_sync and gyro
2016-06-26 16:15:06 +01:00
Martin Budden
e9a46c6ebb
Cleanup of acc device drivers extern usage CF PR#2117
2016-06-16 18:09:05 +01:00
borisbstyle
f30a188937
Add selectable debug options
2016-02-26 00:22:08 +01:00
borisbstyle
57a3e59a38
Rework Acc filtering
2016-02-17 17:37:01 +01:00
borisbstyle
974274b748
cleanup code
2016-02-17 14:57:42 +01:00
borisbstyle
881a448255
Convert gyroADC and accADC to int32_t
2016-02-14 22:03:19 +01:00
borisbstyle
4a492c611a
More Jitter Enhancements for Naze target
...
remove debug
Anti Jitter Enhancements for Naze target
Jitter Optimalisation without emf avoidance
2015-09-24 00:40:42 +02:00
ProDrone
57fc0f0a57
Added debug IMU speed output
2015-09-22 23:21:27 +02:00
Dominic Clifton
c6f5b98a79
Improve failure LED status flashing. Now users can identify and report
...
hardware failures by counting the number of long flashes.
Fix up sensor read API so that code that uses sensors can detect
malfunctions.
If a failure mode occurs in a debug mode the code reboots the system
rather than rebooting to the bootloader.
2015-09-12 01:33:19 +01:00
E Thomas
f02d7403af
Port of refactored beeper code 181_1
...
This the "Port of refactored beeper code #669 " modification applied to
version 1.8.1 (4/4/2015) of the code.
2015-04-04 17:54:44 -04: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
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
367eb79bd0
Add battery warning beeper. Update MSP_MISC/MSP_SET_MISC.
...
Note the old beeper was essentially 'battery critical'.
2014-12-19 22:16:47 +00:00
Dominic Clifton
b2db6b3b80
Beep when adjustments are made. (very short = adjust downwards, short =
...
adjust upwards).
2014-10-24 18:48:55 +01:00
Dominic Clifton
a92b148557
update some comment typos in sensors/acceleration.c
2014-10-24 18:35:59 +01:00
Dominic Clifton
d60183d91d
Normalize all the line endings
2014-09-15 23:40:17 +01:00