Chris Penny
bfdb4d7564
removed commented out code
2015-01-20 20:27:37 +00:00
Chris Penny
aede4037cf
LED on/off add via LEDLOW mode
2015-01-20 19:51:07 +00:00
Chris Penny
0da650b5bd
changed rc mode to BOXLEDLOW
2015-01-20 10:45:10 +00:00
chris-penny
48bd7c1e19
I hope this is along the right lines... I have it running on NAZE32 ACRO
...
it is using the BOXLLIGHTS at the moment but I'll update it to use
BOXLEDLOW asap
2015-01-19 22:53:02 +00:00
Ben Hitchcock
82161882bb
Bugfix for situations where Rx mapping is being used, and failsafe is kicking in unecessarily. An example is when a GPS is being used on UART2 (Rx pin 4), with the mapping of AET4R123. This code prevents failsafe being triggered by GPS data on Rx pin 4.
2015-01-17 22:29:06 +08:00
Dominic Clifton
d72983e150
Bump version numbers for release.
2015-01-16 12:38:44 +00:00
tracernz
a81fad9cc2
Add virtual current sensor documentation
...
..and remove a couple of defines I didn't use.
2015-01-16 23:07:06 +13:00
tracernz
a37c6ee9ee
Merge https://github.com/cleanflight/cleanflight into virtualcurrent
2015-01-16 22:03:53 +13:00
tracernz
999f0ce002
Add virtual current sensor support
...
Virtual current sensor calculates an estimate of current based on
throttle position, current_meter_scale, and current_meter_offset.
Documentation to follow later.
2015-01-16 22:00:45 +13:00
Dominic Clifton
b64c71264c
Renaming getRcStickPosition to getRcStickDeflection and moving to
...
rc_controls.c.
2015-01-16 01:00:40 +00:00
Dominic Clifton
b7462c0b3d
Merge pull request #351 from nebbian/baseflight-pid-horizon-mode-tuneup_a
...
Baseflight pid (pid_controller=2) horizon mode tuneup
2015-01-16 00:50:12 +00:00
Dominic Clifton
eceace7f08
Merge pull request #354 from sherlockflight/master
...
Add blackbox logging for AutoTune events
2015-01-16 00:47:43 +00:00
Dominic Clifton
d8fa662446
Shorten SBus frame timeout. Fixes #361 .
...
See 5401092afa
.
2015-01-16 00:42:15 +00:00
Dominic Clifton
8caff86006
Update MSP_SET_LED_STRIP_CONFIG. Each LED must be sent one at a time
...
since sending 32 leds needs a packet larger than the MSP receiver buffer
allows.
2015-01-16 00:09:02 +00:00
Dominic Clifton
5de6fee787
Minor const correctness.
2015-01-15 23:48:27 +00:00
Nicholas Sherlock
a61f7eeddf
Clean shutdown of blackbox (allows us to write "log completed" event)
2015-01-16 10:52:35 +13:00
Nicholas Sherlock
0b424b00c4
Merge remote-tracking branch 'upstream/master'
2015-01-16 10:50:10 +13:00
Stefan Grufman
0a3a8667d1
Merge branch 'master' into xbus_jr01
2015-01-15 20:15:36 +01:00
Dominic Clifton
ad65722f0e
Code size reduction when led animation is disabled.
2015-01-15 16:53:14 +00:00
Dominic Clifton
947bb0d918
Minor code size reduction. Adding some const correctness.
2015-01-15 10:48:54 +00:00
Dominic Clifton
30b928c0bc
Cleanup unit test compiler flags. Fix compiler warnings in unit test
...
and related code.
2015-01-14 15:09:29 +00:00
Dominic Clifton
bf88696847
Update unit tests to correctly use C/C++ where appropriate. Cleanup
...
makefile by using additional whitespace.
2015-01-14 14:24:34 +00:00
Nicholas Sherlock
cf37c5247f
Merge remote-tracking branch 'upstream/master'
2015-01-14 15:44:35 +13:00
Nicholas Sherlock
b893e457f1
Don't break the blackbox stream when PIDs change in-flight
2015-01-14 15:42:38 +13:00
Nicholas Sherlock
2b1e8c12fc
Add Blackbox logging for autotune events
2015-01-14 15:14:25 +13:00
Nicholas Sherlock
f7a9a628b6
Add logging for GPS ground course (heading)
2015-01-14 11:46:53 +13:00
Dominic Clifton
b6ac9204d3
STM32F3 - Fix LED Strip hardware initialisation.
2015-01-12 22:02:10 +00:00
Nicholas Sherlock
a43ae266f5
Transmit blackbox header slower on faster looptimes to avoid errors
2015-01-11 14:36:05 +13:00
Dominic Clifton
5d8e39f2d9
SPARKY - Add LED STRIP support.
...
Update PWM mapping to avoid PWM/LedStrip clash on Motor output pin 5.
2015-01-11 00:24:57 +00:00
Dominic Clifton
5a07194d62
LedStrip - Fix missing GPIO Output type configuration.
2015-01-11 00:24:52 +00:00
Dominic Clifton
3e6646ec45
STM32F3 - Fix LED Strip timer initialisation.
2015-01-10 22:54:04 +00:00
Joel Fuster
f5afb74126
motorCount needs to be global
2015-01-10 14:33:52 -05:00
Joel Fuster
09862aed78
Merge with upstream
2015-01-10 14:31:34 -05:00
Joel Fuster
a81d686a84
Merge branch 'master' of https://github.com/cleanflight/cleanflight
2015-01-10 14:27:19 -05:00
Petr Ledvina
6b5f1fc38b
fix index overflow in channel mapping
2015-01-09 10:52:46 +01:00
Dominic Clifton
ce49dcee31
Bump MSP api version. Ensure the the number of LEDs in the
...
MSP_SET_LED_STRIP_CONFIG packet is validated.
2015-01-08 23:19:57 +00:00
Dominic Clifton
9729c59cb0
Fix MSP_LED_STRIP_CONFIG length.
2015-01-08 22:47:28 +00:00
Dominic Clifton
e3f0cc143b
Bump version to 1.5.0
2015-01-08 19:01:21 +00:00
Dominic Clifton
fd86014308
Update RX_MSP to support 18 channels. Fix MSP_SET_RAW_RC / channel
...
mapping problem.
2015-01-08 09:03:57 +00:00
Dominic Clifton
1ef76f2f3f
Exclude GPS features from blackbox for targets without GPS.
2015-01-08 04:42:40 +00:00
Dominic Clifton
801548bedb
Fix line endings.
2015-01-08 01:23:48 +00:00
Dominic Clifton
53faaff63c
Add CJMCU revision detection. Use LEDs to indicate Spektrum binding
...
activity.
2015-01-08 01:19:25 +00:00
Dominic Clifton
a981ac5103
Replace some tabs with spaces.
2015-01-07 23:04:29 +00:00
Dominic Clifton
83a5c319b5
CJMCU - Add support for LED2. Swap usage of LED0 and LED1.
...
Currently the LED2 (blue) is just enabled after the main board
initialisation is complete and then it stays on.
2015-01-07 23:02:05 +00:00
Ben Hitchcock
22afc54228
Removing misplaced function definition
2015-01-07 22:04:21 +08:00
Ben Hitchcock
69d94c81e1
Second draft of the tuneup.
...
This uses ints for the sensitivity instead of mapping floats back and forth.
Also the stick position is read directly, without the RC_Rate affecting this value.
2015-01-07 21:54:13 +08:00
Joel Fuster
62147736b2
Remove unnecessary cast
2015-01-06 20:26:09 -05:00
Dominic Clifton
31817e612e
Adding blackbox support to other targets.
2015-01-06 22:41:56 +00:00
Dominic Clifton
fcbda7ec63
Merge pull request #227 from sherlockflight/master
...
Add blackbox flight data recorder feature
2015-01-06 21:56:49 +00:00
Ben Hitchcock
6b7c9facd3
First draft of better horizon mode
2015-01-06 21:53:23 +08:00