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
Peter Barker
0320f18ef9
AP_Logger: include litres in unit list
2023-02-02 11:42:04 +11:00
Iampete1
b238ed8dd9
AP_Logger: Split MCU montering into new log message, nan if VCC and servo voltge not avalalbe
2023-01-31 15:43:50 +11:00
Peter Barker
c25720a47e
AP_Logger: use FieldBitmaskEnum and FieldValueEnum
2023-01-25 19:50:34 +11:00
Peter Barker
96f359b4e3
AP_Logger: avoid logging duplicate FMT/UNIT/FMTU/MULT messages
...
Failing due to being out of time meant we wouldn't incremement the counter, even though we'd emitted the item.
it is important we try to send something, so move this check to be after we increment whichever counter we are using.
2023-01-18 10:09:43 +11:00
Peter Barker
6524bf3729
AP_Logger: create and use AP_Logger_config.h
2023-01-03 11:24:14 +11:00
Paul Riseborough
fd7c4bc841
AP_Logger: Add option to disable disarmed logging on USB connection
...
AP_Logger: Update LOG_DISARMED parameter description
2022-12-15 10:38:15 +11:00
Peter Barker
ee908e8df2
AP_Logger: include PIDInfo header in place of PID header
...
AC_PID.h includes a remarkable amount of stuff
2022-12-14 22:21:27 +11:00
Randy Mackay
c258d1b32c
AP_Logger: PM msg gets LR field
2022-12-06 11:00:51 +11: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
Andy Piper
38bc9bfab1
AP_Logger: on example sketches there is always time to write out FMT messages
2022-11-09 19:01:14 +11:00
Andy Piper
f9451e36f5
AP_Logger: control PrepForArming in UNKNOWN builds
2022-11-09 19:01:14 +11:00
Andy Piper
209dd15346
AP_Logger: need to be able to finish format messages even when there is no fence
2022-11-08 17:56:00 +11:00
Iampete1
1547c65ff3
AP_Scripting: bindings: logging: add flag to copy format strings
2022-11-08 10:49:43 +11:00
Iampete1
1df00d879a
AP_Logger: add option allocate scripting format strings in msg_fmt_for_name
2022-11-08 10:49:43 +11:00
Iampete1
6578c020d8
AP_Logger: log structure: SCR: update description
2022-11-03 09:50:59 +11:00
Peter Barker
8e06d5cd36
AP_Logger: include required AP_Vehicle_Type header
2022-11-02 18:35:48 +11:00
Iampete1
c623ae8b82
AP_Logger: MessageWriter: SysInfo: write RCOut string
2022-10-18 11:53:59 +11:00
jackhong12
4a4f361a17
all: use CLASS_NO_COPY() macro
2022-10-04 11:23:04 +11:00
Andy Piper
cfdf6306ef
AP_Logger: ensure that we don't read the same block more than once, dramatically increasing performance.
2022-10-03 07:52:43 +11:00
Andrew Tridgell
eae2bed630
AP_Logger: fixed missing doc field
2022-09-26 14:17:53 +10:00
Paul Riseborough
59d4808786
AP_Logger: Fix ARSP data type string
2022-09-26 14:17:53 +10:00
Paul Riseborough
592793b510
AP_Logger: Add consistency test ratio to ASPD logging
2022-09-26 14:17:53 +10:00
Yuri
32c38434a2
AP_Logger: increase short board names to 23 chars
2022-09-21 17:56:42 +10:00
Peter Barker
f254a3ef2b
AP_Logger: fold AP_Filesystem_Available.h into AP_Filesystem_config.h
2022-09-15 10:53:02 +10:00
Michael du Breuil
18e374e687
AP_Logger: Fix an error in the doc string for the MAVC message
2022-09-15 09:45:33 +10:00
Michael du Breuil
0c73da5e79
AP_Logger: Strictly handle NACK/ACK
...
This is a change in bevaiour. The previous behaviour was to check for a
NACK, and if it wasn't a NACK it was assumed to be an ACK. This is a bad
assumption to let people get away with, because in the future if we ever
add other options to the enum we are more likely to have to cope with
bad implementation in the wild
2022-09-07 10:25:30 +10:00
Peter Barker
a9a3de8f20
AP_Logger: correct compilation when fence compiled out
2022-09-01 08:25:55 +10:00
Iampete1
fc2bc2822e
AP_Logger: MessageWriter: convert enums to enum class's
2022-08-30 09:07:27 +10:00