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

2314 commits

Author SHA1 Message Date
borisbstyle
f1a490b6ba Added PIDweight to header file 2015-05-12 23:39:51 +02:00
Nicholas Sherlock
e6a40d732d Add logging for raw sonar data 2015-05-12 18:37:56 +12:00
Steveis
57735857b4 Corrected YAW_LOOKUP_LENGTH 2015-05-11 11:18:16 +01:00
borisbstyle
4ec28b8cce Removed TPA from Yaw axis and Changed variable name
PIDscaler changed to PIDweight as it suits better and is more
understandable as it is percentage of the PID's used.
Yaw TPA is removed as I don't find it necessary after more testing
2015-05-11 09:18:05 +02:00
Steveis
318592b063 Removed tricopter yaw gyro smoothing from imuUpdate 2015-05-10 11:02:44 +01:00
borisbstyle
174cf545b1 Simplify errorGyroIf[axis] formula 2015-05-09 12:31:03 +02:00
borisbstyle
5dee66fee9 More commented 2015-05-09 02:08:52 +02:00
borisbstyle
d6cb6a34e7 Added comment 2015-05-09 02:05:44 +02:00
borisbstyle
573146788b PID1 and PID2 TPA Implementation
PIDscaler is used to scale down the pids conforming TPA calculation
2015-05-09 00:52:18 +02:00
Dominic Clifton
fe40472050 Remove magic number from MSP_SERVO_CONF. 2015-05-08 18:54:20 +01:00
Sam Cook
6776f9c02d Send a (non-zero) fake location when GPS isn't present to enable display of compass heading on OpenTX 2015-05-08 18:20:56 +01:00
Michael Jakob
e2f43a4339 AlienWii F1 VBAT fix
AlienWii F1 variants don't have an voltage divider. Disable feature
VBAT.
2015-05-08 17:03:53 +02:00
borisbstyle
7f69537f86 PID1 TPA Implementation 2015-05-08 15:20:53 +02:00
Dominic Clifton
69292fc966 FrSky GPS code size and de-duplication improvements.
I noticed this after merging 593db0ce1e.

