Commit graph

2712 commits

Author SHA1 Message Date
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
64f1f77173 Latest binaries with with for #87. 2014-09-22 19:02:56 +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
3f533f0eca Lastest CC3D binary with BEEPER enabled. 2014-09-21 01:55:39 +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
f3580711db Latest binaries with LED strip performance improvements and Graupner SUMH support. 2014-09-20 12:17:33 +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
7225bd0f24 Updating example LED STRIP documentation config for Spider quad.
Left-front rear-facing LEDs were not configured correctly.
2014-09-20 01:32:36 +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
36dac872b8 Latest CC3D binary. 2014-09-19 21:55:38 +01:00
Dominic Clifton
9c87b99f5f CC3D - Add Buzzer support to PA15.
See Docs for details.
2014-09-19 21:35:30 +01:00
Dominic Clifton
41ff2e8d0e CC3D - Add support for battery voltage monitoring on S5_IN.
See docs for further details.
2014-09-19 21:16:40 +01:00
Dominic Clifton
f591732aa9 Updated LedStrip docs for new thrust/throttle mode. 2014-09-19 20:16:07 +01:00
Dominic Clifton
d904741f43 Update LED throttle mode to use rcData instead of rcThrottle, avoid
having to reference min/maxThrottle.

Range was not being calculated correctly.

Throttle color now blends with the current color of the LED so that at
mid throttle any orientation color is still correct when mixing Throttle
and Flight Mode on an LED.

Fix tabs.  Reduce nesting level.
2014-09-19 01:46:41 +01:00
Dominic Clifton
9723df947e Merge pull request #83 from goebish/cleanflight-throttle-led
Throttle level indicator led mode
2014-09-19 00:18:55 +01:00
Dominic Clifton
0e2b0ccafd Adding note regarding color index usage. 2014-09-19 00:15:58 +01:00
Goebish
16871c7a91 Merge remote-tracking branch 'cleanflight/master' into cleanflight-throttle-led 2014-09-19 01:10:21 +02:00
Goebish
b83e7b42b7 Add throttle level indicator led mode 2014-09-19 01:09:59 +02:00
Dominic Clifton
72eac8048a Allow colors to be configurable via the cli.
color x h,s,v

x = 0-15
h = 0-359
s = 0-255
v = 0-255
2014-09-19 00:08:40 +01:00
Dominic Clifton
4b06592ce7 Update ledstrip unit test. 2014-09-18 23:04:58 +01:00
Dominic Clifton
545980c14a Move colors from ram to master config. Initialise colors only when
config is reset to defaults.
2014-09-18 22:53:12 +01:00
Dominic Clifton
79ea1ac088 Store colors in flash, copy to ram and use from ram. Store mode colors
as color ids instead of duplicating the color data.

Later, this will allow configurable colors as the colors can be copied
to the master config and used from that without any ram penalty.
2014-09-18 21:59:37 +01:00
Dominic Clifton
0b4f5804bc Update led strip code to use HSV instead of RGB. 2014-09-18 20:53:28 +01:00
Dominic Clifton
74156fe18f Updating RX documentation. 2014-09-18 19:23:32 +01:00
Dominic Clifton
d9d5227af9 Ignore CLI commands that are prefixed with # (comments) 2014-09-18 00:47:43 +01:00
dongie
e51cb447c4 Include version output in cli 'dump'.
Conflicts:
	src/cli.c
2014-09-18 00:47:43 +01:00
Dominic Clifton
2461169114 Update battery percentage calculation so it calculates a percentage
between minimum voltage and maximum voltage instead of 0 and maximum
voltage.
2014-09-17 01:08:52 +01:00
Dominic Clifton
d45432ba5d Merge branch 'goebish-master_cleanflight' 2014-09-16 13:31:39 +01:00
goebish
9f18ad474b fix typo preventing rebuild 2014-09-16 13:46:27 +02:00
Dominic Clifton
f7daf5ade2 Add a a configuration section to the OLED display documentation. 2014-09-16 01:48:02 +01:00
Dominic Clifton
46936fc969 Latest binary with configurable LED support and OLED display support. 2014-09-16 01:41:53 +01:00
Dominic Clifton
0d37bcdf5b Add DISPLAY feature to enable/disable the OLED display. Add ARMED page
which is displayed upon arming.  Resume page cycling when disarmed.
2014-09-16 01:33:15 +01:00