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

11512 commits

Author SHA1 Message Date
Michael Keller
c0d25b1296
Merge pull request #6014 from mikeller/fix_dshot_beacon_interference
Made Dshot commands work in a non-blocking way.
2018-06-02 11:12:45 +12:00
mikeller
51763a40f9 Made Dshot commands work in a non-blocking way. 2018-06-01 21:56:11 +12:00
Bryce Johnson
0045b36320 Added blocked dshot commands, Added post command delay
Moved the dshotcommand to happen in pwm_output_dshot.
Simplified the timing and repeats to happen on a group basis instead works better for dshotburst
2018-06-01 21:56:11 +12:00
Michael Keller
f37a8184d5
Merge pull request #5891 from mikeller/add_disable_rx_loss_dshot_beacon_option
Implemented 'beacon' command in CLI.
2018-06-01 21:51:57 +12:00
Michael Keller
9f28f87c97
Merge pull request #6013 from mikeller/fix_enum_in_pg
Reordered and optimised pidProfile parameter group.
2018-06-01 14:54:12 +12:00
Michael Keller
42b2e4077f
Merge pull request #5985 from mikeller/add_board_info
Added ability to set and check board info.
2018-06-01 07:50:59 +12:00
Michael Keller
6c9ec2625b
Merge pull request #5960 from mikeller/add_feature_freeze_announcement
Added announcement for feature freeze for 3.4.
2018-06-01 00:51:32 +12:00
mikeller
2ca07f7302 Fixed typo, BETAFLIGHTF3 flash overflow. 2018-06-01 00:48:21 +12:00
Michael Keller
c8184a93f6
Merge pull request #5796 from jamming/kakutef7Test
Kakutef7 IMU change
2018-06-01 00:34:52 +12:00
mikeller
c666fcfa17 Reordered and optimised pidProfile parameter group. 2018-05-31 23:51:31 +12:00
mikeller
cedf2a1b45 Disabled on AIORACERF3 because of flash overflow. 2018-05-31 23:27:50 +12:00
mikeller
f17567491f Fixes from review. 2018-05-31 23:25:03 +12:00
mikeller
467a490a53 Ensured board info is preserved through invalid EEPROM version triggered reset. 2018-05-31 23:25:03 +12:00
mikeller
432f330e60 Fixes from review. 2018-05-31 23:25:03 +12:00
mikeller
b4c44d8a46 Fixed writing of empty signature. 2018-05-31 23:25:03 +12:00
mikeller
0bf4708033 Added support for signing board / serial number. 2018-05-31 23:25:03 +12:00
mikeller
1a2c129306 Fixed build for SPRACINGF3OSD. 2018-05-31 23:25:03 +12:00
mikeller
6131ac1449 Fixed tests. 2018-05-31 23:25:03 +12:00
mikeller
a101a58b68 Added ability to set and check board info. 2018-05-31 23:25:03 +12:00
Michael Keller
011711c0c1
Merge pull request #5998 from Cleric-K/failsafe-mode-switch
Failsafe switch choosable behavior
2018-05-31 23:15:51 +12:00
mikeller
f307bf3134 Fixed build for exotic targets. 2018-05-31 19:43:46 +12:00
Michael Keller
f013debb2d
Merge pull request #6008 from McGiverGim/gps_use_galileo
Add Galileo support to GPS
2018-05-31 19:33:53 +12:00
Miguel Angel Mulero Martinez
f43b36ce19 Add Galileo support to GPS 2018-05-31 08:20:58 +02:00
Michael Keller
ad7a847275
Updates from review. 2018-05-31 13:02:12 +12:00
Michael Keller
21f9e6b8ed
Updates from review. 2018-05-31 13:01:52 +12:00
Michael Keller
855639049c
Updates from review. 2018-05-31 13:00:58 +12:00
Michael Keller
74c824c6b3
Merge pull request #5968 from joelucid/absolute_control
Absolute control
2018-05-31 11:02:06 +12:00
Michael Keller
07dfbd7b62
Merge pull request #6001 from mikeller/make_rssi_scalable
Make all RSSI sources scalable.
2018-05-31 10:59:32 +12:00
Thorsten Laux
bb71b6ec64 correct drift 2018-05-30 23:06:27 +02:00
Thorsten Laux
8fe07af613 correct stickInput 2018-05-30 23:06:27 +02:00
Thorsten Laux
f1ea15029f remove pid.c.old 2018-05-30 23:05:16 +02:00
Thorsten Laux
0138200c1c initialize acErrorRate if iterm_relax is off 2018-05-30 23:05:16 +02:00
Thorsten Laux
b40db51448 address style issues and set off by default 2018-05-30 23:05:15 +02:00
Thorsten Laux
bd289121fc absolute control feature 2018-05-30 23:04:26 +02:00
Thorsten Laux
df71817fba incorporate style feedback 2018-05-30 23:01:54 +02:00
Thorsten Laux
7c8c3b6784 address style requests 2018-05-30 23:01:54 +02:00
Thorsten Laux
85b0f6f9c2 ITerm relax feature 2018-05-30 23:01:54 +02:00
mikeller
7e8f261436 Implemented 'beacon' command in CLI. 2018-05-31 01:48:27 +12:00
Michael Keller
d330ad519e
Merge pull request #6004 from mikeller/add_esc_sensor_offset
Added offset parameter to ESC sensor current calculation to compensate for non-ESC consumption.
2018-05-30 22:45:50 +12:00
mikeller
6eea0d45ca Changes from review. 2018-05-30 22:29:42 +12:00
Michael Keller
65e1b060f4
Merge pull request #6002 from AlienWiiBF/AFNG_F7_OSD
Add OSD support for AFNG F7 Horus30 board
2018-05-30 21:09:14 +12:00
Michael Keller
09081beef8
Merge pull request #5970 from etracer65/acro_trainer
Acro trainer
2018-05-30 21:08:26 +12:00
MJ666
533235619d Add UART3 to configuration to be used in absense of the SDCard. 2018-05-30 07:23:14 +02:00
MJ666
2fa03df7c4 AlienFlightNG F7 OSD support (AFNG F7 Horus30) 2018-05-30 07:23:12 +02:00
Bruce Luckcuck
ad067ee09a Overshoot logic updates, disable for GPS Rescue, constrain max setpoint
Updates for finalize the flight performance.

