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

33 commits

Author SHA1 Message Date
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
Dominic Clifton
8ebdb245c2 Instead of copying a profile from the master config into memory again,
just use it in-place.  This saves ~308bytes of memory.

Prior to this there were 4 profiles in ram all the time, the 3 main
profiles and a copy of one of them.

This commit was aided by a side effect of the work done to clean up the
output of the cli dump command since it is now easy to conditionally
apply the changes to the memory addressed used to read/write cli
variables.  See 8c3a869251.
2014-08-22 21:53:23 +01:00
Dominic Clifton
9afcb20b7e Cleanup mismatch of buzzer/beeper terminology. Beep and Beeper should
be used from now on.
2014-06-21 23:32:58 +01:00
Dominic Clifton
e867af8c4b Correct project name in GPL notices. 2014-06-05 00:47:47 +01:00
Dominic Clifton
0bbcd6570f Updated source files to include the GPL v3 notices. Include a copy of
the GPL v3.
2014-06-04 16:48:23 +01:00
Dominic Clifton
d19a5e7046 Cleanup project structure. Update unit test Makefile to place object
files in obj/test
2014-05-31 22:43:06 +01:00
Renamed from src/sensors_acceleration.c (Browse further)