Peter Barker
b5b42f9446
AP_Logger: tidy running of LoggerMessageWriter sub-writers
...
... use the fact these all have a common base class to reduce effectively duplicate code.
Also un-virtualise and const a function which wasn't overridden and can be const
2024-06-19 08:51:28 +10:00
Pierre Kancir
01f94e9aa5
AP_Logger: don't virtual out_of_time_for_writing_messages for DF
...
This save use some flash against the solution with override
2023-09-27 08:15:42 +10:00
Pierre Kancir
06836b947f
AP_Logger: make some functions final
2023-09-27 08:15:42 +10:00
Pierre Kancir
247a72b823
AP_Logger: fix warning for implicit overrided function
2023-09-27 08:15:42 +10:00
Andrew Tridgell
ae84adf632
AP_Logger: prevent long loops due to parameter logging
...
ensure that the logging process() doesn't take more than 1ms
2022-12-04 18:08:40 +11:00
Iampete1
c623ae8b82
AP_Logger: MessageWriter: SysInfo: write RCOut string
2022-10-18 11:53:59 +11:00
Iampete1
fc2bc2822e
AP_Logger: MessageWriter: convert enums to enum class's
2022-08-30 09:07:27 +10:00
Iampete1
47853383b1
AP_Logger: add fence message writer
2022-08-30 09:07:27 +10:00
Peter Barker
bf5817e108
AP_Logger: rename HAL_MISSION_ENABLED to AP_MISSION_ENABLED
2022-08-18 22:49:10 +10:00
Iampete1
63e03622d4
AP_Logger: log default param values
2022-07-20 17:59:59 +10:00
Peter Barker
659f801650
AP_Logger: remove unused includes
2022-07-20 17:32:24 +10:00
Peter Barker
85b4ee289e
AP_Logger: log VER - ArduPilot version information
2022-02-09 18:32:38 +11:00
Peter Barker
b681dc940a
AP_Logger: add support for AP_Logger into AP_Periph
2021-06-08 09:57:55 +10:00
Patrick José Pereira
18d8f19801
AP_Logger: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2021-02-03 18:45:14 +11:00
Andrew Tridgell
09aff03edc
AP_Logger: support new replay system
...
added allow_start_ekf and block write method for replay
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2020-11-10 16:15:45 +11:00
Peter Barker
908dfa58f3
AP_Logger: remove unused FORMATS stage in DFLogStart messagewriter
2020-04-17 21:42:15 +10:00
Peter Barker
678d6f43c5
AP_Logger: use existing LoggerMessageWriter to log uploaded missions
...
Instead of creating a MessageWriter explicitly to log uploaded missions
we fiddle the state of the one stored in the startup message writer.
This has the advantage of being much more likely to log the entire
mission (as the buffer constraint is removed), and with the addition of
a time-remaining check much less likely to cause a timing glitch.
2020-04-15 16:24:40 +10:00
Peter Barker
4d17a7cf89
AP_Logger: tidy MessageWriter stages using enum class
2019-10-05 16:37:43 +10:00
Peter Barker
fd0a8b72b4
AP_Logger: correct uninitialised value when logging all rally points
2019-10-04 10:39:01 +10:00
Peter Barker
78af091869
AP_Logger: log parameter space used as part of log open
2019-08-28 11:51:09 +10:00
Peter Barker
7bca6d5ec0
AP_Logger: log RC protocol each time a log is opened
2019-06-18 11:35:38 +10:00
Michael du Breuil
2e2ef27670
AP_Logger: Remove unneeded includes
2019-04-05 20:12:53 +11:00
Tom Pittenger
027f9afcf8
AP_logger: rename dataflash to logger and refactor the filename logger.bin
2019-03-28 16:40:58 +11:00
Michael du Breuil
3f1fbbf6c6
AP_Logger: simplify the message writers
...
Specifically:
- Remove some unreachable nullptr checks
- Remove a noop stage
- Remove unneeded initilizers
2019-03-24 11:45:08 +11:00
Peter Barker
9108eeb8f5
AP_Logger: log rally points into dataflash on upload
2019-02-12 11:48:55 +11:00
Peter Barker
9a04ae5cf7
AP_Logger: use a MessageWriter to emit rally points
2019-02-12 11:48:55 +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