Commit Graph

208 Commits

Author SHA1 Message Date
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
Willian Galvani fd4da61067 AP_RangeFinder: log signal quality 2023-10-11 08:29:58 +11: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 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
Tatsuya Yamaguchi 3fc8f27899 AP_Logger: make SCR name field instance 2023-05-23 10:27:21 +10:00
Andrew Tridgell db60b2586e AP_Logger: expand servo status logging 2023-05-09 09:40:53 +10:00
Peter Barker e715e1e14e AP_Logger: factor Write_PSC[NED] methods to save bytes 2023-03-10 14:47:33 -08: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
Randy Mackay c258d1b32c AP_Logger: PM msg gets LR field 2022-12-06 11:00:51 +11:00
Iampete1 6578c020d8 AP_Logger: log structure: SCR: update description 2022-11-03 09:50:59 +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
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
Peter Barker a9a3de8f20 AP_Logger: correct compilation when fence compiled out 2022-09-01 08:25:55 +10:00
Iampete1 47853383b1 AP_Logger: add fence message writer 2022-08-30 09:07:27 +10:00
Iampete1 63e03622d4 AP_Logger: log default param values 2022-07-20 17:59:59 +10:00
Iampete1 ecc3ae2d05 AP_Logger: Log Structure: remove comma on included AIS structure 2022-07-12 09:39:54 +10:00
RuffaloLavoisier 0e0c23a8e3 AP_Logger : correct spelling on comment 2022-07-11 08:51:27 +09:00
Iampete1 8110b9ac2d AP_Logger: add loging of servo out 15 to 32 2022-05-22 12:07:37 +10:00
Tamas Nepusz f91ea8a0dd AP_Logger: make LogStructure non-packed to fix compilation of SITL on Apple M1 2022-05-11 07:54:06 +10:00
Peter Barker e5c40d0e54 AP_Logger: move logging of Beacon into Beacon library 2022-04-13 16:22:19 +10:00
Peter Barker 795427e574 AP_Logger: move logging of Proximity into Proximity library 2022-04-13 16:22:19 +10:00
Peter Barker 23f2055330 AP_Logger: move logging of RPM into RPM library 2022-04-13 16:22:19 +10:00
Peter Barker b80cc9a610 AP_Logger: remove old, unused log metadata for MON 2022-04-06 21:54:15 +10:00
Peter Barker a546bc797c AP_Logger: source IDs and structs from HAL_ChibiOS 2022-04-06 21:54:15 +10:00
Iampete1 0a0178988d AP_Logger: add 1e-9 log multiplyer 2022-04-06 17:22:30 +10:00
Andrew Tridgell ee6a7f21ec AP_Logger: added terrain correction logging field 2022-03-28 16:01:21 +11:00
Iampete1 1435fdcf97 AP_Logger: log structure: update airspeed heath probability feild name 2022-03-02 16:14:50 +11:00
Peter Barker 67b86867f2 AP_Logger: add LogMessage documentation for PIDN and PIDE 2022-02-17 10:53:41 +11:00
Peter Barker 85b4ee289e AP_Logger: log VER - ArduPilot version information 2022-02-09 18:32:38 +11:00
Peter Barker 189c4cc4c7 AP_Logger: add missing documentation for RCI2 message 2022-02-01 22:45:19 +11:00
Iampete1 cf1202ae65 AP_Logger: add MOTB message 2022-01-18 10:18:10 +11:00
Iampete1 cee0503812 AP_Logger: add video stab log structure 2022-01-05 19:56:03 +11:00
Peter Barker 600b085cf3 AP_Logger: correct constraint of maximum message ID 2021-12-21 10:42:18 +11:00
Peter Barker 168f278959 AP_Logger: reallocate 32 IDs from vehicles to main message area
ArduPlane uses ~18 messages and the list is relatively static, so this
should be a reasonable reallocation.

We're using a lot of Log_Write(...) to create messages dynamically - but
that requires IDs and we only left space for about 18 before this patch

More space is left to ease future use of IDs in some libraries
2021-12-21 10:42:18 +11:00
Andrew Tridgell 6f34fa7919 AP_Logger: allow for logged files over 32k in size
crash_dump.bin can be large
2021-12-15 08:01:38 +11:00
Peter Barker 66d8be825f AP_Logger: move LogOriginType into AP_AHRS
only used to log the origins by the AHRS library
2021-12-07 11:31:44 +11:00
Iampete1 09dfcdb574 AP_Logger: add scripting log structures 2021-11-17 19:16:46 +11:00
Andrew Tridgell 0be1017843 AP_Logger: support logging of files contents
this allows us to see key internal data in log files
2021-10-30 16:44:00 +11:00
Andrew Tridgell 1559f7aa2d AP_Logger: added stack logging 2021-10-12 16:04:06 +11:00
Peter Barker 143f23db89 AP_Logger: move SBP logging structures into AP_GPS 2021-09-28 10:45:51 +10:00
Leonard Hall 087a2b92c3 AP_Logger: Update PSC logging to include desired 2021-09-23 20:07:52 +09:00