Bruce Luckcuck
b723d2976d
Changes from review and add unit tests
...
Stylistic updates and add tests to the PID unit tests to verify launch control behavior
2018-10-30 18:14:49 -04:00
Mark Hale
9b9a86e4c5
Added rx link quality indicator (based on rx frame error rate) to OSD.
2018-10-30 17:31:25 +00:00
Maciej Janowski
9656dbba40
Merge branch 'master' of https://github.com/betaflight/betaflight into motor-diag
...
# Conflicts:
# src/main/io/osd.c
# src/main/io/osd.h
# src/test/unit/osd_unittest.cc
2018-10-29 21:16:24 +01:00
Maciej Janowski
3d2d5a2efa
Initial implementation
...
Percentage implementation
Settings fix, formatting
Add support for different number of motors
Optimize and cut superfluous code
Hard-add mixer.h
Formatting adjustment to fit BF standards, linking error in unittest fix attempt
Add stubs and variables for unittests
Character based indicators
Change output to special characters
Fix spacing
Update test code, add variable
Include changes as per peer review
2018-10-29 21:09:46 +01:00
Michael Keller
71c563fdb4
Merge pull request #6977 from mikeller/remove_skip_defines
...
Converted 'SKIP_' defines to 'USE_'.
2018-10-29 07:37:10 +13:00
Bruce Luckcuck
e4dc93b128
Launch Control
...
Adds a race start assistance system that allows the pilot to pitch forward and then release the sticks with the quad holding position for the race start.
2018-10-27 11:50:37 -04:00
Michael Keller
ea387a0c55
Fixed tests.
2018-10-25 13:50:23 +13:00
Michael Keller
f912b891b5
Merge pull request #6952 from mikeller/improve_airmode_detection
...
Improved handling of airmode detection.
2018-10-25 00:41:50 +13:00
Bruce Luckcuck
b31b2d0680
OSD temperature display and calculations cleanup
...
Remove unnecessary decidegrees conversions as all temperature providers are in degrees celcius.
Fixed rounding for imperial units.
Fixed data type error in core temp warning element. Temperature is captured as int16 and can be negative but logic was using uint8 leading to an underflow for negative temperatures and a false alarm triggering.
2018-10-23 09:27:26 -04:00
mikeller
feaa082ac3
Fixes from review.
2018-10-24 02:02:59 +13:00
Michael Keller
2f1643924e
Merge pull request #6656 from timman2er/add_stat_esc_max_temp_rpm
...
added esc max temp and rpm to OSD
2018-10-08 01:03:20 +13:00
Michael Keller
811364c2ec
Merge pull request #6810 from azolyoung/fix_rcsplit_t_control_bug
...
fix rcdevice can't work
2018-10-06 15:38:20 +13:00
azolyoung
18085eafdd
fix coding style
2018-09-22 10:15:01 +08:00
Michael Keller
ae0f99c494
Merge pull request #6806 from Smeat/fport_rssi
...
Fix rssi logging for fport.
2018-09-22 03:55:11 +12:00
azolyoung
6bc6c36116
fix error of unittest
2018-09-21 17:00:47 +08:00
Kevin
8e5bd7fc71
Fix blackbox unit test.
2018-09-20 15:35:50 +02:00
Michael Keller
ec8d363adb
Merge pull request #6748 from borisbstyle/fix_ITERM_RELAX_RP_INC_bug
...
Improved pid_unittests
2018-09-21 00:13:49 +12:00
Michael Keller
b43c6ca73b
Merge pull request #6796 from etracer65/adjustment_range_optimize
...
Optimize in-flight adjustments to only process configured ranges
2018-09-20 20:51:21 +12:00
timman2er
ef17d7fc31
add max esc temp and rpm to osd
2018-09-20 10:15:00 +02:00
borisbstyle
2d68e9c387
Merge pull request #6793 from etracer65/crsf_telem_gps_speed_fix
...
Fix CRSF telmetry GPS speed calculation
2018-09-19 09:32:32 +02:00
borisbstyle
87b2eeb2fd
More isolated pid_unittests
...
Refactor iterm_relax to iterm_relax_axis
Isolate pidLevel test
Isolate pidHorizon tests
remove if UNIT_TEST
revert to iterm_relax from iterm_relax_axis
2018-09-19 08:15:32 +02:00
Bruce Luckcuck
044648ca12
Optimize in-flight adjustments to only process configured ranges
...
Previously the logic would process all possible ranges defined by MAX_ADJUSTMENT_RANGE_COUNT even if some (or even all) ranges were not configured. This change first builds a list of configured ranges and only processes thos entries.
Reduces CPU load by skipping unnecessary processing and minimizes the impact of increasing the number of available ranges.
2018-09-18 10:31:58 -04:00
Michael Keller
3f41eb78a2
Merge pull request #6760 from andrejpodzimek/test_reintroduction
...
Fixing a wrong defintion of TARGET in the test Makefile.
2018-09-18 23:37:28 +12:00
Bruce Luckcuck
0d7f8f5feb
Fix CRSF telmetry GPS speed calculation
...
Calculation was assuming that the GPS groundspeed was in 1/10 m/s when in reality it's in cm/s units. This was causing the value sent in telemetry to be 10 times too large.
2018-09-18 07:07:22 -04:00
ctzsnooze
9cc96bfa67
Grr missed two ITerm's in unit test clode
2018-09-16 12:04:57 +10:00
Andrej Podzimek
dc76f7a473
Fixing a test TARGET definition and adding comments on disabled tests.
2018-09-14 00:44:39 +02:00
Michael Keller
8207dab3e5
Merge pull request #5868 from jflyper/bfdev-poc-migrate-to-dual-gyro
...
Configurable ACC/GYRO
2018-09-14 09:22:47 +12:00
borisbstyle
93c6f93ac1
Merge pull request #6738 from andrejpodzimek/per_target_tests
...
Adding a per-target unit test for timer metadata consistency.
2018-09-12 21:59:56 +02:00
borisbstyle
afccf50d96
Add Iterm Relax unittest // refactor
...
Refactor PID code Iterm Relax and Absolute control
Move defines for unittest to Makefile
Fix unittest isAirmodeActivated()
Absolute control unittests + optimizations
Fix dead code absolute control // unittests
Further optimizations to absolute control switch logic
2018-09-12 08:09:21 +02:00
Andrej Podzimek
9d553380c3
Adding a per-target unit test for timer metadata consistency.
2018-09-11 06:42:10 +02:00
borisbstyle
aa44fd6bbd
Change default iterm_windup
2018-09-10 23:38:40 +02:00
borisbstyle
00dbaf9fa7
Cleanup code // add unittestst for iterm windup
2018-09-10 23:38:39 +02:00
jflyper
fc6c24c38e
Configurable acc/gyro
2018-09-10 17:55:52 +09:00
borisbstyle
864a2d6a2b
Fix bug with antiwindup inversion
2018-09-10 09:08:36 +02:00
Michael Keller
39ced6bbfe
Merge pull request #6668 from mikeller/add_fno_common
...
Added '-fno-common' build option, fixed resulting problems.
2018-09-08 16:51:22 +12:00
jflyper
9caeceb2dd
Resolve upward inclusion
2018-09-06 18:43:58 +09:00
mikeller
4ec481a843
Added '-fno-common' build option, fixed resulting problems.
2018-08-30 18:58:34 +12:00
borisbstyle
9d01a5681e
Merge pull request #6659 from betaflight/pid_unittest_fix
...
Feedforward unittest
2018-08-29 09:10:45 +02:00
Michael Keller
b14d532dc5
Merge pull request #6624 from thomasbridi/CRSF_avg_cell_telemetry
...
feat:add average cell voltage in CRSF telemetry
2018-08-28 21:21:36 +12:00
borisbstyle
a85eecf42d
Add feedforward tests
2018-08-28 10:06:48 +02:00
borisbstyle
5b7209329b
Add tolerance for feedforward
2018-08-28 08:44:06 +02:00
thomas.bridi
a567bb71d3
merge
2018-08-27 18:31:09 +02:00
thomas.bridi
1a67f5da17
fix: missing test
2018-08-27 18:28:06 +02:00
mikeller
0bce8549ee
Renamed 'fc/fc_' files to remove the double 'fc'.
2018-08-26 14:07:06 +12:00
thomasbridi
8eccc325ae
Fix:remove unused variable
2018-08-23 15:27:47 +02:00
thomas.bridi
50d287a9d4
feat:add average cell voltage in CRSF telemetry
2018-08-23 13:09:51 +02:00
Michael Keller
a02e1dd384
Merge pull request #6610 from jflyper/bfdev-osd-warn-fail-safe
...
Add osd warning for fail safe state.
2018-08-23 22:36:48 +12:00
jflyper
82268b7a4e
Add osd warning for fail safe state.
2018-08-22 20:22:40 +09:00
mikeller
40f1fe0737
Fixed tests.
2018-08-22 19:51:32 +12:00
mikeller
00a7d20227
Fixed tests.
2018-08-21 00:37:20 +12:00