Commit Graph

512 Commits

Author SHA1 Message Date
Iampete1 264bd91f4e AP_Logger: add log structures from AP_HAL 2024-04-09 10:00:50 +10:00
Iampete1 c5ecddad92 AP_Logger: add bytes per second unit `B` 2024-04-09 10:00:50 +10:00
Philipp Borgers 1e2600c2e3 AP_Logger_MAVLink: Remove code that changes behavior when in SITL
The removed code changed behavior of the send_log_block function when
simulating with SITL. While I can understand the intention I do not
think that it is the right way to do it and has the potential to confuse
people debugging stuff with SITL and comparing to the real world.
2024-04-05 10:54:26 +11:00
Iampete1 b08034373f AP_Logger: `Write_VER` keep g++ 7.5 happy by removeing non-trivial designated initializers 2024-04-02 11:13:55 +11:00
Andrew Tridgell b430d63a22 AP_Logger: avoid logging dma.txt for normal builds
logging of dma.txt currently does no good as the first time you read
it you get no content. It then enables statistics in the shared_dma
code which makes all DMA operations slower, so all we are doing is
making DMA slower
2024-03-19 10:28:55 +11:00
Andrew Tridgell 89ec6ac645 AP_Logger: added VER.FV for filter version 2024-03-16 06:54:27 +11:00
Peter Barker f4df89b85b AP_Logger: move logging of PSC messages into AC_AttitudeControl 2024-02-29 19:27:47 +11:00
Peter Barker 6f4ab028ca AP_Logger: cope with rename of AP_Logger_JEDEC driver 2024-02-28 22:32:23 +11:00
Peter Barker 8555a5ddbe AP_Logger: rename AP_Logger_DataFlash to AP_Logger_Flash_JEDEC 2024-02-28 22:32:23 +11:00
Simon Hancock 2a67cbe681 AP_Logger: Add metadata for VER and FILE messages 2024-02-25 17:53:08 +11:00
Andy Piper 4d419bb918 AP_Logger: remove unused variables 2024-02-22 14:40:55 +11:00
Peter Barker 9c97dc99b1 AP_Logger: correct compilation when GCS not available
... can't expect to do mavlink logging without GCS available...
2024-02-20 09:16:59 +11:00
Peter Barker e39fad1411 AP_Logger: move logger object up to AP_Vehicle 2024-02-13 10:54:29 +11:00
Peter Barker 89b2e62b0f AP_Logger: add power status bits to logger metadata 2024-02-06 11:13:14 +11:00
olliw42 381aba9c62 AP_Logger: RXLQ in RSSI is in percent 2024-02-01 09:18:08 +11:00
Simon Hancock 1bfd9f3763 AP_Logger: Correct for loop condition 2024-01-24 19:09:55 +11:00
Peter Barker 86039b8488 AP_Logger: make it clear that bodyX and bodyY are rotational rates 2024-01-22 19:14:42 +11:00
Simon Hancock 8229bb98ce AP_Logger: Updates to log message units and help text
Link LGR.WOW to AP_LandingGear::LG_WOW_State enum
Set quaternion component units to no-unit from UNKNOWN
Separate descriptions for PID and PIQ messages
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
2024-01-21 14:26:54 +11:00
Peter Barker 58408cd0b5 AP_Logger: use @ROMFS/defaults.parm rather than apj_tool for defaul parms 2024-01-17 18:28:48 +11:00
Peter Barker 486cbb7890 AP_Logger: allow compilation with HAL_LOGGING_ENABLED false 2024-01-17 18:25:55 +11:00
Iampete1 a44cba03ef AP_Logger: Write_PID: add reset and I terms set flags 2024-01-03 12:28:59 +09:00
Peter Barker 66da78abaf AP_Logger: correct compilation with AP_RSSI disabled 2023-12-13 18:30:32 +11:00
Pierre Kancir d98a400d9e AP_Logger: Prepare the maximum number of log files in the config parameter 2023-11-22 18:35:21 +11:00
Andy Piper 5d53485be0 AP_Logger: add PIDInfo.DFF logging 2023-11-21 13:26:23 +11:00
xianglunkai 4f00dfa69a correct the filling order of the struct, otherwise it may cause compilation errors 2023-11-10 17:12:17 +11:00
Iampete1 1bfe83bb63 AP_Logger: log rally point flags field 2023-11-01 19:06:39 +11:00
Andrew Tridgell 69371e84fd AP_Logger: added build directory to VER message
this allows log review tools to use right parameter and mode map when vendor has changed the
vehicle type strings
2023-10-13 15:13:10 +11:00
Peter Barker 7f90de0973 AP_Logger: allow for compilation without AP_RTC_ENABLED 2023-10-11 19:17:27 +11:00
Willian Galvani fd4da61067 AP_RangeFinder: log signal quality 2023-10-11 08:29:58 +11: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
Iampete1 93ccec3203 AP_Logger: Write_PID: add PD sum limit flag 2023-09-26 10:41:05 +10:00
Iampete1 5def9e7038 AP_Logger: PID move limit to flag bit 2023-09-26 10:41:05 +10:00
Peter Barker 86aad6f6bf AP_Logger: log valid-input and in-rc-failsafe
Can now sensibly log these now the RC_Channels library has the methods
2023-09-12 19:14:18 +10:00
Peter Barker eb344ee35c AP_Logger: remove AP_Logger.h include in AP_Logger_Backend
Don't need the storage size in the header
2023-09-09 17:35:15 +10:00
Peter Barker 198268e03c AP_Logger: use HAL_LOGGING_ENABLED defines 2023-09-06 20:26:25 +10:00
Peter Barker 34524d3475 AP_Logger: correct logging when rally disabled 2023-09-05 22:23:51 +10:00
muramura 337ba27370 AP_Logger: Align indentation with others 2023-09-04 13:55:43 +10:00
Anthony Luo 43eacbee33 AP_Logger: fix typo in AP_Logger.h 2023-09-01 17:49:00 +10:00
Peter Barker 771f8855b7 AP_Logger: correct use of nullptr in SITL structure sanity checks
A developer might be able to craft a fault such that s could be nullptr here.  They would need to work at it, but we can do better.
2023-08-14 22:25:50 +10:00
Peter Barker 10ef10da45 AP_Logger: trim LogStructure base off included code 2023-08-01 10:07:28 +10:00
Asif Khan b5d1363c28 AP_Logger: add MNT log msg for mount's actual and target angles logging 2023-07-26 17:33:18 +10:00
Peter Barker 8ff9fc0f70 AP_Logger: add Write_NamedValueFloat
for getting diagnostics into the code during ddebug fast
2023-07-18 11:34:31 +10:00
Andy Piper d9869290ee AP_Logger: remove unused counter 2023-07-13 11:02:40 +10:00
Henry Wurzburg f71826a992 AP_Logger:correct blk rate param metadata 2023-06-30 15:13:52 +01:00
Peter Barker e5dda42056 AP_Logger: remove requirement to know storage type of fence item in headers 2023-06-24 14:21:01 +10:00
Peter Barker 023316b269 AP_Logger: use AP_AHRS_ENABLED define 2023-06-24 14:21:01 +10:00
Peter Barker edb0a9b7fe AP_Logger: simplify setting of HAL_LOGGER_FENCE_ENABLED
This is automatically unset in chibios_hwdef.py
2023-06-24 14:21:01 +10:00
Tatsuya Yamaguchi 3fc8f27899 AP_Logger: make SCR name field instance 2023-05-23 10:27:21 +10:00