Michael du Breuil
25ca2a0828
AP_Logger: Reserve space in PM for last internal error line
2020-11-03 11:04:13 +11:00
Andrew Tridgell
66596dcf25
AP_Logger: allow for retry of log open with LOG_DISARMED=1
...
if booting without a microSD and with LOG_DISARMED=1 then this allows
for a retry of opening the log every 5s
2020-10-27 20:35:56 +11:00
Patrick José Pereira
258083a6f2
AP_Logger: AP_Logger_File: Set custom log directory in init
...
`_log_directory` was used before `ensure_log_directory_exists`,
to fetch the log path
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-10-20 09:31:49 +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
Peter Barker
8e6cde25dc
AP_Logger: keep pointer to link rather than using its ->chan
2020-09-25 09:01:00 +10:00
Andy Piper
dc0084a2b2
AP_Logger: only write final log out a page at a time to avoid lock contention
...
remove health check timing hack
2020-09-21 20:44:34 +10:00
Mark Whitehorn
f25a1e7a0d
AP_Logger: fix description of BAT.Res
2020-09-21 08:50:49 +10:00
Andy Piper
d036b57de3
AP_Logger: stop logs safely in the block logger and asynchronously where possible
2020-09-17 10:45:57 +10:00
Andrew Tridgell
930726ca9a
AP_Logger: fixed string warnings
2020-09-15 09:40:03 +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
Andrew Tridgell
bea9769b82
AP_Logger: log unhealthy barometers
2020-09-09 06:35:50 +10:00
Andy Piper
5c554221c7
AP_Logger: address review commenst from #14299
2020-09-06 09:12:59 +10:00
Andy Piper
ccb583d092
AP_Logger: make block logger conform to mavlink expectations of numbering
...
add support for log time to block logger
refactor rotation into backed. Don't start logs when erasing
correct log start logic
separate read and write points so that requesting log information does not corrupt the current log
when starting a new log stop logging first
clear the write buffer when starting a new log
insert utc time when requesting info for the current log
stop logging and request formats again when starting a new log
cope with erase happening while we are logging
keep pushing out startup messages even when format messages are done
don't log to the gcs in the io thread
don't start new logs in the io thread
don't validate logs while erasing
flush logs when stopping logging
account for page header when calculating logs sizes
don't return data when asked for more data than in the log
optimize locking and use separate semaphore to mediate ring buffer access
stop logging when the chip is full and send a notification
calculate logs sizes correctly even when they wrap
read log data correctly even when it wraps
add stats support to block logger
reset dropped when starting a new log
fail logging when the chip is full
refactor critical bufferspace checks
increase messagewriter budget to 250us and to 300us for FMT
2020-09-05 10:20:39 +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
Randy Mackay
5d99ce9a84
AP_Logger: remove winch events
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
Andrew Tridgell
f80ca85428
AP_Logger: use strncpy_noterm
2020-07-10 13:32:24 +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
Peter Barker
0c5d31f40f
AP_Logger: ensure log directory exists before opening log
...
This will help with starting logs when inserting a fresh SD card which
doesn't have the ardupilot log directory on it
2020-06-16 12:03:21 +10:00
Peter Barker
66f8359c6b
AP_Logger: factor out an ensure_log_directory_exists method
2020-06-16 12:03:21 +10:00
Peter Barker
0e964a4654
AP_Logger: use config error loop rather than abort
...
Also add a specific check for the length of the labels field
2020-06-10 09:02:35 +10: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
Iampete1
fee5b998bf
AP_Logger: add min MB free param
2020-06-09 09:23:25 +10: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
Andrew Tridgell
97f335396b
AP_Scripting: fixed memory leak
2020-05-19 09:09:48 +10:00
Peter Hall
19ba9abc89
AP_Logger: add function and make public for scripting use
2020-05-19 09:09:48 +10:00
Peter Barker
115751833b
AP_Logger: process pending rotate on arming
...
If the user arms the vehicle during the logging-persist-timeout we
should rotate the log immediately.
2020-05-15 16:02:09 +10:00