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
Peter Barker
13a7b60279
AP_Logger: log source sysid/compid in MAVC
...
For field length purposed had tor remove Current and autocontinue which we don't care about
anyway.
2021-09-07 11:06:08 +10:00
Peter Barker
de9f8a9320
AP_Logger: specify frames on PSC fields
2021-08-31 09:09:02 +10:00
Andrew Tridgell
0f59e1ebb8
AP_Logger: log MCU temperature and voltage
2021-08-25 07:11:31 +10:00
Peter Hall
2a58e7097f
AP_Logger: LogStructure: add AIS
2021-08-10 08:11:18 +09:00
Andrew Tridgell
575c76bdd0
AP_Logger: pack LogStructure to save some flash space
...
prevent padding between records
2021-08-03 10:23:36 +10:00
Andrew Tridgell
662f7a0191
AP_Logger: added LOG_FILE_RATEMAX parameter
...
this allows for a global "maximum rate in Hz for streaming messages"
setting
2021-08-03 10:23:36 +10:00
Hwurzburg
df0c9a42cb
AP_Logger: Add Link Quality reporting to RC protocols
2021-07-16 13:27:38 +10:00
Iampete1
188cf71ee2
AP_Logger: add Wh units
2021-06-22 09:19:40 +10:00
Peter Barker
f30ad1d2dc
AP_Logger: log which RC channels are being overridden
2021-05-15 14:49:20 +10:00
Dr.-Ing. Amilcar do Carmo Lucas
c323ee4f56
AP_Logger: improve unit names in comments.
...
added Ampere hours unit in LOG_ESC_MSG
log ESC volts, amps and consumption as floats
update ESC log file structures
consumption in mAh
Correct the current_tot unit,
motor_temp unit and error_rate unit in comments (<amilcar.lucas@iav.de>)
move ESC_Telem logging to the AP_ESC_Telem class (<amilcar.lucas@iav.de>)
correct log structure (<amilcar.lucas@iav.de>)
2021-05-12 17:01:11 +10:00
Josh Henderson
c8b8ff3380
AP_Logger: Privatize AC_Avoidance Logging
2021-05-01 19:21:17 +10:00
Josh Henderson
ac57950575
AP_Logger: move GYR & ACC log structs to AP_InertialSensor
2021-05-01 14:15:58 +10:00
Josh Henderson
859fc73ba3
AP_Logger: Privatize AP_InertialSensor Logging
2021-04-29 19:19:12 +10:00
Andrew Tridgell
f34e4be991
AP_Logger: re-enable ATRP logging msg
2021-04-15 06:57:16 +10:00
Andrew Tridgell
05d5fc2ecc
AP_Logger: added SRate logging to PIDs
2021-04-15 06:57:16 +10:00
Andrew Tridgell
99fe194980
AP_Logger: removed old ATRP log msg
2021-04-15 06:57:16 +10:00
Peter Barker
6fe58a807d
AP_Logger: move precision landing logging up into AC_PrecLand
2021-04-13 10:28:39 +10:00
Leonard Hall
83b7c496b5
AP_Logger: support for position controller logging
2021-04-03 12:07:59 +09:00
Josh Henderson
070ad226ce
AP_Logger: OABR correct altitude logging frame and specifier
2021-03-24 20:30:54 +09:00
Rishabh
e09e9b1e6a
AP_Logger: Log raw and filtered distances from proximity lib
2021-03-08 16:33:20 +09:00
Peter Barker
a17a8faf42
AP_Logger: move GSF logging from EKF files into GSF files
2021-02-23 12:36:33 +11:00
Peter Barker
1c4e1aab05
AP_Logger: move gps logging structures into AP_GPS
2021-02-17 11:30:01 +11:00
Randy Mackay
3ae8af6b21
AP_Logger: add PSCZ logging
...
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
includes const log_PSCZ declaration
also changed PSZ ThO to percentage
2021-02-09 19:33:52 +09:00
Josh Henderson
00e3bda2f5
AP_Logger: Privatize AP_VisualOdom Logging
2021-02-09 19:33:14 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
11bf02c2c4
AP_Logger: correct spelling in metadata
2021-02-03 17:47:28 +11:00
Josh Henderson
c32dd4bb5d
AP_Logger: Privatize AP_Baro Logging
2021-02-02 17:55:27 +11:00
Josh Henderson
d142b3ba16
AP_Logger: Privatize AP_Camera Logging
2021-02-02 10:10:17 +11:00
Josh Henderson
8e705a5eed
AP_Logger: move BAT & BCL logging functions to AP_BattMonitor
2021-01-12 17:43:55 +11:00
Josh Henderson
0ebbf0f74e
AP_Logger: move AP_AHRS functions out
2021-01-12 10:13:22 +11:00
chobits
b0fa5fadcd
AP_Logger: fix BCN multiplier
2021-01-06 21:48:32 +11:00
Andrew Tridgell
ce561ab249
AP_Logger: log active EKF type as ATT.AEKF
2021-01-05 21:13:12 +11:00
Peter Hall
b2e1d88da8
AP_Logger: add limit flag to PID logs
2021-01-05 10:27:28 +11:00
Andy Piper
5436784d38
AP_Logger: add ESC error rate
2020-12-30 19:14:16 +11:00
Peter Barker
f84cb66bc6
AP_Logger: move log ids from EKF2 and EKF3 to the 'below 128' section'
2020-12-08 11:30:10 +11:00
Peter Barker
7ba03fe32d
AP_Logger: move EKF2 message ids into AP_NavEKF2
2020-12-08 11:30:10 +11:00
Peter Barker
346572c390
AP_Logger: move EKF2 logging structures into EKF2 LogStructure.h
2020-12-08 11:30:10 +11:00
Peter Barker
ea36a84b53
AP_Logger: move EK3 log message IDs into AP_NavEKF3 log structure
2020-12-03 19:22:26 +11:00
Peter Barker
f2b2998f29
AP_Logger: move EKF3 logging structures into EKF3 LogStructure.h
2020-12-03 19:22:26 +11:00
Peter Barker
64f4b078a6
AP_Logger: remove unused log_EKF* structures
2020-12-03 19:22:26 +11:00
Peter Barker
42d9727f49
AP_Logger: correct documentation on ARSP message
2020-11-24 15:33:37 +11:00
Gone4Dirt
a2d2e85ba1
AP_Logger: Reinstate Watt unit
2020-11-24 12:54:52 +11:00
Peter Barker
786fd8a2f8
AP_Logger: add and use instance number to ARSP message
2020-11-24 12:19:45 +11:00
Peter Barker
a12c2a6b87
AP_Logger: use instance numbers for logging GPS data
2020-11-20 09:45:57 +11:00
Peter Barker
58c23e618e
AP_Logger: remove unused IMUDT code
...
Unused since we've moved to new Replay code
2020-11-19 08:31:49 +11:00
Peter Barker
48385b82dc
AP_Logger: use instance number for Mag logging
2020-11-11 19:31:53 +11:00
Peter Barker
12f0e9dd43
AP_Logger: use instance number for Baro logging
2020-11-11 19:31:53 +11:00
Peter Barker
2437cf8a24
AP_Logger: use instance number for IMU logging
2020-11-11 19:31:53 +11:00
Andrew Tridgell
b7d60b1d97
AP_Logger: added C field to EKF msgs
2020-11-10 16:15:45 +11:00
Andrew Tridgell
bd7ed003c2
AP_Logger: split out EKF messages and prepare for new replay
...
adds core to more EKF message structures
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
2020-11-10 16:15:45 +11:00
Michael du Breuil
25ca2a0828
AP_Logger: Reserve space in PM for last internal error line
2020-11-03 11:04:13 +11:00
Michael du Breuil
b04844ca13
AP_Logger: Log all vibration instances
2020-10-06 14:20:49 +11:00
Randy Mackay
d9b90bf19f
AP_Logger: VISP and VISV get ignored field
2020-10-06 09:18:04 +09:00
Mark Whitehorn
f25a1e7a0d
AP_Logger: fix description of BAT.Res
2020-09-21 08:50:49 +10:00
Andy Piper
3bbac765f0
AP_Logger: correct units on raw accel data
2020-09-13 12:15:33 +10:00
Randy Mackay
36dee8791a
AP_Logger: revert adding PSCP log structure
2020-09-12 08:10:33 +09:00
Iampete1
9753a20404
AP_Logger: add PSCP log structure
2020-09-11 10:12:08 +10:00
Iampete1
02c225ee93
AP_Logger: add structure for PSC message
2020-09-11 10:12:08 +10:00
Harshit Kumar Sankhla
9588a68e1b
AP_Logger: added logging of baro, gps, airspeed to XKFS
...
new XKFS message for "XKF Sensor"
2020-08-27 20:20:51 +10:00
Harshit Kumar Sankhla
775a40e4cc
AP_Logger: Add RErr and ErSc fields to NKF3 log
...
RErr (Core Relative Errors) and ErSc (Core Error Scores)
2020-08-27 20:20:51 +10:00
Peter Barker
716e7622be
AP_Logger: log RCIN channels 14 and 15 in RCI2
2020-08-25 10:27:00 +10:00
Rishabh
ad3a7e4d49
AP_Logger: Update logs based on new BendyRuler type
2020-08-24 08:53:20 +09:00
Randy Mackay
f7ec08ff18
AP_Logger: add Write_Winch
2020-08-07 21:55:07 +09:00
Rishabh
251ebf9286
AP_Logger: Log Simple Avoidance
2020-08-05 15:37:04 +09:00
Peter Barker
c539698528
AP_Logger: add documentation for GRAW, GRXH and GRXS messages
2020-07-22 12:29:19 +10:00
Mark Whitehorn
2b96b7915b
AP_Logger: align PID(RPYAS) description to message names
2020-07-22 09:19:43 +09:00
Peter Barker
721d94a23b
AP_Logger: log accumulated power status flags; all flags ever set
2020-07-21 09:12:14 +10:00
Paul Riseborough
0cf70fe961
AP_Logger: Log D gain limit cycle gain scaler
...
Used by Plane roll and pitch loops in APM_Control
2020-07-13 13:47:50 +10:00
Randy Mackay
30bcf4d13b
AP_Logger: VISP and VISV reset counter becomes uint8
2020-06-25 15:31:43 +10:00
Rishabh
4fa2c3f5ba
AP_Logger: Log if BendyRuler has avoided changing directions
2020-06-24 11:42:20 +09:00
Randy Mackay
912e089c18
AP_Logger: fix BCL voltage scaling
...
voltages are in millivolts
2020-06-24 10:19:15 +09:00
Randy Mackay
82423384bf
AP_Logger: BCL msg logs up to 12 battery cell voltages
2020-06-24 10:19:15 +09:00
chobitsfan
255c685a8a
AP_Logger: fix missing unit description in VISP
2020-06-09 13:31:21 +09:00
Randy Mackay
6714aa4e83
AP_Logger: shorten VISP and VISV log field names
2020-06-09 13:31:21 +09:00
chobits
5e5a0d2111
AP_Logger: log ext nav pos err and ang err
2020-06-09 13:31:21 +09:00
Randy Mackay
08f6b2128e
AP_Logger: add VISV field descriptions
2020-06-02 08:33:42 +09:00
Randy Mackay
714975662d
AP_Logger: VISP message gets velocity error field
2020-06-02 08:33:42 +09:00
chobits
9b480ca755
AP_Logger: support VISION_SPEED_ESTIMATE
2020-06-01 17:51:24 +09:00
MisterMower
41245acf14
AP_Logger: Added units to CurrTot message
...
Units are not associated with the CurrTot message. AP_BattMonitor.h indicates the total current consumed is reported in mAh. This change sets the units for CurrTot to Ampere seconds and applies a multiplier of 3.6 to convert the reported mAh value to Ampere seconds.
2020-05-26 16:19:14 +10:00
Peter Barker
1d9c2b1726
AP_Logger: add documentation for SBPH and SBRH
2020-05-26 14:13:06 +10:00
Peter Barker
49918d070e
AP_Logger: add documentation for ESC LoggerMessage
2020-05-24 13:07:35 +10:00
Peter Barker
cc60faa58e
AP_Logger: use single message number for all ESCs by using instance #
2020-05-24 13:07:35 +10:00
Peter Barker
7befe84f0c
AP_Logger: create and use INTERNAL_ERROR macro so we get line numbers
2020-04-30 13:21:36 +10:00
Peter Barker
ad9493caca
AP_Logger: use logger Write method for logging Solo gimbal
...
Also document the messages
2020-04-28 09:56:09 +10:00
Peter Barker
830176f2f4
AP_Logger: remove unused SBFE
2020-04-27 16:16:50 +10:00
Peter Barker
f882bd0c3e
AP_Logger: remove unused UBY1/UBY2 messages
...
These appear to have been replaced with instance fields on the UBX1 and
UBX2 messages.
Also mark the Instance field on UBX1, UBX2 as an instance field.
2020-04-26 11:35:04 +10:00
Peter Barker
7e3c9c209e
AP_Logger: document GPSB and GPAB
2020-04-26 09:02:39 +10:00
Peter Barker
a83c25cfa7
AP_Logger: add documentation for EKF messages
...
NKF0, NKF1, NKF2, NKF3, NKF4, NKF5, NKQ
XKF0, XKF1, XKF2, XKF3, XKF4, XKF5, XKFD, XKQ, XKV1, XKV2
2020-04-21 09:48:43 +10:00
Mark Whitehorn
874c293911
AP_Logger: expand description of GPS.spd
2020-04-18 15:33:43 +10:00
Peter Barker
870159c14f
AP_Logger: add times-full to MAV log structure
2020-04-17 22:21:14 +10:00
Peter Barker
d8582d864a
AP_Logger: convert Solo gimbal messages to TimeUS from TimeMS
...
Also remove unused gimbal3 message entirely
2020-04-15 16:11:04 +10:00
Randy Mackay
4f639481c1
AP_Logger: VISP msg adds reset_counter
2020-04-14 10:28:03 +10:00