Commit Graph

1475 Commits

Author SHA1 Message Date
dongie 2c1ffd8f56 Fix initialization period for MPU6500, would cause strange effects if not followed. 2014-10-14 00:24:36 +01:00
dongie 3200e93a4d Slight cleanup of MPU6050 driver to use same constants as MPU6500. Both drivers should probably get merged, the operation is nearly identical with only bus access being different. 2014-10-14 00:24:15 +01:00
dongie 1e769cc1f2 Initial stab at supporting MPU6500.
Make I2C driver fail gracefully when I2C hardware hasn't been initialized (on boards w/o I2C sensors)
2014-10-14 00:23:50 +01:00
Dominic Clifton da51b5c479 Add MPU6500 SPI driver. Move sensor initialisation defines into target
specific headers.
2014-10-14 00:22:54 +01:00
Dominic Clifton 79c2e5648f Add MSP capability bit so clients can detect Cleanflight and use an
appropriate API.  Renumber some cleanflight specific MSP commands,
Cleanflight will use the range 32-63 for new MSP commands.
2014-10-13 22:36:00 +01:00
Dominic Clifton 1257367705 Latest binaries with mode range support. 2014-10-13 20:58:20 +01:00
Dominic Clifton 279f85b151 Bump EEPROM version for mode range support. 2014-10-13 19:57:28 +01:00
Dominic Clifton 59c55b4a19 Use permenant id for MSP_SET_MODE_RANGE. 2014-10-13 01:08:41 +01:00
Dominic Clifton c5280cd9d7 Ensure mode flags are correctly generated after the switch to a bitmask
for activated modes.
2014-10-13 00:53:41 +01:00
Dominic Clifton 50ba314116 Fix range check problem for first mode range index. 2014-10-12 23:43:12 +01:00
Dominic Clifton 77e83eef0c Use permenant mode ids in MSP_MODE_RANGES and MSP_SET_MODE_RANGE. 2014-10-12 21:47:39 +01:00
Dominic Clifton 2555858687 Add two new MSP commands to get ALL mode ranges and to set individual
mode ranges.
2014-10-12 21:22:05 +01:00
Dominic Clifton ca9f183b83 Cleanup some aux range defines and comments. 2014-10-12 21:05:34 +01:00
Dominic Clifton cfcd4792bb Determine with an aux range is used to arm. 2014-10-12 21:02:45 +01:00
Dominic Clifton 738c807e1d Fix setting of upper limit for mode ranges in cli. 2014-10-12 19:49:31 +01:00
Dominic Clifton 0589b29b84 Cleanup table formatting of modes. 2014-10-12 19:41:17 +01:00
Dominic Clifton 8ea267694a Updating baseflight migration note regarding aux configuration. 2014-10-12 19:33:42 +01:00
Dominic Clifton b0eab0cc9e Update the cli AUX command to take range parameters - see docs/Modes.md 2014-10-12 19:32:55 +01:00
Dominic Clifton b43fa247de Handle channel boundaries better.
More efficient, less code, easier to understand.
2014-10-12 18:31:59 +01:00
Dominic Clifton 2369a63df0 First cut of code that passed the unit tests for mod activations,
however it uses / operations and doesn't handle the case where the
channel value is on the boundary between two ranges.
2014-10-12 18:15:44 +01:00
Dominic Clifton c0fd0c1f33 Replace profile.activate and rcOptions with
profile.modeActivationCondition and rcModeActivationMask.

