Andy Piper
3d8bd9315c
AP_Logger: mavlink backend needs to be the last backend
...
be really careful to catch aborted erases
take care to protect shared structures in io thread
if flash corruption is detected try and recover whole files
overwrite format in erase to make sure erase happens
output useful messages at critical times
a block is 64k a sector is 4k, rename internal variables appropriately
cope with log wrapping when sending log listings over mavlink
2020-02-05 10:51:31 +11:00
Randy Mackay
ecef3e7870
AP_Logger: remove non-error init messages
2020-02-05 10:51:30 +11:00
Michael du Breuil
bb0f301cab
AP_Logger: Support new ModeReason
2020-02-05 10:51:28 +11:00
Andrew Tridgell
b60fd97f32
AP_Logger: add a semaphore to protect creation of new log formats
2020-01-18 12:26:29 +11:00
Andrew Tridgell
6cd6b37826
AP_Logger: use HAL_MEM_CLASS for logging buffer size
2019-10-06 10:58:07 +11:00
Andrew Tridgell
df4cb00970
AP_Logger: added LOG_FILE_TIMEOUT parameter
...
this allows for cards to be removed and re-inserted while continuing
logging
2019-08-27 15:40:43 +10:00
Andrew Tridgell
667b4e045a
AP_Logger: convert to use AP_Filesystem
2019-08-27 15:40:43 +10:00
Peter Barker
b2d9d7b6a0
AP_Logger: const-struct many structures, use temp for navekf object
2019-08-06 11:45:04 +10:00
Pierre Kancir
781e9ae9c1
AP_Logger: pass mavlink_message_t by const reference
2019-07-16 20:51:42 +10:00
Peter Barker
502f74f0d9
AP_Logger: switch to using stderr for log structure debug
...
The console output doesn't seem to appear anywhere now.
2019-07-05 12:05:27 +10:00
Andrew Tridgell
dd3eec2a38
AP_Logger: persist logging for 15s after disarm or arming failure
...
this will provide useful information in logs on disarms in flight or
reasons for arming failure
2019-06-21 11:40:53 +10:00
Peter Barker
5f877294c9
AP_Logger: re-add lost validate_structure loop
...
Lost with bad rebase
2019-06-12 10:05:59 +10:00
Peter Barker
cd0265644d
AP_Logger: disable float-mult-zero sanity check for the time being
2019-06-12 10:05:59 +10:00
Peter Barker
a5f5b4349c
AP_Logger: add a Write_Rally method
2019-05-22 08:53:45 +10:00
Peter Barker
54eff7eafc
AP_Logger: add WriteCritical method to AP::logger()
...
For callers who emphatically want their custom messages to be written out.
2019-05-16 17:21:24 +10:00
Andrew Tridgell
24c5bf42ae
AP_Logger: force logging on an armed watchdog reset
...
and don't clear sdcard space
2019-04-22 16:53:35 +10:00
Tom Pittenger
027f9afcf8
AP_logger: rename dataflash to logger and refactor the filename logger.bin
2019-03-28 16:40:58 +11:00
Peter Barker
d2a683a758
AP_Logger: move Log_Write_Error into library
2019-03-27 12:36:40 +11:00
Peter Barker
bd8a27476e
AP_Logger: make structure validation failure at runtime fatal
2019-03-26 10:18:05 +11:00
Peter Barker
ee690e7ab9
AP_Logger: use AP_InternalError for tracking internal errors
2019-03-21 21:34:33 +11:00
Randy Mackay
cf8a7fd423
AP_Logger: add values to backend-type param description
2019-03-09 14:22:28 +09:00
Peter Barker
539000df40
AP_Logger: remove more DataFlash references
...
Also strongly type the backend type
2019-03-02 22:28:13 +11:00
Peter Barker
dfa5a423ec
AP_Logger: add sanity check that trigger for bad float multipliers
2019-03-01 15:43:46 +11:00
Peter Barker
9108eeb8f5
AP_Logger: log rally points into dataflash on upload
2019-02-12 11:48:55 +11:00
Tom Pittenger
21db5e1a5c
AP_Logger: unify singleton naming to _singleton and get_singleton()
2019-02-10 19:09:58 -07:00
Peter Barker
78e76b84b2
AP_Logger: move handling Write_Event into AP_Logger
2019-02-04 09:30:07 +09:00
Peter Barker
7525c593cb
AP_Logger: stop taking mission as argument to Write_EntireMission
2019-01-29 19:07:05 -08:00
vierfuffzig
81f77f5311
AP_Logger: fix _BACKEND_TYPE parameter description
2019-01-22 07:29:01 +11:00
Andrew Tridgell
1d57385184
AP_Logger: removed f4light logging backend
2019-01-21 21:57:21 +11:00
Andrew Tridgell
e3c9f10e91
AP_Logger: revived block based logging
2019-01-21 21:57:21 +11:00
Peter Barker
6fc76a32af
GLOBAL: use AP::logger() and strip redundant Log_ from methods
2019-01-18 18:08:20 +11:00
Peter Barker
8e2a229e5d
AP_Logger: add AP::logger() method
2019-01-18 18:08:20 +11:00
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
2019-01-18 18:08:20 +11:00
Peter Barker
6a59dd04a7
DataFlash: rename to AP_Logger
2019-01-18 18:08:20 +11:00