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
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
391f211e99
Removing OSX temporary files.
2014-10-02 00:39:03 +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
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
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
1af58defa2
Fix compiler warning when building for non NAZE targets that use the
...
HMC5883 compass driver.
2014-09-26 14:11:33 +01:00
Dominic Clifton
acbede5492
CC3D - Allow building of a binary that is compatible with the OpenPilot
...
CC3D bootloader to allow easy switching between OpenPilot and
Cleanflight.
Submitted by Alessio Morale -
http://forums.openpilot.org/topic/43569-baseflightcleanflight-ported-to-cc3d/?p=372149
2014-09-26 14:10:12 +01:00
Dominic Clifton
004b158af3
Bump config version for new SONAR flight mode.
2014-09-26 13:37:35 +01:00
Dominic Clifton
3eb8bcb3e5
Merge branch 'feature-sonar-flight-mode-no-baro' of dclifton-github.com:nebbian/cleanflight into nebbian-feature-sonar-flight-mode-no-baro
...
Fixed tabs, kept old references to VARIO. Made SONAR mode a new option so that aux settings could be preserved.
Conflicts:
src/main/config/runtime_config.h
src/main/flight/altitudehold.h
src/main/flight/imu.c
src/main/io/rc_controls.h
src/main/mw.c
src/main/sensors/initialisation.c
2014-09-26 13:36:19 +01:00
Dominic Clifton
13b1d28f6e
Disable HMC5883L MAG Data Ready GPIO signal line initialisation except
...
on naze.
Note: The signal does not appear to be used by the code anyway.
2014-09-26 02:12:29 +01:00
Dominic Clifton
6013d9dc6a
Decouple ms5611 baro driver from bmp085 driver.
2014-09-26 02:09:40 +01:00
Dominic Clifton
a12cf4ae59
STM32F3 - Add a GPIO alternate function configuration to timer mappings.
2014-09-26 02:01:21 +01:00
Dominic Clifton
35280abfed
Allow disabling of I2C for targets that do not use it.
2014-09-26 01:32:57 +01:00
Dominic Clifton
15cbeff86e
STM32F3 - Remove some compiler warnings.
2014-09-26 01:07:06 +01:00
Dominic Clifton
8d737de864
Remove some tabs.
2014-09-26 01:04:09 +01:00
Dominic Clifton
6f05a5181b
Insert missing space into version message.
2014-09-26 01:03:20 +01:00
Dominic Clifton
a5d57e7b87
STM32F3 - Cleanup serial port usage.
2014-09-26 01:02:27 +01:00
airmamaf
e4eaad563f
Update barometer.h
...
Allow temperature from baro to be used by telemetry
2014-09-25 08:59:37 +02:00
airmamaf
f3d40ece27
Update gps.c
...
Compute GPS quality signal
2014-09-25 08:56:16 +02:00
airmamaf
432c6b5bc7
Update gps.h
...
Add hdop information in order to display GPS quality signal in telemetry
2014-09-25 08:53:52 +02:00
Dominic Clifton
6b6df68fa7
DISPLAY - Fix ticker updating problem, line buffer was too short.
2014-09-22 19:27:50 +01:00
Dominic Clifton
d5f5fdb403
Fix unable to disable GPS home mode via switch. Fixes #87 .
2014-09-22 19:01:07 +01:00
Dominic Clifton
c898ca4634
OLED Display - Add two pages: RX info and Welcome.
...
The RX info page shows channel letters and bar graphs for the first 8
channels.
The Welcome page shows the target and cleanflight git revision.
2014-09-21 05:09:01 +01:00
Dominic Clifton
94c1023493
FrSky Telemetry - Constrain the fuel level value to prevent erroneous
...
display on some FrSky gear.
Note this made no difference when using latest OpenTX and an unmodified
XJT module.
Closes #84 .
2014-09-21 02:54:59 +01:00
Dominic Clifton
f070ba6ead
CC3D - Adding missing BEEPER define, fixes #86 .
2014-09-21 01:54:07 +01:00
Dominic Clifton
da485119f7
Update the cli dump
command and profile commands so that it shows the
...
profile being dumped such that it can be copied pasted as commands.
2014-09-20 12:40:19 +01:00
Dominic Clifton
0cde910b75
Fix unused led strip method compiler warnings for CJMCU target.
2014-09-20 12:20:24 +01:00
Dominic Clifton
a4c21b5e57
SUMH - Initial cut of support for Graupner SUMH Serial RX protocol.
2014-09-20 09:39:42 +01:00
Dominic Clifton
3ed6afba17
Removing timing instrumentation from CC3D & LEDSTRIP build.
2014-09-20 01:04:40 +01:00
Dominic Clifton
2f2e1a8d42
Update LEDSTRIP unit test.
...
The recently added throttle mode broke compilation of it.
2014-09-20 01:01:20 +01:00
Dominic Clifton
e847a6347d
Improve speed of LED STRIP code.
...
Shaved about 150us each strip update.
This commit leaves in some timing trace code for the CC3D target, the
results of which can be seen in the debug variables for the sections
being timed.
A later commit will remove/disable the timing code.
2014-09-20 01:00:13 +01:00
Dominic Clifton
9c87b99f5f
CC3D - Add Buzzer support to PA15.
...
See Docs for details.
2014-09-19 21:35:30 +01:00