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
Nicholas Sherlock
0ed47d5e6d
Use spaces instead of tabs
2014-12-18 18:42:22 +13:00
Nicholas Sherlock
5aa8e61c6e
Be defensive and don't mod by zero if denominator somehow gets set to
...
zero
2014-12-18 17:39:09 +13:00
Nicholas Sherlock
ce5d64f653
Firmware version 0.1.4
...
Add ability to reduce recorded data rate
Update struct names to conform to code style guidelines
2014-12-17 17:16:17 +13:00
Nicholas Sherlock
5cc3ad3da7
New encoding for PID I terms which saves 2 bytes per frame
2014-12-10 15:35:36 +13:00
Nicholas Sherlock
e492aa6a39
Add (untested) support for recording Tricopter tail servo position
2014-12-09 17:27:56 +13:00
Nicholas Sherlock
8c41772584
Add Blackbox 0.1.0
2014-12-08 22:06:57 +13:00