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
Peter Barker
6dbf1f2d66
AP_Logger: replace HAVE_FILESYSTEM_SUPPORT with backend defines
2023-05-17 09:40:39 +10:00
Andrew Tridgell
db60b2586e
AP_Logger: expand servo status logging
2023-05-09 09:40:53 +10:00
Peter Barker
395961883f
AP_Logger: avoid many method calls logging RCOU
2023-04-17 21:28:49 +10:00
Andrew Tridgell
48acb1a2f7
AP_Logger: added LOG_DARM_RATEMAX
...
this sets the logging rate max when disarmed. In combination with
LOG_DISARMED=3 it gives a very nice setup to get always on logging
with very little addition to the log sizes. It is particularly useful
in combination with LOG_REPLAY=1
2023-04-14 07:48:24 +10:00
Andrew Tridgell
63e45a3910
AP_Logger: added LOG_DISARMED=3
...
when LOG_DISARMED is set to 3 then we log while disarmed but if we
reboot without ever arming the log is discarded. This allows for using
LOG_DISARMED without filling the microSD.
2023-04-14 07:48:24 +10:00
Andrew Tridgell
3b4f5d77af
AP_Logger: use AP_Enum for log_disarmed
2023-04-14 07:48:24 +10:00
Peter Barker
6eda22e7de
AP_Logger: do not rotate logs when disarming if we are replay-logging
2023-04-14 07:47:33 +10:00
Peter Barker
3ba349fdb6
AP_Logger: add and use RC_Channel_config.h
2023-03-22 14:25:09 +11:00
Peter Barker
e715e1e14e
AP_Logger: factor Write_PSC[NED] methods to save bytes
2023-03-10 14:47:33 -08:00
Peter Barker
e25d6bb8e4
AP_Logger: rename HAL_SCHEDULER_ENABLED to AP_SCHEDULER_ENABLED
...
there's AP_HAL::Scheduler which confuses this
2023-02-28 11:26:04 +11:00
Iampete1
a4f1951780
AP_Logger: add outout throttle to MOTB message
2023-02-28 11:06:32 +11:00
Peter Barker
a471d5a9b7
AP_Logger: add @FieldValueEnum for rangefinder status
...
will add meaning to Wiki and log analysis tools
--- LogMessages.rst-master 2023-02-11 14:03:51.204650105 +1100
+++ LogMessages.rst 2023-02-11 14:04:32.297022568 +1100
@@ -4764,6 +4764,20 @@
| Dist | Reported distance from sensor |
+----------+-----------------------------------------------+
| Stat | Sensor state |
+| | Values: |
+| | |
+| | +----------------+---+--+ |
+| | | NotConnected | 0 | | |
+| | +----------------+---+--+ |
+| | | NoData | 1 | | |
+| | +----------------+---+--+ |
+| | | OutOfRangeLow | 2 | | |
+| | +----------------+---+--+ |
+| | | OutOfRangeHigh | 3 | | |
+| | +----------------+---+--+ |
+| | | Good | 4 | | |
+| | +----------------+---+--+ |
+| | |
+----------+-----------------------------------------------+
| Orient | Sensor orientation |
+----------+-----------------------------------------------+
2023-02-13 08:34:58 +11:00
Peter Barker
42b784b581
AP_Logger: add unit 'y' for litres/second
2023-02-02 11:42:04 +11:00