Patrick José Pereira
18d8f19801
AP_Logger: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Dr.-Ing. Amilcar do Carmo Lucas
11bf02c2c4
AP_Logger: correct spelling in metadata
4 years ago
Josh Henderson
c32dd4bb5d
AP_Logger: Privatize AP_Baro Logging
4 years ago
Josh Henderson
d142b3ba16
AP_Logger: Privatize AP_Camera Logging
4 years ago
Peter Barker
dbae56eb3a
AP_Logger: panic in SITL if we fail to log a Replay block
...
// failing to log a block means that when we go to replay the log
// things will almost certainly go sour.
4 years ago
Peter Barker
ade1c487d8
AP_Logger: remove default reason argument for Write_Mode
...
All callers now supply this
4 years ago
Josh Henderson
8e705a5eed
AP_Logger: move BAT & BCL logging functions to AP_BattMonitor
4 years ago
Josh Henderson
0ebbf0f74e
AP_Logger: move AP_AHRS functions out
4 years ago
Andrew Tridgell
dc57454ac5
AP_Logger: adjust stack sizes
4 years ago
Peter Barker
416dd98140
AP_Logger: check HAL_LOGGING_DATAFLASH only for definition
...
As the hwdefs only define the symbol, don't set it to a value...
4 years ago
Peter Barker
7d42f473fc
AP_Logger: allow each backend to be compiled out
4 years ago
Peter Barker
e8d24a1f68
AP_Logger: initialise logger instance variables in header
4 years ago
Peter Barker
80e8688888
AP_Logger: remove perf counters
4 years ago
Andy Piper
b3946a667c
AP_Logger: omnibusF4pro needs more stack for logging and logging needs to take precedence over ftp
4 years ago
chobits
b0fa5fadcd
AP_Logger: fix BCN multiplier
4 years ago
Peter Barker
ef0b860a48
AP_Logger: remove Prep and NeedPrep functions
...
These were only being called directly after Init(), so just tacked them
onto the end of those functions.
The checks in NeedPrep turned out to be mostly redundant.
4 years ago
Josh Henderson
1c49a0b44d
AP_Logger: only log Battery Status for active monitors
4 years ago
Andrew Tridgell
ce561ab249
AP_Logger: log active EKF type as ATT.AEKF
4 years ago
Peter Hall
b2e1d88da8
AP_Logger: add limit flag to PID logs
4 years ago
Josh Henderson
4a7f663cad
AP_Logger: README add multiplier descriptions
...
Add clarity to the multipliers and descriptions
4 years ago
Andy Piper
779c2a9e5f
AP_Logger: move logger IO to a separate thread
4 years ago
Andrew Tridgell
0ae9b28198
AP_Logger: added get_log_start_count()
...
used by UAVCAN to know if it should log CAN devices on log rotation
4 years ago
Andrew Tridgell
4fdf315760
AP_Logger: use null terminated strings
...
this prevents logging garbage for strings that are shorter than the
length specifier (eg. 'Z'). This assumes we will not want to log
binary data as strings
4 years ago
Andy Piper
5436784d38
AP_Logger: add ESC error rate
4 years ago
Andy Piper
048deeb43e
AP_Logger: check is_system_initialized() when determining liveness
4 years ago
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