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

12234 commits

Author SHA1 Message Date
Michael Keller
baaaaf9d8f
Merge pull request #6681 from jflyper/bfdev-refactor-timerInit
Remove IOConfigGPIOAF from timerInit
2018-09-05 00:35:08 +12:00
Michael Keller
6797d5dd2b
Merge pull request #6692 from si618/f1_gone
Remove F1 from list of supported processors.
2018-09-05 00:32:20 +12:00
si
319d6034cf Remove F1 from list of supported processors. 2018-09-04 12:52:15 +09:30
Michael Keller
e2b91ae0f1
Merge pull request #6670 from mikeller/fix_spektrum_rx
Fixed Spektrum implementation inconsistency.
2018-09-03 23:17:32 +12:00
Michael Keller
d9ac128b0d
Merge pull request #6686 from ctzsnooze/master-fix-dividebyzero-iterm
to prevent divide by zero possibility in pid.c
2018-09-03 23:06:32 +12:00
Michael Keller
5c8d08889d
Merge pull request #6682 from etracer65/crash_recovery_term_relax_fix
Fix iterm relax interfering with crash recovery
2018-09-03 23:04:52 +12:00
ctzsnooze
ec3ed476fa to prevent divide by zero possibility in pid.c 2018-09-03 12:43:18 +10:00
Michael Keller
adc965327f
Merge pull request #6622 from mikeller/fix_gps_rescue_interface
Cleaned up the GPS rescue interface.
2018-09-03 10:23:45 +12:00
Michael Keller
a8b92ea920
Merge pull request #6662 from awolf78/master
GPS over MSP related fixes
2018-09-03 10:12:24 +12:00
Bruce Luckcuck
960442e917 Fix iterm relax interfering with crash recovery
Iterm Relax was inserted before crash recovery and this was causing the recovery to be ineffective or fail completely. The problem was that the subsequent iterm calculation was not using the calculated recovery error and instead was using the setpoint error. As such I ended up accumulating and opposing P based on recovery error. This prevented the efforts of crash recovery to level the quad and since it couldn't reach the level state crash recovery wouldn't shut off. This resulted in the pilot only having control over yaw and throttle while crash recovery was still ineffectually trying to control roll/pitch.

The fix is to move crash recovery handling ahead of the iterm relax calculations and make sure that iterm relax uses the error calculated from crash recovery if active.  This also allows crash recovery to reset the iterm accumulation as originally designed.
2018-09-02 09:58:16 -04:00
jflyper
7665a424c7 Remove IOConfigGPIOAF from timerInit 2018-09-02 15:42:50 +09:00
Michael Keller
09b52975fb
Merge pull request #6679 from jflyper/bfdev-fix-servoDevInit
Initialize timers assigned to servos appropriately
2018-09-02 14:30:52 +12:00
Michael Keller
3d5a3a1798
Merge pull request #6673 from etracer65/level_mode_param_rename
Rename level mode parameters to match their function
2018-09-02 13:30:31 +12:00
jflyper
5d7f6b6c3d Initialize timers assigned to servos appropriately 2018-09-02 01:02:26 +09:00
Alex Wolf
7115ab4047 GPS over MSP related fixes 2018-08-31 22:31:56 -04:00
Michael Keller
3a5961a758
Merge pull request #6048 from jflyper/bfdev-f7-tim8-dmaopt-to-match-f4
F7 TIM8_CH1,2,3 dmaopt ordering to match that of F4
2018-09-01 13:27:53 +12:00
Michael Keller
f9a5649219
Merge pull request #6671 from timman2er/developmentmd_update_to_betaflight
fix name of software in development.md
2018-09-01 13:12:55 +12:00
Bruce Luckcuck
f1488220f3 Rename level mode parameters to match their function
4.0 seems like a good time to rename these confusing legacy parameters to something that matches their function.

