Commit Graph

3704 Commits

Author SHA1 Message Date
Petr Ledvina 7a1342bce5 Make CW0_DEG default in alignSensors 2015-10-16 10:40:58 +02:00
Juan González 479315a49b Little cleanup in Gtune documentation
It was a little bit hard to read with only two paragraphs, and looking at the raw .md file it was clear that having just two paragraphs was not the original intention.
2015-10-16 10:40:58 +02:00
Dominic Clifton 4da387e93d More cleanup of MPU driver code. Support MPU INT on CC3D and Naze32
Rev6.

MPU6050 Correction From merge
2015-10-16 10:40:54 +02:00
Dominic Clifton 2c9d7450ac Add MPU INT support to mpu6500 driver. 2015-10-16 10:34:43 +02:00
Dominic Clifton 526f4777a2 Add IRQn_Type to tests to fix compilation errors. 2015-10-16 08:24:19 +01:00
Petr Ledvina fcc9556610 Remove unused pointes if SKIP_CLI_COMMAND_HELP is defiend 2015-10-15 23:37:21 +01:00
Petr Ledvina bea9ae729e Make CW0_DEG default in alignSensors 2015-10-15 23:34:46 +01:00
Dominic Clifton f4622f4ed8 Merge pull request #1391 from opsidao/patch-2
Little cleanup in Gtune documentation
2015-10-15 23:12:02 +01:00
Dominic Clifton 9b054f6fde More cleanup of MPU driver code. Support MPU INT on CC3D and Naze32
Rev6.
2015-10-15 23:04:55 +01:00
Dominic Clifton 026afb22c7 Add MPU INT support to mpu6500 driver. 2015-10-15 21:07:54 +01:00
borisbstyle 90398ba3a3 Update Naze Target (Rev6 gyro sync support)
Needs some testing on Rev6
2015-10-15 17:07:46 +02:00
borisbstyle 5b14ab6004 Add mpuIntExtiInit for MPU6500 drivers 2015-10-15 17:06:54 +02:00
borisbstyle 94ba158d39 Update Binaries (Betaflight Final // Failsafe Fixed)
Update binaries / remove old binaries
2015-10-15 10:08:00 +02:00
borisbstyle 05dec6c21e Revert "Remove OpenPilot bootloader support."
This reverts commit 0150abf1bc.

Conflicts:
	src/main/target/CC3D/target.h
2015-10-15 09:59:29 +02:00
borisbstyle e25087bbbc failsafe_off_delay default
default

Max Invalid Pulse to 6

Max Invalid Pulse to 10

Max Invalid Pulse to 20
2015-10-15 09:53:38 +02:00
ProDrone 44b751cd5a Added delay to rxfail detection
Added a bad pulse counter to all channels.
More than MAX_INVALID_PULS_COUNTS bad pulses required before
starting rxfail substitution.
This should prevent a too aggressive reaction to small dropouts.
2015-10-15 09:53:37 +02:00
ProDrone 802b2e0ea9 Improved RX failsafe detection & handling
modified debug output (currently disabled)

To solve problem as indicated here:
https://github.com/cleanflight/cleanflight/issues/1266#issuecomment-135640133

and here:
https://github.com/cleanflight/cleanflight/pull/1340

and here:
https://github.com/cleanflight/cleanflight/pull/1342

Tested on FrSKY X4RSB with latest CPPM firmware (non-EU version).
Firmware filename: X4R-X4RSB_cppm_non-EU_150630

In both SBUS and CPPM mode.
2015-10-15 09:53:23 +02:00
digitalentity a2743f50e9 Moved buzzer to Out6
Removed PWM12 (Out6) from pwm_mapping
Updated documentation
2015-10-14 22:30:54 +10:00
Juan González 81156c5e0f Little cleanup in Gtune documentation
It was a little bit hard to read with only two paragraphs, and looking at the raw .md file it was clear that having just two paragraphs was not the original intention.
2015-10-13 11:29:14 +02:00
cmenard 23c534823e RMDO: Make firmware fit all variants 2015-10-13 00:45:28 +02:00
cmenard e2ca908508 RMDO: Fix build in BetaFlight Bee 2015-10-13 00:45:27 +02:00
cmenard 84523f4ea6 Fix RMDO target build 2015-10-13 00:45:25 +02:00
cmenard 18aaf7a892 RMDO: Bring up to date with GTUNE and SERIAL_1WIRE 2015-10-13 00:45:24 +02:00
borisbstyle 1fed2579c1 Betaflight Final 2015-10-13 00:30:20 +02:00
borisbstyle 4b3ba927e9 Merge branch 'master' into betaflight
Conflicts:
	src/main/blackbox/blackbox_io.c
	src/main/drivers/serial_usb_vcp.c
	src/main/flight/imu.c
	src/main/mw.c
	src/main/target/CC3D/target.h
2015-10-12 23:53:43 +02:00
borisbstyle 4b7fd5a2de Restore Original CF Failsafe 2015-10-12 23:38:52 +02:00
Dominic Clifton 0150abf1bc Remove OpenPilot bootloader support.
This can be added back at a later date if required if enough code-size
savings can be found, for instance, the removal of the CLI.
2015-10-12 20:44:51 +01:00
Dominic Clifton 8402f4512a Merge pull request #1276 from sherlockflight/3d-pid-at-min-throttle
Add support for pid_at_min_throttle = 0 for 3D flight
2015-10-12 20:27:53 +01:00
Dominic Clifton e5065609a1 Merge branch 'sherlockflight-blackbox-serial-budget' 2015-10-12 20:14:33 +01:00
Dominic Clifton a319394f6b Merge branch 'blackbox-serial-budget' of https://github.com/sherlockflight/cleanflight-dev into sherlockflight-blackbox-serial-budget
Conflicts:
	src/main/blackbox/blackbox.c
2015-10-12 20:14:20 +01:00
Dominic Clifton 7384e9d4d4 Merge branch 'ledvinap-improvement-local' 2015-10-12 19:58:22 +01:00
Petr Ledvina 8f3d9fae9a unify `typedef struct name_s {} name_t;` naming convention 2015-10-12 19:58:12 +01:00
Petr Ledvina 1613c2d572 use full declaration for ImuInit 2015-10-12 19:58:12 +01:00
Petr Ledvina 6999cf1742 Simplify #ifdef nesting 2015-10-12 19:58:11 +01:00
Petr Ledvina 8f6de3e553 Remove unnecessary floating-point calculation 2015-10-12 19:58:10 +01:00
Petr Ledvina fba2c3d5cc safety check in altitude code
Make sure altitude is in expected range
2015-10-12 19:58:09 +01:00
Petr Ledvina b723f94c1f improve code readability
it is possible to use traling comma, it does improve git diffs etc.
2015-10-12 19:58:08 +01:00
Petr Ledvina e8f0e0d97c use `#defines` for ADC on stm32f10x
Make stm32f103 ADC more similar to stm32f30x
2015-10-12 19:58:07 +01:00
Petr Ledvina 48cdf650d9 improve container_of macro 2015-10-12 19:58:06 +01:00
Petr Ledvina dc5a888633 cpm16 / cmp32 functions
used to compare timestamps with correct wrap. A bit more readable that typecasting in code. Only few uses replaced now
2015-10-12 19:58:05 +01:00
borisbstyle dbc2c15bf4 Update Binaries 2015-10-09 23:39:06 +02:00
borisbstyle 5e87387e16 Code Cleanup // Defaults // Version Rename
No more version numbering. It's confusing.
Betaflight Bee Version
2015-10-09 23:33:00 +02:00
borisbstyle 4cbff888df D scaling adjusted to match normal Cleanflight 2015-10-08 16:34:11 +02:00
borisbstyle 8d8d57a1f4 Set F1 target i2c to 800khz
Still 200us spare time left in luxfloat
2015-10-08 15:38:49 +02:00
Dominic Clifton 3cdc4a23b5 Merge pull request #1370 from AustinSaintAubin/patch-1
Custom Airplane with Differential Thrust
2015-10-08 14:23:09 +01:00
borisbstyle fa2ac7fe86 Merge remote-tracking branch 'prodrone/improved_rx_failsafe_detection' into betaflight 2015-10-08 14:53:07 +02:00
borisbstyle f5b00031ea Update Binaries (CF 1.11 Naze32 Rev6)
New Beta Binaries
2015-10-07 21:43:05 +02:00
borisbstyle 476597ca5d Enable GTUNE for NAZE32 target 2015-10-07 21:35:59 +02:00
borisbstyle 1fc4f8601f Fix MPU6500 Detect 2015-10-07 21:35:58 +02:00
borisbstyle 9ddc12d257 Merge pull request #17 from henn1001/betaflight_cc3d_int
Betaflight cc3d interrupt fix
2015-10-07 21:35:26 +02:00