Disable if GPS Rescue is active

Constrain the max setpoint calculated by the angle correction logic. To catch border cases where the user activates the feature while inverted and has a high gain which could result in excessively high setpoint rates.

Make sure internal states are reset when feature is activated via mode switch.
2018-05-29 21:08:19 -04:00
Bruce Luckcuck
2384088855 Requested changes, cleanup and control logic updates
Also added a new parameter acro_trainer_gain to allow adjustments to the limiting strength.
2018-05-29 21:08:19 -04:00
Bruce Luckcuck
9b43839052 Acro trainer
Adds a new angle limiting mode for pilots who are learning to fly in acro mode. Primarily targeted at new LOS acro pilots, but can be used with FPV as well.

The feature is activated with a new mode named "ACRO TRAINER". When the feature is active, the craft will fly in normal acro mode but will limit roll/pitch axes so that they don't exceed the configured angle limit. New pilots can start with a small angle limit and progressively increase as their skills improve.

The accelerometer must be enabled for the feature to be configured and function.

Also the feature will only be active while in acro flight and will disable if ANGLE or HORIZON modes are selected.

For most users all they need to do is simply configure the new mode to be active as desired on the "Modes" tab in the configurator and configure the desired angle limit in the cli.

Configuration parameters:

acro_trainer_angle_limit: (range 10-80) Angle limit in degrees.

acro_trainer_lookahead_ms: (range 10-200) Time in milliseconds that the logic will "look ahead" to help minimize overshoot and bounce-back if the limit is approached at high gyro rates. The default value of 50 should be good for most users. For low powered or unresponsive craft (micros or brushed) it may be helpful to increase this setting if you're seeing substantial overshoot.

acro_trainer_debug_axis: (ROLL, PITCH) The axis that will log information if debugging is active.

To enable debugging:
set debug_mode = ACRO_TRAINER

debug(0) - Current angle
debug(1) - The internal logic state
debug(2) - Modified setpoint
debug(3) - Projected angle based gyro rate and lookahead period
2018-05-29 21:08:16 -04:00
Michael Keller
2fccb2b9b7 Fix from review. 2018-05-30 12:56:30 +12:00
Michael Keller
eecb59db45
Merge pull request #5963 from joelucid/iterm_relax
ITerm relax feature
2018-05-30 09:32:21 +12:00
Michael Keller
3d24eb1a68
Merge pull request #6005 from jflyper/bfdev-increase-SPI_PREINIT_IPU_COUNT
Increase SPI_PREINIT_IPU_COUNT to accommodate I/O rich boards
2018-05-30 09:28:36 +12:00