1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 22:05:17 +03:00
Commit graph

800 commits

Author SHA1 Message Date
Martin Budden
f6097cba18 Calculate blackbox rate_num and rate_denom for MSP 2017-06-29 13:58:18 +01:00
Martin Budden
fa1514c083 Better handling of I-frame and P-frame interations 2017-06-29 13:57:21 +01:00
Martin Budden
8d4f838aac Fixed test 2017-06-28 21:36:33 +01:00
Michael Keller
6dfff4ac4d Fixed OSD tests after GPS changes. 2017-06-28 12:45:54 +12:00
Michael Keller
5f1ede6534 Merge pull request #3348 from martinbudden/bf_gps_align
Move some GPS variables into struct. Some alignment with iNav
2017-06-28 11:58:12 +12:00
Dan Nixon
270c4bd5fe Update OSD unit test as per comments from @ledvinap 2017-06-27 18:01:55 +01:00
Dan Nixon
427c5fe524 OSD unit test 2017-06-27 10:01:35 +01:00
Martin Budden
564e0c94b8 Move some GPS variables into struct. Some alignment with iNav 2017-06-25 14:44:04 +01:00
Martin Budden
d714624b7b Merge pull request #3283 from AndersHoglund/unit_test_Werror
Unit tests with clang warnings slips by unnoticed, added -Werror compiler option.
2017-06-25 11:00:21 +01:00
Martin Budden
b47df12759 Fix warnings in unit tests 2017-06-25 10:12:21 +01:00
Michael Keller
b77b866c2d Merge pull request #3346 from mikeller/fix_rcsplit_box_id
Removed 'boxId' from 'rcsplitSwitchState_t', cleaned up naming.
2017-06-25 18:46:25 +12:00
mikeller
7396e2665d Removed 'boxId' from 'rcsplitSwitchState_t', cleaned up naming. 2017-06-25 18:24:28 +12:00
jflyper
e88db3cb1a Merge branch 'master' into bfdev-configurable-bind-pin-2 2017-06-23 19:20:31 +09:00
Dominic Clifton
32fa109a64 Merge pull request #2852 from azolyoung/add-runcam-split-support
Add runcam split support
2017-06-23 08:48:07 +12:00
jflyper
8e2ebcf026 Rebased on to master 2017-06-19 19:43:18 +09:00
Michael Keller
f380c3d774 Fixed unit tests. 2017-06-19 13:33:29 +12:00
Hydra
0227b7fb28 CF/BF - Update re-instated unit tests due to rc_modes changes. 2017-06-19 13:31:08 +12:00
mikeller
a10e1d05ed Fixed tests. 2017-06-19 13:31:08 +12:00
Dominic Clifton
db006b1585 Merge pull request #2856 from ledvinap/improvement-64bit-boxid
array based box masks
2017-06-19 13:31:08 +12:00
jflyper
c7f62e47a6 Automatic spektrum bind pin determination 2017-06-17 04:12:50 +09:00
mikeller
774cae215c Removed support for profile handling in parameter groups. 2017-06-15 03:11:02 +12:00
Anders Hoglund
2a12b809a0 Unit tests with clang warnings slips by unnoticed, added -Werror compiler option. 2017-06-14 12:30:37 +02:00
Michael Keller
a139e71750 Merge pull request #3247 from jflyper/bfdev-additional-transponders
Porting aRCiTimer and ELRT from CF
2017-06-14 12:42:40 +12:00
Michael Keller
7e88dc974e Merge pull request #3262 from DanNixon/refactor_tests_part_2
Further unit test refactoring
2017-06-14 12:04:07 +12:00
Dan Nixon
ffeddc958c Add back and refactor some unit tests.
Re-enabled:
 - BMP280
 - MS5166
 - Maths test cases
 - Serial IO

Refactored:
 - Scheduler

Tried to decouple the test from the actual tasks (in fc_tashs.h/c) in
the majority of logical tests.
2017-06-12 15:02:00 +01:00
Michael Keller
409bbab455 Apply 'telemetry_inversion' consistently to all protocols. 2017-06-13 00:59:18 +12:00
jflyper
c40178dda1 Touch up 2017-06-12 21:48:51 +09:00
Dan Nixon
3dae29611e Refactor IMU unit test 2017-06-11 11:44:52 +01:00
Dan Nixon
fa4517fa8b Reenable GPS conversion unit test 2017-06-11 09:13:15 +01:00
Dan Nixon
ed93775ee3 Reenabled RX ranges unit test 2017-06-11 09:08:42 +01:00
Dan Nixon
97be1698e7 Reenable LED strip unit test 2017-06-10 20:12:21 +01:00
Dominic Clifton
a4ee4102d7 Cherry-pick CF/9f7f2f2 2017-06-11 01:47:01 +09:00
Dan Nixon
50339b1c09 Reenable WS2812 unit test 2017-06-10 17:25:14 +01:00
Dan Nixon
45a436129b Reenable failsafe unit test 2017-06-10 17:14:32 +01:00
Martin Budden
23f158913e Moved time functions out of system.h into time.h 2017-05-26 14:03:28 +01:00
rav
d4d59fc718 fix unit tests 2017-05-05 08:22:31 +02:00
Martin Budden
015d848d73 Added TAG2_3SVARIABLE encoding 2017-05-02 08:36:49 +01:00
Martin Budden
50ac13d79b Minor blackbox code tidy 2017-05-02 07:13:55 +01:00
Martin Budden
f92c19cc6a Renamed blackbox_unittest to blackbox_encoding_unittest 2017-05-01 10:38:48 +01:00
Martin Budden
b1f290d218 Split blackbox encoding into separate module 2017-05-01 08:57:44 +01:00
Martin Budden
695c278b49 Added blackbox unittest 2017-04-25 14:52:47 +01:00
Martin Budden
c89fc98bf6 Got rx_rx_unittest running, some tests disabled 2017-04-25 07:38:36 +01:00
Hydra
be063ebbbf CF/BF - Remove usage of USE_FC based on PR discussion decisions. Add
USE_VIRTUAL_CURRENT_METER.
2017-04-12 00:39:27 +01:00
Hydra
2b1dac4c6d CF/BF - First cut of allow building of the OSD SLAVE board without all
the flight controller code.

Likely the dependencies can be further improved.  This is a
minimal-impact solution while there are a lot of other Betaflight PR's
still pending.
2017-04-12 00:39:27 +01:00
mikeller
6a03b48e7f Reworked altitude estimation. Made it work when ACC is disabled. 2017-04-08 22:54:44 +12:00
Michael Keller
edc44bd830 Made 'scaleRange' agnostic to order of ranges. 2017-04-07 18:39:57 +12:00
Michael Keller
3dc4a9378b Merge pull request #2824 from mikeller/add_reverse_scale_range_tests
Added tests for reversed ranges with 'scaleRange'.
2017-04-07 11:54:45 +12:00
Michael Keller
b48db968ff Added tests for reversed ranges with 'scaleRange'. 2017-04-07 00:36:49 +12:00
Anders Hoglund
073364a285 junittest xml output was lost, fixed. 2017-04-06 01:38:24 +02:00
Michael Keller
e555f0ddab Merge pull request #2822 from manors/tidy-scaleRange
Tidy scaleRange code
2017-04-06 08:25:42 +12:00