Implementation of using and setting modeActivationConditions is missing.
2014-10-12 10:40:38 +01:00
Airmamaf 9b84516344 FrSky telemetry update 2014-10-08 16:28:26 +02:00
Dominic Clifton 6f4ef82f7d Merge pull request #94 from airmamaf/patch-3
Update barometer.h
2014-10-07 21:18:23 +01:00
Dominic Clifton 107a3425cf Updating unit test to verify expected values with the new maximum
vbatscale value. See #104.
2014-10-07 21:12:04 +01:00
Dominic Clifton c2b1420c07 Merge pull request #104 from airmamaf/patch-5
Update serial_cli.c
2014-10-07 21:02:21 +01:00
Dominic Clifton e281a99b40 OLIMEXINO - Allow compilation without BARO_PIN. 2014-10-07 20:36:55 +01:00
Dominic Clifton 12b00c237f Updating example serial configuration scenarios. 2014-10-07 20:36:12 +01:00
Dominic Clifton 3bc9dc7121 Move linker scripts to src/main/target. 2014-10-07 07:06:05 +01:00
Dominic Clifton 6beec3c6e9 MASSIVEF3 - Add new target. 2014-10-07 06:57:28 +01:00
Dominic Clifton a199685d83 EUSTM32F103RC - Add Barometer pin defines to target.h to fix build. 2014-10-07 06:57:28 +01:00
Dominic Clifton be7239ecac NAZE32PRO - Fix compilation problems. 2014-10-06 23:35:08 +01:00
Dominic Clifton 043577b8af MS5611 - Remove profanity. Replace comment with code. Improve code
size.  Improve code readability.
2014-10-03 14:38:20 +01:00
airmamaf 720486a4de Update serial_cli.c
When using a voltage sensor instead of direct connection for voltage monitoring, vbat_scale max limit is too low. It should be raised to a value greater than 200 (250 or more)
2014-10-03 09:15:48 +02:00
Dominic Clifton 98f5bdd986 Updating .gitignore to ensure no OSX temporary files gets accidentally committed again. 2014-10-02 00:39:14 +01:00
Dominic Clifton 391f211e99 Removing OSX temporary files. 2014-10-02 00:39:03 +01:00
Dominic Clifton 8a69077a7f Remove outdated note regarding MSP telemetry from documentation.
Thanks stronnag.
2014-09-29 22:01:19 +01:00
Dominic Clifton daa823ddba AltHold cleanup.
* Renamed several methods and variables so they make more sense.
* Move more altitude hold related code out of imu.c/h into
altitudehold.c/h.
* Fixed a unsigned integer being using instead of an signed integer in
the throttle calculation code.
2014-09-29 01:34:15 +01:00
Dominic Clifton 7d4abb8a4a Add parenthesis to expressions to imrove code clarity and remove IDE
warning.
2014-09-29 01:11:00 +01:00
Dominic Clifton 5718dd61a5 Adding *.sh to gitattributes. 2014-09-28 02:30:40 +01:00
Dominic Clifton 1a6e25c8ff Latest binaries 2014-09-27 00:39:28 +01:00
Dominic Clifton 10abdd3afa Update warning mode leds to show when arming is disabled.
Idea and initial implementation by viktor80.  Closes #96.
2014-09-27 00:34:02 +01:00
Dominic Clifton 03a5a20351 Fix unable to disable GPS HOME mode. Fixes #91. 2014-09-27 00:20:04 +01:00
Dominic Clifton 6883a8f2a7 Fix led cli command when led strip feature is not enabled. Fixes #95. 2014-09-27 00:14:04 +01:00
Gareth Wilkins 775d312a32 Minor documentation amends
Post proofing amends
2014-09-26 21:59:10 +01:00
Dominic Clifton 55295f399d Merge pull request #92 from airmamaf/patch-1
Add Horizontal Dilution Of Precision to telemetry (2/2)
2014-09-26 21:48:24 +01:00
Dominic Clifton 854e4ffa01 Merge pull request #93 from airmamaf/patch-2
Add Horizontal Dilution Of Precision to telemetry (1/2)
2014-09-26 21:47:38 +01:00
Dominic Clifton 110e1076be Merge branch 'pulsar256-master' 2014-09-26 21:39:19 +01:00
pulsar256 beb52737da fixed formatting 2014-09-26 20:34:29 +02:00
pulsar256 de2cfd3060 added manual building guide 2014-09-26 20:33:47 +02:00
pulsar256 d70ec33ea1 fixed formatting 2014-09-26 20:14:47 +02:00