Nicholas Sherlock
080da53fdc
Remove redundant and unused 'blackbox version' header from logs
2015-06-27 01:24:58 +12:00
Nicholas Sherlock
583ff39bbf
Add blackbox support for RSSI logging
2015-06-26 16:20:53 +12:00
Dominic Clifton
41d737e29a
Merge pull request #869 from SteveAmor/remove_tricopter_yaw_gyro_smoothing
...
Remove tricopter yaw gyro smoothing from imuUpdate
2015-05-29 15:39:02 +01:00
Nicholas Sherlock
4e7b647c1e
Fix missing blackbox logging of synchronisation beep
2015-05-18 18:57:50 +12:00
Steveis
6448b4b3d7
Replaced gyroData with gyroADC as they both contain the same value
2015-05-17 07:14:42 +01:00
Nicholas Sherlock
b739a57ea2
Fix array bounds overrun in Blackbox logging
2015-05-14 13:11:58 +12:00
Nicholas Sherlock
e6a40d732d
Add logging for raw sonar data
2015-05-12 18:37:56 +12:00
Nicholas Sherlock
32884ad399
Fix missing blackbox D term logging on LuxFloat
2015-04-30 19:51:47 +12:00
E Thomas
f02d7403af
Port of refactored beeper code 181_1
...
This the "Port of refactored beeper code #669" modification applied to
version 1.8.1 (4/4/2015) of the code.
2015-04-04 17:54:44 -04:00
Nicholas Sherlock
7940ac2030
Blackbox: Don't log amperageADC when current meter is virtual
...
Closes #685
2015-03-30 20:34:36 +13:00
Nicholas Sherlock
3e8ce5833f
Simplify blackbox header writing using new printf()
2015-03-17 22:52:05 +13:00
Petr Ledvina
35ef95cec7
blackbox - support arrays greater that 10 elements / use printf to print numbers
2015-03-17 09:34:52 +01:00
Dominic Clifton
bce6c6722c
Merge branch 'port-changes' of https://github.com/ledvinap/cleanflight into ledvinap-port-changes
...
Conflicts:
src/main/blackbox/blackbox.c
src/main/io/serial.c
2015-03-09 22:23:04 +01:00
Nicholas Sherlock
451d3d7ba2
Move zigzag encoding function to new common/encoding.c file, add tests
2015-02-26 13:27:09 +13:00
Nicholas Sherlock
ff28846829
Save around 300 bytes of flash by improving Blackbox field name storage
...
Also add a bit more Blackbox code documentation
2015-02-24 09:42:38 +13:00
Petr Ledvina
e56f46a756
Move utility macros to common/utils.h
2015-02-23 09:17:05 +01:00
Dominic Clifton
2f09b7d1d9
Merge branch 'blackbox-flash' of https://github.com/sherlockflight/cleanflight-dev into sherlockflight-blackbox-flash
2015-02-22 17:24:39 +00:00
Dominic Clifton
9057d70410
Allow excluding of servo code at compilation time.
...
This is in preparation for backbox on CJMCU/64k.
Flight tested on CJMCU.
2015-02-22 16:21:03 +00:00
Nicholas Sherlock
c6d71f148d
Don't try to compile blackbox if BLACKBOX define isn't set
...
Just in case you link against blackbox.c but aren't using the BLACKBOX
define in target.h.
2015-02-22 12:01:14 +13:00
Nicholas Sherlock
5f29eed017
Minor fix for flushing behaviour on dataflash
2015-02-16 22:20:53 +13:00
Nicholas Sherlock
acd4745a4e
Merge remote-tracking branch 'upstream/master' into blackbox-flash
2015-02-15 01:54:50 +13:00
Nicholas Sherlock
6423ac7db1
Rename FLASHFS to USE_FLASHFS
2015-02-14 09:45:56 +13:00
Nicholas Sherlock
3b8e05fb46
Stop Blackbox logging when flash fills up
2015-02-13 21:56:36 +13:00
Nicholas Sherlock
80ea5e4419
Add flash ready state to MSP response, add flash async block write
2015-02-13 20:28:19 +13:00
Dominic Clifton
53406a7ac7
Relocate some structures and code to the right places.
...
This cleans up the include file order somewhat and fixes a couple of
dependencies.
The goal of this is to rename flight.c/flight.h to pid.c/pid.h.
2015-01-31 23:47:51 +01:00
Nicholas Sherlock
5a57dda665
Adding blackbox device setting and basic flashfs support for it
2015-01-28 22:14:49 +13:00
Nicholas Sherlock
e134574c81
Fix bug in logging of currentMeter header
2015-01-28 20:43:25 +13:00
Nicholas Sherlock
0624eb5067
Refactor blackbox IO routines out into separate file
2015-01-28 20:42:51 +13:00
Nicholas Sherlock
9708c00a2e
Blackbox: make logging of autotune events more detailed
2015-01-27 01:43:13 +13:00
Dominic Clifton
3fc7f32324
Merge branch 'imu-cleanup' of https://github.com/avoid3d/cleanflight into avoid3d-imu-cleanup
2015-01-25 01:00:14 +01:00
Pierre Hugo
be03ed95fa
Renamed min, max and abs macros to MIN MAX and ABS.
2015-01-23 22:40:00 -08:00
Petr Ledvina
0fb598d9b0
blackbox - add amperageLatest logging
...
Raw ADC value is logged, currentMeter configuration is stored in header(as H currentMeter:<offset>,<scale>)
vbatLatest refactored to vbatLatestADC
2015-01-21 20:35:58 +01:00
Nicholas Sherlock
6f7256242d
Blackbox: Fix GPS timestamp jitter on low logging rates
2015-01-21 18:42:42 +13: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
b893e457f1
Don't break the blackbox stream when PIDs change in-flight
2015-01-14 15:42:38 +13:00
Nicholas Sherlock
f7a9a628b6
Add logging for GPS ground course (heading)
2015-01-14 11:46:53 +13:00
Nicholas Sherlock
a43ae266f5
Transmit blackbox header slower on faster looptimes to avoid errors
2015-01-11 14:36:05 +13: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
Nicholas Sherlock
a0f3ee6315
Fix signed comparison warning
2015-01-05 10:28:15 +13: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
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
Nicholas Sherlock
5a51ca8d62
Update references for renamed mixer constants
2014-12-26 12:06:13 +13:00
Nicholas Sherlock
2889f5904e
Update includes to add new required headers
2014-12-22 23:42:28 +13: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
Nicholas Sherlock
50c81aa00e
Make tag8_4S16 encoding more space efficent.
...
This replaces the older encoding variant, so the data version number has
been bumped.
2014-12-19 02:06:44 +13:00
Nicholas Sherlock
54ead59791
Rename axisP to less-cryptic axisPID_P (same for I and D)
2014-12-19 00:24:51 +13:00