Peter Barker
f84cb66bc6
AP_Logger: move log ids from EKF2 and EKF3 to the 'below 128' section'
4 years ago
Peter Barker
7ba03fe32d
AP_Logger: move EKF2 message ids into AP_NavEKF2
4 years ago
Peter Barker
346572c390
AP_Logger: move EKF2 logging structures into EKF2 LogStructure.h
4 years ago
Peter Barker
ea36a84b53
AP_Logger: move EK3 log message IDs into AP_NavEKF3 log structure
4 years ago
Peter Barker
f2b2998f29
AP_Logger: move EKF3 logging structures into EKF3 LogStructure.h
4 years ago
Peter Barker
64f4b078a6
AP_Logger: remove unused log_EKF* structures
4 years ago
Andy Piper
a6436851b4
AP_Logger: account for expected delays and boot time delays in block logger.
4 years ago
Peter Barker
42d9727f49
AP_Logger: correct documentation on ARSP message
4 years ago
Gone4Dirt
a2d2e85ba1
AP_Logger: Reinstate Watt unit
4 years ago
Peter Barker
786fd8a2f8
AP_Logger: add and use instance number to ARSP message
4 years ago
Peter Barker
d50e4d03f4
AP_Logger: remove time_us parameter to several sensor logging methods
...
These were used by the old Replay code to try to provide a frame of
sensor data by correlating the timestamps. That Replay code has been
removed.
4 years ago
Peter Barker
a12c2a6b87
AP_Logger: use instance numbers for logging GPS data
4 years ago
Peter Barker
58c23e618e
AP_Logger: remove unused IMUDT code
...
Unused since we've moved to new Replay code
4 years ago
Andrew Tridgell
6bf7f9e864
AP_Logger: use load_file()
...
save a bit of flash
4 years ago
Andrew Tridgell
019544ceb1
AP_Logger: allow for replay with both EKF enabled
...
even when one is disabled in the original log
4 years ago
Andrew Tridgell
04f60001ff
AP_Logger: allow WriteV() to work within Replay
...
save formats for lookup by WriteV
4 years ago
Peter Barker
48385b82dc
AP_Logger: use instance number for Mag logging
4 years ago
Peter Barker
12f0e9dd43
AP_Logger: use instance number for Baro logging
4 years ago
Peter Barker
2437cf8a24
AP_Logger: use instance number for IMU logging
4 years ago
Andrew Tridgell
3152da98e1
AP_Logger: skip structure validation in replay
4 years ago
Andrew Tridgell
a08a1a4247
AP_Logger: allow for larger LOG_FILE_BUFSIZE
...
larger sizes on F7 and H7 allow for much more rapid loggging
4 years ago
Andrew Tridgell
71e4d72fe3
AP_Logger: removed 64k limitation on log buffer
...
the reason for the limit is gone with AP_FileSystem
4 years ago
Andrew Tridgell
2945de4796
AP_Logger: use WITH_SEMAPHORE in _WritePrioritisedBlock
...
this prevents a 1ms delay when waiting for the semaphore
4 years ago
Andrew Tridgell
851cb30e0d
AP_Logger: speed up startup with replay if LOG_DISARMED=0
4 years ago
Andrew Tridgell
b7d60b1d97
AP_Logger: added C field to EKF msgs
4 years ago
Andrew Tridgell
09aff03edc
AP_Logger: support new replay system
...
added allow_start_ekf and block write method for replay
Co-authored-by: Peter Barker <pbarker@barker.dropbear.id.au>
4 years ago
Andrew Tridgell
daa0abeb13
AP_Logger: make structure check errors clearer
...
add message name to more error messages
4 years ago
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>
4 years ago
Michael du Breuil
25ca2a0828
AP_Logger: Reserve space in PM for last internal error line
4 years ago
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
4 years ago
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>
4 years ago
Michael du Breuil
b04844ca13
AP_Logger: Log all vibration instances
4 years ago
Randy Mackay
d9b90bf19f
AP_Logger: VISP and VISV get ignored field
4 years ago
Peter Barker
8e6cde25dc
AP_Logger: keep pointer to link rather than using its ->chan
4 years ago
Andy Piper
dc0084a2b2
AP_Logger: only write final log out a page at a time to avoid lock contention
...
remove health check timing hack
4 years ago
Mark Whitehorn
f25a1e7a0d
AP_Logger: fix description of BAT.Res
4 years ago
Andy Piper
d036b57de3
AP_Logger: stop logs safely in the block logger and asynchronously where possible
4 years ago
Andrew Tridgell
930726ca9a
AP_Logger: fixed string warnings
4 years ago
Andy Piper
3bbac765f0
AP_Logger: correct units on raw accel data
4 years ago
Randy Mackay
36dee8791a
AP_Logger: revert adding PSCP log structure
4 years ago
Iampete1
9753a20404
AP_Logger: add PSCP log structure
4 years ago
Iampete1
02c225ee93
AP_Logger: add structure for PSC message
4 years ago
Andrew Tridgell
bea9769b82
AP_Logger: log unhealthy barometers
4 years ago
Andy Piper
5c554221c7
AP_Logger: address review commenst from #14299
4 years ago
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
4 years ago
Harshit Kumar Sankhla
9588a68e1b
AP_Logger: added logging of baro, gps, airspeed to XKFS
...
new XKFS message for "XKF Sensor"
5 years ago
Harshit Kumar Sankhla
775a40e4cc
AP_Logger: Add RErr and ErSc fields to NKF3 log
...
RErr (Core Relative Errors) and ErSc (Core Error Scores)
5 years ago
Peter Barker
716e7622be
AP_Logger: log RCIN channels 14 and 15 in RCI2
5 years ago
Rishabh
ad3a7e4d49
AP_Logger: Update logs based on new BendyRuler type
5 years ago
Randy Mackay
f7ec08ff18
AP_Logger: add Write_Winch
5 years ago