Andrew Tridgell
202eb3af35
DataFlash: added imu_mask to Log_Write_IMUDT
2016-05-09 12:26:30 +10:00
Andrew Tridgell
8ca6ed54c5
DataFlash: added LOG_REPLAY and LOG_DISARMED parameters
2016-05-09 12:00:55 +10:00
Andrew Tridgell
35c3adb1ad
DataFlash: use caller supplied timestamps for sensor logging
...
used to support EK2_LOGGING=1
2016-05-07 18:27:22 +10:00
Andrew Tridgell
7ab1367ec4
DataFlash: removed logging of relative alt in GPS messages
...
not related to GPS and makes it impossible to do bit-identical replay
2016-05-07 18:27:18 +10:00
Andrew Tridgell
46f257fd9b
DataFlash: convert Log_Write() to use a linked list
...
this saves some memory and means we don't need to know how many we
will need in advance
2016-05-07 07:21:16 +10:00
Andrew Tridgell
9a1cbff850
DataFlash: allow access to DataFlash instance as a static singleton
2016-05-07 07:21:16 +10:00
Peter Barker
518fabe035
DataFlash: StopLogging method, virtual stop_logging on backends
2016-05-07 07:21:16 +10:00
Peter Barker
77dd170e03
DataFlash: Log_Write support
...
A generic logging method to avoid the need to set up a format and structures etc
2016-05-07 07:21:16 +10:00
Andrew Tridgell
c765979f9a
DataFlash: expose the number of lost log messages
...
will be logged in PM message
2016-04-21 16:45:02 +10:00
Jonathan Challinger
a0e291bf89
DataFlash: add reason to MODE
2016-04-14 12:24:04 +09:00
Andrew Tridgell
075dd49afe
DataFlash: added Log_Write_Rate()
...
needed for quadplane as well as copter so should be in common code
2016-03-25 12:13:58 +11:00
Lucas De Marchi
ec36e06c63
DataFlash: replace header guard with pragma once
2016-03-16 18:40:44 +11:00
Andrew Tridgell
6f59c4ae53
DataFlash: added GPSAlt to CAM and TRIG log messages
...
useful for people with RTK GPS
2016-01-29 10:01:51 +11:00
Jaime Machuca
1001e53140
DataFlash: added TRIGGER message to Logs
...
DataFlash.h: added support for Trigger MSG, supressed TAB separations
and file reorganized LogFile.cpp: included Trigger packet
2016-01-29 09:19:43 +11:00
Peter Barker
ff8008d81a
DataFlash: remove unused callbacks, unimplemented functions
...
Closes #3269
2016-01-05 17:08:07 -02:00
Peter Barker
326e68544c
DataFlash: remove unused functions
2015-12-10 10:45:51 +09:00
Peter Barker
7900359fac
DataFlash: LOG_FILE_BUFSIZE sets buffer size for DataFlash_File
2015-12-08 10:59:57 +11:00
Peter Barker
4f1a7c6427
DataFlash: remove use of AddLogFormats
2015-12-03 13:21:52 +11:00
Peter Barker
0ca07e5245
DataFlash: DataFlash-over-MAVLink support
2015-12-03 13:21:51 +11:00
Peter Barker
faabe0b83d
DataFlash: support multiple simultaneous backends
2015-12-03 13:21:51 +11:00
Peter Barker
121967d1b1
DataFlash: factor log structures into LogStructures.h (no functional change
2015-12-03 13:21:51 +11:00
Paul Riseborough
88cc1e2ffe
DataFlash: Publish the EKF2 magnetometer selection index
2015-11-09 22:07:10 +11:00
Paul Riseborough
138315af21
DataFlash: Add logging for second NKF instance
2015-11-08 15:37:28 +11:00
Paul Riseborough
987d261109
DataFlash: Update logging of EKF2 primary core index
...
Changes made in response to review comments
2015-11-08 15:37:27 +11:00
Paul Riseborough
4884b2d38a
DataFlash: Log the primary EKF2 index
2015-11-08 15:37:27 +11:00
Lucas De Marchi
c74b1a660d
DataFlash: remove DATAFLASH_NO_CLI
...
This is not used anymore since the removal of AVR CPUs.
2015-11-04 12:14:15 +11:00
Lucas De Marchi
1e839f97ed
DataFlash: remove check for AVR CPUs
...
Remove the checks for HAL_CPU_CLASS > HAL_CPU_CLASS_16 and
HAL_CPU_CLASS >= HAL_CPU_CLASS_75. Corresponding dead code will be
removed on separate commits.
2015-11-04 12:14:14 +11:00
Lucas De Marchi
1b07dabeb7
Replace prog_char and prog_char_t with char
...
prog_char and prog_char_t are now the same as char on supported
platforms. So, just change all places that use them and prefer char
instead.
AVR-specific places were not changed.
2015-10-30 14:35:30 +09:00
Lucas De Marchi
b52d1cfabb
DataFlash: remove DataFlash.Log_Write_Message_P()
2015-10-30 14:35:29 +09:00
Paul Riseborough
61d556afb1
DataFlash: Fix shorthand variable names for EKF position reset delta
2015-10-30 12:24:18 +09:00
Peter Barker
e481497574
DataFlash: delete oldest file rather than the lowest-numbered file
...
Also reference log numbers by their list index to accomodate log number
wrapping in DataFlash_File
2015-10-21 10:50:32 +11:00
Paul Riseborough
9e3d9d15fc
DataFlash: Log vertical position derivative output
2015-10-20 15:21:35 +11:00
Paul Riseborough
a82c8b241f
DataFlash: Update NKF4 data logging
...
Add roll/pitch error metric
Reduce normalised magnetometer vector with a vector length
2015-10-10 21:22:57 +09:00
Paul Riseborough
ba6387f206
DataFlash: Add logging of EKF GPS check status
2015-10-10 14:49:03 +09:00
Paul Riseborough
73686dfa89
DataFlash: fix error in NKF descriptor
2015-09-25 19:20:52 +10:00
Michael du Breuil
cf6e6b7e82
DataFlash: Remove stale UBX3 message
2015-09-23 20:42:42 -07:00
Andy Piper
5adb6d2b89
AP_GPS: Support UBX messages for dual UBLOX GPS setups.
...
Add extra DOP information to UBX precision messages.
2015-09-23 20:41:50 -07:00
Paul Riseborough
86ad1e6e66
DataFlash: Update EKF2 data logging
2015-09-24 12:58:44 +10:00
Andrew Tridgell
ce9fa45b3a
DataFlash: added logging of EKF2
2015-09-23 12:09:48 +10:00
Andrew Tridgell
eabdee2b3c
DataFlash: only log two rangefinders
...
this prevents a array index build error on PX4
2015-09-22 09:24:55 +10:00
Stewart Loving-Gibbard
4dcf6b8dc3
DataFlash: Adding Logging of RSSI data.
2015-09-16 16:41:31 +09:00
Andrew Tridgell
eea54c9e09
DataFlash: fixed flymaple build
2015-09-14 16:44:45 +10:00
Andrew Tridgell
43ac3f86c5
DataFlash: added RNFD logging and 3 baros
2015-09-13 11:29:59 +10:00
Andrew Tridgell
c5cd310818
DataFlash: added GPA and GPA2 messages for GPS accuracy
...
this reverts the GPS format to the old format, thus fixing log
analysers
2015-09-09 14:53:11 +10:00
Peter Barker
60010e794e
DataFlash: ensure 10% free space when initialising logging
2015-09-09 12:22:35 +10:00
Michael du Breuil
a88e10d3a0
DataFlash: Log vDOP with GPS messages.
...
Due to the description string getting to long HDop was renamed as EPH with VDop as EPV (Which is the same terimnology used to describe the MAVLink side). Status was shortened to stat as well.
2015-09-09 11:38:12 +10:00
Michael Oborne
52577e4105
DataFlash: add sbf event message
2015-09-03 19:43:31 +10:00
Peter Barker
8f8493225c
DataFlash: DFMessageWriter; ability to trickle messages out to DF
2015-09-03 09:54:55 +10:00
Lucas De Marchi
327a3a4298
DataFlash: standardize inclusion of libaries headers
...
Do the missing header changes due to changing the code before the pr
getting accepted.
2015-08-18 17:12:52 +10:00
Andrew Tridgell
ab7e400a89
DataFlash: added RPM logging
2015-08-12 15:03:50 +10:00