If the telemetry screen shows no fix when the fix is lost then perhaps
the intention was to make localGPS_coord static in the original code,
but if GPS_coord retains it's value when a fix is lost then this is ok,
please test!
2015-05-07 13:51:03 +01:00
Dominic Clifton
4f752ea946 Merge pull request #854 from samcook/no-gps-define-fix
Fix compilation errors when GPS is not #defined
2015-05-07 13:42:49 +01:00
DaTwo
38308020a1 Update rx.c 2015-05-07 04:47:03 -07:00
DaTwo
ce3b5c0984 Update config.c 2015-05-07 04:46:54 -07:00
DaTwo
ade7887f7a Update serial_cli.c 2015-05-07 04:20:33 -07:00
DaTwo
278a682f98 Update rx.h 2015-05-07 04:20:27 -07:00
DaTwo
98a9826bdf Update rx.c 2015-05-07 04:20:20 -07:00
ProDrone
54ef6f68a9 Fix AlienWiiF3 target
Copied the missing #define block from /src/main/drivers/serial_uart_stm32f30x.c to target.h
Please check if i did it right.
2015-05-07 10:30:57 +01:00
Dominic Clifton
a3a51c561a Merge pull request #857 from borisbstyle/api-version
Bump API version to 1.10 due to RC Yaw Expo
2015-05-07 10:26:13 +01:00
borisbstyle
083a534273 Bump API version to 1.10 due to RC Yaw Expo 2015-05-07 10:59:34 +02:00
Dominic Clifton
80beb9c8d8 SPRacingF3/Naze32 Rev 5 - Add support for MAG data ready EXTI handler. 2015-05-07 09:40:35 +01:00
Sam Cook
593db0ce1e Fix compilation errors when GPS is not #defined 2015-05-07 02:16:21 +01:00
Dominic Clifton
4a22227b60 Bump config storage version need for new yaw expo setting.
See da8bb6f6fc.
2015-05-06 22:46:13 +01:00
Dominic Clifton
b8312f8678 Fix unused variable compiler warnings for Olimexino and SPRacingF3
targets - warning introduced in e0af5f41ef
2015-05-06 22:34:05 +01:00
Dominic Clifton
cfb55516fc Fix sparky build, also broken in
c0aec95e14
2015-05-06 22:32:16 +01:00
Dominic Clifton
f5bfe1ce83 Fix MSP_RC_TUNING and MSP_SET_RC_TUNING to cater for rcYawExpo 2015-05-06 22:27:48 +01:00
borisbstyle
da8bb6f6fc Yaw Expo Feature 2015-05-06 22:23:40 +01:00
Dominic Clifton
5bf687a150 Fix CheBuzzF3 target, broken in c0aec95e14 2015-05-06 22:20:51 +01:00
Dominic Clifton
e0af5f41ef Merge pull request #697 from Supersopp/sonar_and_ADC_current_sensor
Updates sonar so that it can be used together with ADC current meter
2015-05-06 22:14:52 +01:00
Dominic Clifton
62e2b557b5 SPRacingF3 - Enable Blackbox feature and use on-board flash by default.
Ensures that every maiden flight is logged unless user specifically
disables blackbox logging.
2015-05-06 22:02:14 +01:00
Dominic Clifton
ee1d5a9a38 SPRacingF3 - Swapping RC3/4 for production boards. 2015-05-06 21:39:16 +01:00
Dominic Clifton
b04be157b1 SPRacingF3 - Allow Sonar and Parallel PWM (drops 2 input channels).
Naze32 - Fix initialisation of outputs 5/6 when Parallel PWM and
Sonar are used together with a mixer that needs more than 4 motors.
2015-05-06 21:33:34 +01:00
Dominic Clifton
c0aec95e14 STM32F303 - Skip UART3 pins in PWM mapping when UART3 is used. 2015-05-06 20:38:39 +01:00
Dominic Clifton
4efaa4a1a2 Fix indentation of code that was messed up in
b8caf01ee9
2015-05-06 13:13:44 +01:00
Dominic Clifton
b8caf01ee9 Merge pull request #836 from SteveAmor/acro_board_boot_fix
Fix for some 1.9.0 boards not booting up
2015-05-06 13:07:06 +01:00
Steveis
4615f1a70d added EXTI_StructInit and replaced tabs with 4 spaces 2015-05-05 12:17:15 +01:00
Dominic Clifton
526281a519 Fix data length for MSP_FAILSAFE_CONFIG.
Thanks @tricopterY
2015-05-04 18:56:51 +02:00
Steveis
3fdbe68ee1 Disable bmp085 interrupt if no baro 2015-05-04 13:00:43 +01:00
Steveis
a0bb0135c3 Added MPU6050 PLL Settling Time delay 2015-05-04 10:59:39 +01:00
Steveis
14a95a3f18 include delay(20) 2015-05-04 10:19:58 +01:00
Steveis
c73af88507 prevent bmp085 interrupts being set up when no baro so board will boot 2015-05-04 09:42:08 +01:00
Dominic Clifton
4d29e417be Merge pull request #826 from sherlockflight/airplane-yaw
Allow yaw at low throttle for airplane mixes
2015-05-04 09:24:19 +01:00
Dominic Clifton
d2ef645fbe Merge pull request #823 from ethomas997/addPlaySoundCommand
Add 'play_sound' CLI command
2015-05-04 09:22:04 +01:00
Dominic Clifton
9e705a511a Merge pull request #829 from Pierre-A/micro_update_PA
Just a micro correction
2015-05-04 09:11:13 +01:00
Dominic Clifton
a7faa28ee9 Merge pull request #831 from borisbstyle/master
Yaw_fix default values
2015-05-04 09:09:26 +01:00
tricopterY
d7e668af9f Bug fix to cater for additional number of Bytes MSP_RX_CONFIG 2015-05-04 08:56:42 +01:00
borisbstyle
16faced65a Update mixer.c
Make it possible to still be able to disable the jump protection at all by configuring the highest configurable value.
2015-05-01 17:23:29 +02:00