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

4264 commits

Author SHA1 Message Date
nathan
2264494fca duplicate file 2016-05-03 11:27:56 +02:00
nathan
08e87a40cf dont try to check the gyro status if the gyro doesnt support interrupts 2016-05-03 11:27:55 +02:00
nathan
d97d4dd544 hardfault handler w/ debugging info and an automatic breakpoint 2016-05-03 11:27:54 +02:00
JOhn Aughey
b6ff69feda Moving constrain and constrainf to the include file to be inlined. 2016-05-02 10:03:43 -05:00
JOhn Aughey
6d15c03813 Fixing null deref error when VBAT is not set.
If VBAT is not configured, batteryConfig is null.  This will
possibly set the vbatPidCompensation to an unknown value.
This change checkes for the validity of batteryConfig before
defining the values to be used.
2016-05-02 09:47:36 -05:00
JOhn Aughey
091aa24249 For fake gyro/acc, set the output to an fake variable.
For testing, the gyros and accelerometer values might needed
to be artifically set.  This change allows a testing loop to
set the gyro and acc to values through a global variable.
2016-05-02 09:47:36 -05:00
JOhn Aughey
ac11732a86 Separate the initialization and main step into two different functions.
For testing, it is useful to have the loop be separated from the
initialization so that an external function can step through the
main loop.
2016-05-02 09:47:36 -05:00
JOhn Aughey
b3216439de Allow the address of the start of the flash space to be defined externally.
For testing, the flash memory can be allocated and defined to a
different region than on an embedded processor.
2016-05-02 09:47:36 -05:00
JOhn Aughey
61392c5afc Removing inline from constrin and constrainf.
These functions are used elsewhere and the inline declaration
can cause the compiler to make them static and unavailable outside
of this file.  Unless these functions are defined in a .h file,
they cannot be inlined.
2016-05-02 09:47:36 -05:00
Gary Keeble
17b0c03992 Merge remote-tracking branch 'borisbstyle/betaflight' into blackbox-enhancements 2016-05-02 10:37:30 +01:00
borisbstyle
3f524297d1 Merge pull request #374 from nathantsoi/stm32f3discovery-compat
Stm32f3discovery compat
2016-05-01 00:06:07 +02:00
nathan
79d5414f3e guess we need some defines 2016-04-30 14:33:36 -07:00
nathan
2aea052f52 print the target name so we can figure out which target is breaking w/ fake_travis_build.sh 2016-04-30 12:41:43 -07:00
nathan
c89926e9cc duplicate file 2016-04-30 12:35:09 -07:00
nathan
96f4d090a2 dont try to check the gyro status if the gyro doesnt support interrupts 2016-04-30 12:34:55 -07:00
nathan
46a49f6147 hardfault handler w/ debugging info and an automatic breakpoint 2016-04-30 12:16:02 -07:00
borisbstyle
d62d894cc8 Cleanup unused variables
Fix
2016-04-30 12:20:07 +02:00
Gary Keeble
c6c462b92f Added SuperExpo Yaw field to header
Added the super expo yaw field value and mode to header.
2016-04-30 09:34:30 +01:00
borisbstyle
a36fe5099f Fix float / double warnings 2016-04-30 09:58:58 +02:00
borisbstyle
8dcc539f28 Merge pull request #371 from GaryKeeble/blackbox-enhancements
Blackbox enhancements
2016-04-30 09:51:56 +02:00
Gary Keeble
7af7ddcac0 Add Betaflight Revision to Header Field
Added Betaflight version number to header; no more doubt about which
version you were flying when the log was made.
2016-04-28 17:10:23 +01:00
Gary Keeble
f27932e236 Renumber Header Indexes
Renumbered the header index after removal of Item 40 on.
2016-04-28 06:35:46 +01:00
Gary Keeble
3a95e14e6f Merge remote-tracking branch 'borisbstyle/betaflight' into blackbox-enhancements 2016-04-28 06:29:06 +01:00
borisbstyle
1031e40a52 Change min_check default to something higher // Prevent arming issus on defaults 2016-04-27 22:51:49 +02:00
borisbstyle
bef46dd120 TPA added for Yaw // Cleanup unused config params 2016-04-27 22:18:01 +02:00
borisbstyle
86c2e12c07 Optional SUPER EXPO for yaw // Optional always Iterm reset // Rework Iterm reset 2016-04-27 22:09:17 +02:00
borisbstyle
afd5f8b542 Merge branch 'betaflight' of https://github.com/borisbstyle/betaflight into betaflight 2016-04-27 21:09:04 +02:00
borisbstyle
cbcf028302 Dterm robust differentiator Initial Implementation 2016-04-27 21:08:15 +02:00
borisbstyle
02b616accb Merge pull request #368 from GaryKeeble/blackbox-enhancements
PID Parameters in Log file
2016-04-27 20:27:25 +02:00
borisbstyle
c60648ac7c Merge pull request #369 from AndersHoglund/build_bin_hex
top_makefile allways builds both .hex and .bin formats.
2016-04-27 20:06:48 +02:00
Anders Hoglund
5782da9626 top_makefile allways builds both .hex and .bin formats. MAin Makefile llways cleans up both fileformat too. 2016-04-26 18:58:05 +02:00
Gary Keeble
3444967b1c Extend header to include setup information
Add additional header information for PID parameters etc into header.
2016-04-25 13:31:51 +01:00
Gary Keeble
6343da6f09 Use the flightModeFlags slow field for rcModes
This value was always zero, so re-task it for the flight mode selection
(which it was always designed for).
2016-04-25 07:18:34 +01:00
Gary Keeble
372c9de651 Added PID configuration, filters etc to Log file
Add the PID configuration settings, controller number, dterm filters
etc to blackbox log file.
2016-04-24 21:52:35 +01:00
Gary Keeble
2731e9e046 Merge remote-tracking branch 'borisbstyle/betaflight' into blackbox-enhancements 2016-04-24 20:26:52 +01:00
borisbstyle
f4219aebba Fix top_makefile typo 2016-04-22 12:45:40 +02:00
borisbstyle
8bffa11d19 Merge branch 'betaflight' of https://github.com/borisbstyle/betaflight into betaflight 2016-04-22 12:23:25 +02:00
borisbstyle
878ad7532f Merge pull request #353 from GaryKeeble/blackbox-enhancements
Blackbox Logging enhancements
2016-04-22 12:11:01 +02:00
borisbstyle
10a96915e3 Merge pull request #363 from larryho5/betaflight_22042016_tbs_release
- Add defulat LED Strip values for Colibri Race
2016-04-22 12:10:22 +02:00
borisbstyle
7935d28aa1 Merge pull request #354 from Beaky2000/float-print-bug
floats >= 100 cause the CLI to hang
2016-04-22 12:10:03 +02:00
borisbstyle
056f7e30a7 Merge pull request #365 from larryho5/betaflight_22042016_with_MPU9250
- Enable MPU9250 hardware in Colibri Race
2016-04-22 12:09:25 +02:00
borisbstyle
0b9ec41619 Merge pull request #364 from larryho5/betaflight_16042016_with_MPU6000
- Enable MPU6000 hardware in Colibri Race
2016-04-22 12:09:12 +02:00
borisbstyle
1e1d445fd3 Dynamic D Implementation 2016-04-22 12:08:17 +02:00
Larry (TBS)
1a5a49f9ec - Enable MPU9250 hardware in Colibri Race 2016-04-22 17:03:47 +08:00
Larry (TBS)
1531c07687 - Add defulat LED Strip values for Colibri Race 2016-04-22 16:40:37 +08:00
borisbstyle
c92f511b05 Match rewrite and luxfloat delta scaling during averaging 2016-04-18 11:02:40 +02:00
borisbstyle
fb35cc6477 Remove MW23 pid controller 2016-04-18 11:02:38 +02:00
Beaky2000
6ce8fe3c0f Fixed a bug which caused printing of floats larger than 100 in the CLI to crash 2016-04-17 22:09:49 +02:00
Gary Keeble
d4228388af Add SuperExpo Factor 2016-04-16 19:28:29 +01:00
Gary Keeble
c5bd5d687f Add the Flightmode events
Log RC mode selections to blackbox so that air mode, super expo, beeper
on/off etc can be shown in blackbox viewer.
2016-04-16 19:06:01 +01:00