1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +03:00
Commit graph

11396 commits

Author SHA1 Message Date
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
nyway
be11494344
Update target.h
Changed to FLASH_CS_PIN and FLASH_SPI_INSTANCE
2018-05-23 18:07:27 +08: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
nyway
1baacd3005
Update target.h
Delete TIM4  in  USED_TIMERS list
2018-05-23 16:38:12 +08:00
ZhengNingwei
09ed26f2ff Add new target FOXEERF405
Board - FOXEERF405

This board use the STM32F405RGT6 microcontroller and have the following features:
* 1024K bytes of flash memory,192K bytes RAM,168 MHz CPU/210 DMIPS
* The 16M byte SPI flash for data logging
* USB VCP and boot select button on board(for DFU)
* Stable voltage regulation,9V/2A DCDC BEC for VTX/camera etc.And could select 5v/9v with pad
* Serial LED interface(LED_STRIP)
* VBAT/CURR/RSSI sensors input
* Suppose IRC Tramp/smart audio/FPV Camera Control/FPORT/telemetry
* Supports SBus, Spektrum1024/2048, PPM. No external inverters required (built-in).
* Supports I2C device extend(baro/compass/OLED etc)
* Supports GPS
* Supports MPU6000 or ICM20689
2018-05-23 15:31:39 +08:00
supiiik
76e3e7aded dterm_setpoint_weight to uint16_t
dterm_setpoint_weight changet to uint16 with limit 0-2000
2018-05-23 08:39:45 +02: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
Cheng Lin
d79fbf2938 change CLRACINGF7 target to use DMAR burst
change CLRACINGF7 to one timer and flash chip

test flash

Update CLRACINGF7 TARGET

update the file copyright
2018-05-23 10:04:19 +08: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
supiiik
6c15904a77
Update pid.c 2018-05-22 20:01:25 +02:00
supiiik
e4846f2ecc
New calculation for DTERM setpoint weight
I'm flying race with betaflight and on all my race quads I have setpoint on maximum value 2.54. But I feel, that it's not enough. This calculation of setpoint is almost same as old method up to number 2.0 (previously 2.54) but numbers above 2.0 have more aggresive impact on Dterm RC stick commands. With this calculation i found, that value 2.3 is fine for me. 2.3 is equivalent to 6,35 with old calculation method (which was not possible of course, because there is 8bit limit). With higher values have quad much sharper responses and feel more "locked in". 
I think, that most freestyle pilots have setpoint at values around 1, so there is almost no change and race pilots using higher values and for those, who are limited by the value 2.54 (like me and my friends) should be solution new setpoint calculation method.
This is my first pull request to betaflight, so I hope, that I did everything well according your rules
2018-05-22 19:59:47 +02: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
s0up
7ad65031e2 revert failsafe code, re-implement commented unit tests, add degrees suffix for min/max angle in rescue mode 2018-05-20 19:14:09 -07: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
Loopur
32a5ec4250 Add barometer sensor QMP6988 2018-05-21 10:06:50 +08: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
Loopur
d36858a220 Add baro sensor of QMP6988 2018-05-18 18:37:28 +08:00
Loopur
495cfb4d07 Add barometer sensor QMP6988 2018-05-18 16:26:07 +08: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