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

11340 commits

Author SHA1 Message Date
Bruce Luckcuck
8f6f4bf4c4 Make gyro calibration period user configurable and rename moron_threshold
Gryo calibration period can be configured in 1/100 second intervals using `gyro_calib_duration` (default is 125 or 1.25 seconds).

Renamed the `moron_threshold` parameter to `gyro_calib_noise_limit`. Functionally it is unchanged.
2018-05-23 07:14:52 -04:00
Michael Keller
346201d8ac
Merge pull request #5949 from dbasch/gps_rescue_rc1
fix the requirement for easing on yaw changes by only changing relati…
2018-05-23 22:19:36 +12:00
Michael Keller
7455de4859
Merge pull request #5940 from DieHertz/get-rid-of-pcre-grep
Replaced PCRE with egrep for macOS users
2018-05-23 22:13:57 +12:00
Michael Keller
b26269ad38
Merge pull request #5938 from DieHertz/add-m25q32-flash-id
Added M25Q32 flash ID for completeness
2018-05-23 22:13:19 +12:00
Michael Keller
2c049b9879
Merge pull request #5936 from neilbalch/master
Update Matek F405-CTR Docs
2018-05-23 22:11:56 +12:00
Michael Keller
7ab2d0c7fd
Merge pull request #5935 from etracer65/cli_get_display_default
Add default display to cli get command if value has been changed
2018-05-23 22:09:55 +12:00
Michael Keller
48bc53fe9c
Merge pull request #5929 from mikeller/fix_rc_modes_from_gps_rescue
Fixed RC modes PG version after GPS rescue.
2018-05-23 22:07:30 +12:00
Michael Keller
ac21aaac8b
Merge pull request #5928 from jflyper/bfdev-add-compass-exti-configurablility
Add compass exti configurability
2018-05-23 22:07:01 +12:00
Michael Keller
61328c3996
Merge pull request #5926 from mikeller/cleanup_sdk_tool_version_check
Cleaned up SDK version check.
2018-05-23 22:06:18 +12:00
s0up
f06d717309 fix the requirement for easing on yaw changes by only changing relative to 0 2018-05-22 20:01:35 -07:00
Michael Keller
a3b67d77b0
Merge pull request #5947 from dbasch/gps_rescue_rc1
Fix GPS Rescue (needs yaw smoothing but works).
2018-05-23 10:59:34 +12:00
Diego Basch
c3412225f5 Fix GPS Rescue (needs yaw smoothing but works). 2018-05-22 15:42:14 -07:00
Bruce Luckcuck
361af53c2b Refactor to support target specific defaults
Also remove redundant call to targetConfiguration()
2018-05-22 17:34:39 -04:00
Andrey Mironov
eac01a6ad6 Replaced PCRE with egrep for macOS users 2018-05-22 12:00:16 +03:00
Andrey Mironov
fd17292843 Added M25Q32 Winbond ID 2018-05-22 09:11:30 +03:00
Bruce Luckcuck
40a88ada81 Abstracted the PG backup and restore for use in multiple places 2018-05-21 21:31:01 -04:00
Neil Balch
878418a19c Updated MATEK F405-CTR Docs
Improved formatting and added info on status indicator patterns
2018-05-21 17:17:30 -07:00
Bruce Luckcuck
fc2f01cdf7 Add default display to cli get command if value has been changed
Presents the user with the default value for reference when displaying a parameter with the "get" command - but only if the current value differs from the default.
2018-05-21 17:25:20 -04:00
mikeller
557d704b9e Fixed RC modes PG version after GPS rescue. 2018-05-21 15:07:36 +12:00
jflyper
b12a4270ba Add compass exit configurability 2018-05-21 12:03:11 +09:00
Michael Keller
041362614b
Merge pull request #5899 from dbasch/gps_rescue_beta
[GPS RESCUE] - Add GPS rescue as a flight mode and failsafe mode
2018-05-21 14:13:50 +12:00
s0up
cc1bb05a1e revert failsafe removal of else 2018-05-20 19:08:09 -07:00
mikeller
57854eefc4 Cleaned up SDK version check. 2018-05-21 13:44:04 +12:00
Michael Keller
88904365f3
Merge pull request #5919 from mikeller/smartport_reorder_static_variables
Reorganised static variables in SmartPort code.
2018-05-21 13:08:03 +12:00
s0up
ac6b8088c9 add gps rescue mode 2018-05-20 16:28:17 -07:00
mikeller
43c706fc95 Rebased, fixed regex for target name at end of line. 2018-05-20 15:28:59 -07:00
mikeller
2be4d5e569 Fix from review. 2018-05-20 15:28:59 -07:00
Michael Keller
f01926b09b Moved pointers back. 2018-05-20 15:28:59 -07:00
mikeller
be8df4483e Optimised 'serialPort_t' struct. 2018-05-20 15:28:59 -07:00
mikeller
d67073c8b6 Optimised struct. 2018-05-20 15:28:59 -07:00
mikeller
4e54b1d1a5 Eliminated inefficient serial function calls at runtime. 2018-05-20 15:28:59 -07:00
mikeller
847e050955 Reorganised static variables in SmartPort code. 2018-05-20 00:55:07 +12:00
Michael Keller
0ded96910d
Merge pull request #5904 from mikeller/add_target_independence_check_to_travis
Added target independence check to travis 'test' target.
2018-05-20 00:46:47 +12:00
Michael Keller
dd151b3636
Merge pull request #5914 from etracer65/cli_cmd_feedback
Add responses for cli commands that were missing them for consistency
2018-05-20 00:31:57 +12:00
Michael Keller
155a71def7
Merge pull request #5913 from etracer65/cli_whitespace_ignore
Ignore leading whitespace for cli command parameters
2018-05-20 00:31:24 +12:00
Michael Keller
0b40e1c673
Merge pull request #5912 from jirif/smartport_without_esc_telemetry
Smartport not working without USE_ESC_SENSOR
2018-05-20 00:30:55 +12:00
Michael Keller
a14302afe2
Merge pull request #5905 from etracer65/rc_interp_task
Break out rc interpolation as a separate task and run before pid controller and motor update
2018-05-18 13:51:53 +12:00
Bruce Luckcuck
119571f77e Add responses for cli commands that were missing them for consistency
Most cli commands give some feedback if the command was successful. However a few did not return a response to provide an indication that the command was successful. This change adds feedback responses for the following commands:

adjrange
color
led
rxrange
serial
servo
vtx
2018-05-17 18:05:40 -04:00
Michael Keller
9bd8ba0673
Merge pull request #5911 from mikeller/remove_unneeded_declaration
Removed unneeded declaration of 'updateRcCommands()'.
2018-05-18 09:51:09 +12:00
Bruce Luckcuck
4423bf9018 Ignore leading whitespace for cli command parameters 2018-05-17 15:48:14 -04:00
jirif
1f04d74b62 Smartport not working without USE_ESC_SENSOR 2018-05-17 18:24:43 +02:00
mikeller
60f3f7a8bc Removed unneeded declaration of 'updateRcCommands()'. 2018-05-17 23:30:41 +12:00
Michael Keller
b5521b927d
Merge pull request #5909 from etracer65/gyro_calib_cleanup
Gyro calibration cleanup and use floating point calculations for zero offset
2018-05-17 23:19:43 +12:00
Michael Keller
fccca5220c
Merge pull request #5908 from SteveCEvans/fixmdtypos
Fix doc typos
2018-05-17 23:19:24 +12:00
Michael Keller
a786f8edfd
Merge pull request #5903 from mikeller/add_linker_memory_usage_display
Added memory usage output to linker.
2018-05-17 23:16:57 +12:00
Michael Keller
82500afb1b
Merge pull request #5902 from mikeller/optimise_gyro_sanity_checks_f7
Optimised gyro sanity checks for F7.
2018-05-17 23:16:38 +12:00
Michael Keller
edfa6cfcb0
Merge pull request #5900 from jflyper/bfdev-drop-stale-gyro-support
Gradually retire stale/unused acc/gyro support
2018-05-17 23:16:21 +12:00
Bruce Luckcuck
4913099803 Gyro calibration cleanup
Data type and variable name cleanup.

Calculate the calibration sum using floats to prevent possibilities of future overflows.

Rename the calibratingG element to cyclesRemaining to be more representative of its purpose. Change its data type to int32_t to avoid calculations with signed and unsigned variables.

Fix the zero offset calculation from the calibration results to return a floating point result rather than using integer math. This may result in slight improvements in reduced gyro drift.
2018-05-16 20:38:34 -04:00
Steve Evans
c05d9ef935 Fix doc typos 2018-05-16 22:13:51 +01:00
Michael Keller
2cb8f7e3e6
Merge pull request #5907 from etracer65/gyro_calib_fix
Fix gyro calibration zero offset calculation
2018-05-17 07:11:13 +12:00