p_level -> angle_level_strength
i_level -> horizon_level_strength
d_level -> horizon_transition
2018-08-31 16:04:26 -04:00
jflyper
8d97f29f48 Re-evaluate NERO 2018-09-01 03:10:39 +09:00
jflyper
6ae6fe8a68 F7 TIM8_CH1,2,3 dmaopt ordering to match that of F4 2018-08-31 23:31:38 +09:00
timman2er
30daff9643 fix name of software in development.md 2018-08-30 22:37:20 +02:00
mikeller
ac5bc7bc55 Fixed Spektrum implementation inconsistency. 2018-08-30 20:18:29 +12:00
Michael Keller
8c47db882f
Merge pull request #6648 from timman2er/set_number_of_cells_bat
add way to manually override battery cell count
2018-08-30 19:24:22 +12:00
Michael Keller
bfee80b3df
Merge pull request #6560 from AndersHoglund/fix_6348
Fix for issue #6348. Prevent dispatcher deadlock.
2018-08-30 19:23:45 +12:00
Michael Keller
81790ad2de
Merge pull request #6661 from teckel12/teckel12-markdown-examples
Markdown fixes and added style examples
2018-08-30 19:21:39 +12:00
timman2er
449e08f92f took batteryCellCount = cells; out of else statement 2018-08-29 12:31:51 +02:00
Anders Hoglund
924817c253 Fix for issue 6348. Prevent dispatcher deadlock. 2018-08-29 11:09:29 +02:00
borisbstyle
9d01a5681e
Merge pull request #6659 from betaflight/pid_unittest_fix
Feedforward unittest
2018-08-29 09:10:45 +02:00
timman2er
bc596e1f8b fixup Mikeller and levinap 2018-08-29 02:38:41 +02:00
Tim Eckel
290cfebd99
Markdown fixes and added style examples 2018-08-28 10:30:55 -04:00
Michael Keller
9ef901f251
Merge pull request #6646 from DieHertz/bfdev-cleanup-sprf3-header
Removed redundant defines from SPRF3 target.h
2018-08-29 01:09:33 +12: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
Michael Keller
a06fa7569b
Merge pull request #6643 from nyway/master
Change DALRCF722DUAL gyroMovementCalibrationThreshold default value
2018-08-28 21:09:41 +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
timman2er
7b196b2ed7 ledvinap review (without editing battery.c if statements) 2018-08-27 18:30:03 +02:00
thomas.bridi
1a67f5da17 fix: missing test 2018-08-27 18:28:06 +02:00
timman2er
3fea35079f add way to manually override battery cell count 2018-08-27 17:01:58 +02:00
NywayZheng
459f91e7a0
Update config.c 2018-08-27 22:28:06 +08:00
Andrey Mironov
fe5376bc66 Removed redundant defines from SPRF3 target.h 2018-08-27 16:26:27 +03:00
Michael Keller
793c5f7b71
Merge pull request #6467 from timman2er/arrow_turtle_mode
Arrow turtle mode
2018-08-27 22:11:58 +12:00
timman2er
fc49f738c9 flip arrow turtle mode 2018-08-27 11:16:03 +02:00
Michael Keller
27434a995f
Merge pull request #6637 from mikeller/rename_fc_files
Renamed 'fc/fc_' files to remove the double 'fc'.
2018-08-27 19:51:00 +12:00
Michael Keller
5642ee3806
Merge pull request #6636 from mikeller/rename_common_target_files
Renamed common target files to get rid of '_fc_'.
2018-08-27 19:50:39 +12:00
ZhengNingwei
75ccb897f1 Change DALRCF722DUAL gyroMovementCalibrationThreshold default value
Add config.c file to setup ICM20602's  calibration threshold 148.When FC switch GYRO_CONFIG_USE_GYRO_1,it recover default value 48.
The function targetValidateConfiguration() will executes every time,so Increased judgment to check,avoid CLI set fail.
2018-08-27 13:57:06 +08:00
Michael Keller
9255defd7c
Merge pull request #6631 from loopur/baro_t
Add new broad -HAKRCF722
2018-08-26 21:47:15 +12:00
mikeller
0bce8549ee Renamed 'fc/fc_' files to remove the double 'fc'. 2018-08-26 14:07:06 +12:00
mikeller
06359deb09 Renamed common target files to get rid of '_fc_'. 2018-08-26 13:55:31 +12:00
Michael Keller
fc60cc27e9
Merge pull request #6623 from mikeller/remove_osd_slave
Removed OSD_SLAVE defines.
2018-08-25 23:37:30 +12:00