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
ac57950575
AP_Logger: move GYR & ACC log structs to AP_InertialSensor
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
Peter Barker
13dc5bee25
AP_Logger: fix memory leak when finding last log
4 years ago
Andrew Tridgell
7a7ac0cd73
AP_Logger: raise log_io stack size
...
See
https://github.com/ArduPilot/ardupilot/issues/15916#issuecomment-819489618
4 years ago
Andrew Tridgell
f34e4be991
AP_Logger: re-enable ATRP logging msg
4 years ago
Andrew Tridgell
05d5fc2ecc
AP_Logger: added SRate logging to PIDs
4 years ago
Andrew Tridgell
99fe194980
AP_Logger: removed old ATRP log msg
4 years ago
Peter Barker
6fe58a807d
AP_Logger: move precision landing logging up into AC_PrecLand
4 years ago
Andrew Tridgell
c886fd7025
AP_Logger: make log file erase async
...
this prevents clagging up the main loop on a big erase. With an erase
of large enough files we could trigger a disarmed watchdog.
4 years ago
Leonard Hall
83b7c496b5
AP_Logger: support for position controller logging
4 years ago
Randy Mackay
d4f1eacbed
AP_Logger: use of AP_Proximity checks HAL_PROXIMITY_ENABLED
4 years ago
Josh Henderson
070ad226ce
AP_Logger: OABR correct altitude logging frame and specifier
4 years ago
Peter Barker
f261045a2d
AP_Logger: multiply IO thread timeout according to SITL speedup
...
Intended to solve issues we're now getting on CI where the IO thread is
blocking-on-write and the main thread is calling it dead.
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
Peter Barker
5e63ed908e
AP_Logger: loosen constraint on failing to log replay block
...
// things will almost certainly go sour. However, if we are not
// logging while disarmed then the EKF can be started and trying
// to log things even 'though the backends might be saying "no".
4 years ago
Rishabh
e09e9b1e6a
AP_Logger: Log raw and filtered distances from proximity lib
4 years ago
James O'Shannessy
8ca69c2e89
AP_Logger: Add support for fence floor events
4 years ago
Peter Barker
a17a8faf42
AP_Logger: move GSF logging from EKF files into GSF files
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
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