Peter Barker
f848fa3a86
AP_Logger: turn dataflash logging off by default
3 years ago
Peter Barker
bd33267fd3
AP_Logger: do not use dataflash on SITL
3 years ago
Peter Barker
ea03d4e44b
AP_Logger: eliminate HAL_LOGGING_DATAFLASH
...
This define didn't add anything over HAL_LOGGING_DATAFLASH_ENABLED - and
predates it.
3 years ago
Iampete1
7b0f059968
AP_Logger: file content: log only file name if directory won't fit
3 years ago
Andrew Tridgell
0be1017843
AP_Logger: support logging of files contents
...
this allows us to see key internal data in log files
3 years ago
Leonard Hall
087a2b92c3
AP_Logger: Update PSC logging to include desired
3 years ago
Iampete1
f80fedff9c
AP_Logger: add function to set longer log persist
4 years ago
Iampete1
a47eeb3fed
AP_Logger: log transfer: add error message if armed
4 years ago
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.
4 years ago
nkruzan
0a236bc13d
AP_Vehicle: log internal error and report bitmask to GCS
...
AP_Vehicle.cpp: cast parameter bitmask as (unsigned) per Peter B.
rework per Peter B.
Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
remove unnecessary send_internal_error_statustext function
remove Write_InternalError function
4 years ago
Peter Barker
110d48e6fa
AP_Logger: add events for changing EKF data source set changes
4 years ago
Andrew Tridgell
d0969a4476
AP_Logger: added RATEMAX for mavlink and block backends
4 years ago
Andrew Tridgell
662f7a0191
AP_Logger: added LOG_FILE_RATEMAX parameter
...
this allows for a global "maximum rate in Hz for streaming messages"
setting
4 years ago
Peter Barker
b1bd699a73
AP_Logger: rename for AHRS restructuring
4 years ago
Peter Barker
b681dc940a
AP_Logger: add support for AP_Logger into AP_Periph
4 years ago
Peter Barker
00041737d2
AP_Logger: move from HAL_NO_LOGGING to HAL_LOGGING_ENABLED
4 years ago
Peter Barker
f30ad1d2dc
AP_Logger: log which RC channels are being overridden
4 years ago
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>)
4 years ago
Andrew Tridgell
8fcb03350b
AP_Logger: minimal fix for allowing log listing while logging
...
this prevents loss of log data when listing logs on file backend
4 years ago
Josh Henderson
c8b8ff3380
AP_Logger: Privatize AC_Avoidance Logging
4 years ago
Josh Henderson
859fc73ba3
AP_Logger: Privatize AP_InertialSensor Logging
4 years ago
Peter Barker
4362b16f50
AP_Logger: remove un-needed forward declarations
...
We moved the logging into the relevant library. Yay!
4 years ago
Andrew Tridgell
05d5fc2ecc
AP_Logger: added SRate logging to PIDs
4 years ago
Randy Mackay
d4f1eacbed
AP_Logger: use of AP_Proximity checks HAL_PROXIMITY_ENABLED
4 years ago
Peter Barker
82a28e2a58
AP_Logger: do not log soon after file transfer unless we're armed
...
mavlink log reads fail randomly, and you end up with a very large number
of log files as we keep closing logs off and then discovering we should
be logging
4 years ago
James O'Shannessy
8ca69c2e89
AP_Logger: Add support for fence floor events
4 years ago
Peter Barker
1c4e1aab05
AP_Logger: move gps logging structures into AP_GPS
4 years ago
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
4 years ago
Josh Henderson
00e3bda2f5
AP_Logger: Privatize AP_VisualOdom Logging
4 years ago
Patrick José Pereira
18d8f19801
AP_Logger: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
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
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
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
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
Peter Hall
b2e1d88da8
AP_Logger: add limit flag to PID logs
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
Andy Piper
5436784d38
AP_Logger: add ESC error rate
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
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
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
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
Randy Mackay
d9b90bf19f
AP_Logger: VISP and VISV get ignored field
4 years ago