Nicholas Sherlock
6c2ce5038c
Merge remote-tracking branch 'upstream/master'
2015-01-04 10:35:59 +13:00
Dominic Clifton
5c83ba0b19
Use indentation and whitespace to improve readability.
2015-01-03 13:48:41 +00:00
Dominic Clifton
73e82b8446
Adding new (private) MSP commands for configurating serial port
...
scenarios and baud rates.
2015-01-03 00:54:24 +00:00
Dominic Clifton
98b258e83f
Ensure that rcRate great than 1.0 doesn't cause stability issues when
...
aircraft is inverted. See #281 .
2015-01-02 19:20:30 +00:00
Dominic Clifton
98343af7a2
Break MSP_API_VERSION into smaller more specific commands. Bump MSP API
...
version to 1.1. Set FC version to 1.4 to match next release.
2015-01-02 18:31:51 +00:00
Nicholas Sherlock
3ef83389e9
Fix bug intoduced in 0.1.6 which truncated the header in recorded logs
2014-12-30 20:12:30 +13:00
Nicholas Sherlock
8435989dc1
Logging of P interval was missing for some reason
2014-12-30 16:35:54 +13:00
Nicholas Sherlock
566bd561dc
Beep as logging begins to use as a synchronisation point for video
2014-12-29 01:41:13 +13:00
Nicholas Sherlock
fcda0db127
Merge remote-tracking branch 'upstream/master'
2014-12-28 21:07:34 +13:00
Dominic Clifton
10d507ccc6
LedStrip failsafe warning now correctly checks that the feature is
...
enabled.
2014-12-28 00:49:57 +00:00
Dominic Clifton
5401092afa
Improve SBus code. Fix SBus Failsafe detection, tested with FrSky X8R
...
and X4RSB. Check for end-byte to improve robustness.
Less logic. Better definition of frame structure eliminates the '-1's.
2014-12-28 00:49:56 +00:00
Nicholas Sherlock
321fc717ab
Merge remote-tracking branch 'upstream/master'
2014-12-27 20:00:45 +13:00
Nicholas Sherlock
421ac3d0f7
Only log VBAT if that feature is turned on
2014-12-27 19:35:28 +13:00
Nicholas Sherlock
d195880bb8
Support logging Vbat, baro, mag
...
Don't bother logging PID "D" results if the corresponding D setting is
zero
2014-12-27 19:17:44 +13:00
Michael Jakob
1ea0fec58f
AlienWii32 fix FEATURE_FAILSAFE
2014-12-27 01:08:13 +01:00
Dominic Clifton
347b156727
Avoid calling mwDisarm() when due to having auto_disarm_delay when using
...
switch to arm().
2014-12-26 20:22:13 +00:00
Dominic Clifton
c0dbde0318
Fix unable to arm using after setting mode range for arm and being able
...
to arm using sticks after removing all mode ranges for arm.
2014-12-26 20:04:17 +00:00
Dominic Clifton
bbf9e6db23
Rename disarmTime to disarmAt for clarity.
2014-12-26 20:02:10 +00:00
Dominic Clifton
84b197d5f8
Merge branch 'feature-autodisarm' of https://github.com/ledvinap/cleanflight into ledvinap-feature-autodisarm
2014-12-26 19:01:24 +00:00
Dominic Clifton
abe4fbbaae
Merge branch 'PWM_mapping' of https://github.com/MJ666/cleanflight into MJ666-PWM_mapping
...
Conflicts:
src/main/main.c
2014-12-26 18:51:40 +00:00
Dominic Clifton
996d72eee5
Merge branch 'AlienWii32_defaults' of
...
https://github.com/MJ666/cleanflight into MJ666-AlienWii32_defaults
Conflicts:
src/main/target/NAZE/target.h
2014-12-26 18:40:01 +00:00
Dominic Clifton
e7cac196a1
Prevent MSP from hogging the CPU.
2014-12-26 18:06:27 +00:00
Petr Ledvina
6888de5192
Fix ADC clock speed to be within specification
...
ADC clock speed may be slightly higher, but there is no benefit in current code
2014-12-26 17:16:05 +01:00
Dominic Clifton
916aa60254
STM32F3 - Support hardware serial inversion.
...
Tested on the Sparky board with an FrSky X4RSB without external hardware
inverter.
2014-12-26 12:16:24 +00:00
Nicholas Sherlock
ff9dad067c
Give access to raw battery ADC readings for blackbox
2014-12-26 19:00:09 +13:00
Dominic Clifton
8656344394
EUSTM32F103RB - Support MPU9150 breakout board alignment.
2014-12-26 01:42:00 +00:00
Dominic Clifton
4a763ba638
STM32F3Discovery - Prefer MPU6050 ACC over onboard ACC.
2014-12-26 01:20:14 +00:00
Dominic Clifton
451ee4ab2b
Move sensor alignment defaults into target.h files.
2014-12-26 01:19:58 +00:00
Dominic Clifton
78bb6b52e2
STM32F3 - Fix failing multi-byte reads on the AK8975.
2014-12-26 01:19:41 +00:00
Dominic Clifton
5805782584
Cleanup MPU9150 & AK8975 support.
...
Conflicts:
src/main/drivers/compass_ak8975.c
2014-12-26 01:19:14 +00:00
Nicholas Sherlock
5a51ca8d62
Update references for renamed mixer constants
2014-12-26 12:06:13 +13:00
Nicholas Sherlock
dfd8e5b2b0
Merge branch 'master' of https://github.com/cleanflight/cleanflight
2014-12-26 11:56:00 +13:00
Dominic Clifton
36c0b6f106
Cleanup MPU9150 support.
2014-12-24 23:53:17 +00:00
Dominic Clifton
e9c07675be
Add MPU9150 support to STMF3Discovery. Use 7-bit I2C addressing on
...
STM32F30x.
2014-12-24 21:11:22 +00:00
Dominic Clifton
5e573c4071
Minor mixup cleanups.
2014-12-24 14:52:58 +00:00
Dominic Clifton
ee19c1f071
Rename multiType to mixerMode. Rename MULTITYPE_* to MIXER_*.
...
'Type' is a noise word.
'Multi' is a mis-nomer - there is nothing 'multi' about a gimbal or
fixed wing.
2014-12-24 11:58:57 +00:00
Dominic Clifton
b123b4ef03
Cleanup disabling of mixers for CJMCU, this might be usefulfor the
...
AlienWii32 target too.
Deleted old out of date comments. Various other minor cleanups.
2014-12-24 11:33:14 +00:00
Dominic Clifton
db14bd80cb
Cleanup sonar driver
...
* spend less time in interrupt handler.
* avoid pointer usage to prevent the inclination adjusted reading being
replaced by the interrupt handler's calculation.
* only calculate the actual distance based on the measurement when
required.
2014-12-24 01:31:50 +00:00
Dominic Clifton
bd29298197
Fix being unable to configure mixer via GUI.
2014-12-23 19:37:39 +00:00
Dominic Clifton
e9bc6c9353
Merge pull request #224 from GruffyPuffy/xbus
...
Added initial version of JRPropo XBUS Mode B support.
2014-12-23 12:08:23 +00:00
Petr Ledvina
eea8f90595
auto-disarm implementation, slight rewrite of HFMan commit 931478054e70cd6a51916ea9430f041f61b7f7ba
...
Added automatic disarm after 5 seconds when feature MOTOR_STOP is enabled (has no effect on
FIXED_WING configurations.) Users that don't have a buzzer to warn when
board is armed and use feature MOTOR_STOP can forget to disarm the
board. For example after landing they pick up copter and then
accidentally move throttle up when trying to remove flight battery.
Configurable via CLI using 'set auto_disarm_board=x' where x is 0-60
seconds. If zero, does not auto_disarm.
2014-12-22 14:39:50 +01:00
Nicholas Sherlock
2889f5904e
Update includes to add new required headers
2014-12-22 23:42:28 +13:00
Nicholas Sherlock
1b1a285b4a
Syncing with Cleanflight upstream
2014-12-22 23:23:26 +13:00
Dominic Clifton
183c5f8e16
Add MPU9150 mag support and mag autodetection. Add AK8975 mag driver.
...
Note: not working on the sparky, MPU9150 needs passthough enabling but
when enabled the mag and gyro won't ack on the default addresses. Needs
further investigation.
2014-12-21 23:40:48 +00:00
Dominic Clifton
13305dd2e4
Disable mixer configuration on CJMCU to save flash size.
2014-12-21 23:40:48 +00:00
Stefan Grufman
19bfabbce4
Changed name of define to better name.
2014-12-21 22:13:23 +01:00
Stefan Grufman
981adf51d9
Cleanup for coding standard.
2014-12-21 17:01:14 +01:00
Dominic Clifton
d605ded161
Adding ATAIL support.
...
See https://github.com/multiwii/baseflight/pull/192
2014-12-21 14:58:46 +00:00
Dominic Clifton
705e64d91e
Fix continuous beeping when rate profile selection is used.
2014-12-20 09:58:41 +00:00
Nicholas Sherlock
9b9474250e
Header definitions now provided by a struct instead of lots of strings
...
Introduce mechanism for disabling log fields at logging-start
Remove a div/mod from handleBlackbox()
Bring code required to be executed upon state transitions into a central
setState() routine.
2014-12-20 16:51:38 +13:00