Dominic Clifton
85acf7dc1d
Merge pull request #895 from borisbstyle/pid1-horizon
...
Fix for extreme D level term PID1 Horizon
2015-05-17 21:32:50 +01:00
Dominic Clifton
97700349b9
Merge pull request #898 from samcook/fix-fakeheading
...
Tidy up the fake lat/long heading tidyup
2015-05-17 21:30:33 +01:00
Michael Jakob
be0561c576
Not all AlienWii F3 variants have an voltage divider. Disable feature
...
VBAT by default.
2015-05-17 10:59:48 +02:00
Michael Jakob
7a3976e3a0
Set Spektrum 1024bit as default for better copatibility with entry level
...
transmitters
2015-05-17 10:57:35 +02:00
Steveis
6448b4b3d7
Replaced gyroData with gyroADC as they both contain the same value
2015-05-17 07:14:42 +01:00
Michael Jakob
088d136c7c
Remove obsolate failsafe setting for the ALIENWII32 targets
2015-05-15 17:56:34 +02:00
borisbstyle
984eada98b
PID1 Horizon sensitivity range increased
2015-05-15 15:28:03 +02:00
Sam Cook
d6dc1f7bd8
Fix invocation of sendFakeLatLong() after 802218b77b
.
...
Fix spelling in sendFakeLatLongThatAllowsHeadingDisplay function name.
2015-05-15 12:32:03 +01:00
borisbstyle
4bdc64bff9
Fix for extreme D level term PID1 Horizon
2015-05-15 02:16:46 +02:00
Dominic Clifton
19be109189
Merge pull request #890 from ProDrone/cli_processing_mod_1
...
Some mods to CLI command interpretation and output
2015-05-14 20:10:49 +01:00
Dominic Clifton
802218b77b
Remove some logic and boolean arguments from FrSky GPS code. See
...
d58387c
PR #855
2015-05-14 20:04:52 +01:00
Dominic Clifton
d58387c44a
Merge pull request #855 from samcook/frsky-heading
...
Frsky telemetry heading without GPS
2015-05-14 20:00:21 +01:00
Dominic Clifton
cf4a552b94
Merge pull request #891 from borisbstyle/pid1-horizon
...
PID1 Horizon Mode Fixed
2015-05-14 19:31:45 +01:00
Dominic Clifton
e69e999bdc
Merge pull request #862 from borisbstyle/tpa-feature
...
PID1 and PID2 TPA Support Added
2015-05-14 19:24:10 +01:00
Dominic Clifton
77217f23a7
Merge pull request #816 from DaTwo/RSSI-Invert-Patch
...
Inverted RSSI PPM / PWM (EZUHF) CLI Option
2015-05-14 19:20:28 +01:00
Dominic Clifton
004f44108e
Merge pull request #839 from SteveAmor/MPU6050_PLL_Settling_Time
...
Added MPU6050 PLL Settling Time delay
2015-05-14 19:12:50 +01:00
borisbstyle
3c1b678a37
Fix truncation in horizonstrength calculation
2015-05-14 20:00:35 +02:00
ProDrone
6d9394d783
Optimized comment stripper code (again)
2015-05-14 19:59:36 +02:00
ProDrone
0ee67a521b
Optimized comment stripper code
2015-05-14 19:59:35 +02:00
ProDrone
1df9097e32
Added # to versionstring and strip comments
...
Prepended the version string with a # to avoid the CLI from interpreting
the version string as a command when pasting a dump file back (restore
in CLI).
Strip comments starting with `# comment` from lines. This is to allow
adding comments to CLI dumped backup files. For this i have an automated
addition of comments and/or manual comments by the user in mind.
2015-05-14 19:59:34 +02:00
Nicholas Sherlock
b739a57ea2
Fix array bounds overrun in Blackbox logging
2015-05-14 13:11:58 +12:00
borisbstyle
0b274cc6e8
PID1 Horizon Improved
2015-05-14 00:54:41 +02:00
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
BorisB
c3522882f2
yaw_fix default values
...
Pull request #802 has by default disabled yaw jump. That is fine on the
most of the configurations, but one of my multirotors had an angled
motor due to crash and this was causing weird behaviour.
It is also possible to configure very low values, which can even cause a
craft to not be able to stop after yaw and I am talking about the values
below 100 like 1.
Anyway this fix provides only valid configurable values what can't cause
any danger. Also default parameter is not unlimited anymore and is
configured to 200, which is a safe value to anybody who does the
upgrade.
cli.md is also edited
2015-05-01 13:45:22 +02:00
Pierre-A
05176a196a
Just a micro correction
2015-04-30 10:16:25 +02:00
Nicholas Sherlock
32884ad399
Fix missing blackbox D term logging on LuxFloat
2015-04-30 19:51:47 +12:00
Nicholas Sherlock
766f409bac
Allow yaw at low throttle for airplane mixes
...
Fixes #824
2015-04-29 16:39:08 +12:00
E Thomas
96de824f61
Add 'play_sound' CLI command
...
Added 'play_sound' CLI command; improved ACC_CALIBRATION_FAIL sound (to
make it less like ACC_CALIBRATION sound).
2015-04-27 03:46:57 -04:00
Dominic Clifton
cddf89135a
Bumping eeprom config version for PR #802
2015-04-26 20:40:24 +02:00
Dominic Clifton
330d47fb43
Merge pull request #802 from MJ666/Yaw_Fix
...
This fix is for avoiding yaw overshoot and bounce back for some configurations
2015-04-26 20:38:56 +02:00
Dominic Clifton
441b58c9c8
Allow failsafe config to be set via MSP. Add min/max channel values to
...
MSP_RX_CONFIG.
2015-04-26 18:27:12 +02:00
Dominic Clifton
b63e074d0c
Fix unit test compilation failure.
2015-04-25 11:00:32 +02:00
Dominic Clifton
f05a12863c
Update beeper code to allow targets that don't support GPS to be built.
2015-04-25 10:55:59 +02:00
Dominic Clifton
3974b02b3a
Remove BEEPER_CONFIRM_BEEP. Simplifies logic, reduces code size, and
...
ensures that the durations of one or more confirmation beeps can never
get out of sync when the code is changed. Renamed queueConfirmationBeep
to beeperConfirmationBeeps - nothing was actually queued.
2015-04-25 10:53:07 +02:00
Dominic Clifton
064de090a0
Even more cleanups to the new beeper code. Seperate beeper mode and
...
priority via simpler static declaration - removes giant switch
statement. Use a new method when beeping out GPS status. Lower memory
usage. Smaller code size. Beeper priority now only handled in a single
place.
2015-04-25 10:39:14 +02:00
Dominic Clifton
85b524fa18
Cleanup beeper mode comments to reduce maintenance overhead when
...
adding/removing modes and/or refactoring.
2015-04-25 00:48:01 +02:00
Dominic Clifton
3b557d5f42
Further cleanups to the new beeper code.
2015-04-24 23:55:11 +02:00
Dominic Clifton
6360aa0dca
Cleanup new beeper code. Decreases code-size, removes unneeded state BEEPER_STOP, reduces needs for some comments, removes some magic numbers, simplifies logic and improves maintainability.
2015-04-24 23:10:35 +02:00
Michael Jakob
ca9b307850
Adjust variable data type for new CLI parameter
2015-04-23 17:30:21 +02:00
Michael Jakob
2fd79a7aa2
This fix is for avoiding yaw overshoot and bounce back for some
...
configurations
The hardcoded limit in the mixer and PID controllers 3-5 would be
removed
by default and will be configurable by CLI variables:
yaw_jump_prevention_limit, global setting (original fixed value was 100)
yaw_p_limit, per profile setting (fixed value was 300)
2015-04-23 17:30:20 +02:00
Dominic Clifton
bad0b1b04d
Fix random RX loss beep when using Serial RX receivers.
2015-04-23 16:36:56 +02:00
Dominic Clifton
7266d42466
Cleanup failsafe beeper code and update failsafe unit tests.
2015-04-23 15:55:04 +02:00
Dominic Clifton
519586a5ce
Merge branch 'refactoredBeeperCode_181_1' of
...
git://github.com/ethomas997/cleanflight into
ethomas997-refactoredBeeperCode_181_1
Conflicts:
src/main/flight/failsafe.c
src/main/io/beeper.c
src/main/mw.c
2015-04-23 01:21:27 +02:00
Dominic Clifton
b2710b215e
Fix typo in comment
2015-04-22 23:19:42 +02:00
Dominic Clifton
407f71ce6e
Merge branch 'rework-failsafe'
2015-04-22 21:25:07 +02:00
Dominic Clifton
c085b2c61d
Fix CJMCU build (broken in 08efc2e
)
2015-04-22 20:24:23 +01:00
Dominic Clifton
581b0cd897
Fix compiler warning regarding failsafeIndicator
2015-04-22 21:15:47 +02:00
Dominic Clifton
fbc3a8e1eb
Correct rx channel min/max pulse checking so that it is inclusive to
...
match the documentation. Add first unit tests for code in rx.c.
2015-04-19 13:22:32 +01:00
Nicholas Sherlock
08efc2e66d
Fix tri_unarmed_servo (was broken by pid_at_min_throttle changes)
2015-04-19 21:37:51 +12:00
Dominic Clifton
20a421c4be
Add test to ensure that failsafe is not activated when disarmed and RX
...
signal loss is occurs.
2015-04-19 06:29:54 +01:00
Dominic Clifton
ebd5475a55
DISPLAY - Allow FC to boot normally if OLED display is not connected at
...
boot. FC can detect when the display is unplugged and recovers after
display I2C timeouts.
2015-04-18 20:13:46 +01:00