Andrew Tridgell
1559f7aa2d
AP_Logger: added stack logging
3 years ago
Andrew Tridgell
f148c3fc44
AP_Logger: fixed stuck logging with LOG_DISARMED=1
...
this prevents a stuck write closing logging when LOG_DISARMED=1
3 years ago
Peter Barker
143f23db89
AP_Logger: move SBP logging structures into AP_GPS
3 years ago
Leonard Hall
087a2b92c3
AP_Logger: Update PSC logging to include desired
3 years ago
Peter Barker
fec9d4850d
AP_Logger: move from HAL_NO_GCS to HAL_GCS_ENABLED
3 years ago
Iampete1
f80fedff9c
AP_Logger: add function to set longer log persist
3 years ago
Iampete1
a47eeb3fed
AP_Logger: log transfer: add error message if armed
3 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.
3 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
3 years ago
Peter Barker
de9f8a9320
AP_Logger: specify frames on PSC fields
3 years ago
Michael du Breuil
e3109e4b29
AP_Logger: Use actual MAVLink constant
...
This isn't a functional change, it just improves the readibility of the
file
4 years ago
Andrew Tridgell
0f59e1ebb8
AP_Logger: log MCU temperature and voltage
4 years ago
Andrew Tridgell
872cae6063
AP_Logger: fixed rate limiting of WriteV messages
4 years ago
Pierre Kancir
99456ba1f8
AP_Logger: fix MAVLink logger random failure on SITL
...
rand() return an int
4 years ago
bugobliterator
6bbfe35c73
AP_Logger: do not use AP_Scheduler for AP_Periph builds
4 years ago
Peter Barker
110d48e6fa
AP_Logger: add events for changing EKF data source set changes
4 years ago
Peter Hall
2a58e7097f
AP_Logger: LogStructure: add AIS
4 years ago
bugobliterator
7832f81a84
AP_Logger: change class name from SITL::SITL to SITL::SIM
4 years ago
Andrew Tridgell
d0969a4476
AP_Logger: added RATEMAX for mavlink and block backends
4 years ago
Andrew Tridgell
4dfe750d71
AP_Logger: handle instance types in rate limiting
4 years ago
Andrew Tridgell
575c76bdd0
AP_Logger: pack LogStructure to save some flash space
...
prevent padding between records
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
Hwurzburg
df0c9a42cb
AP_Logger: Add Link Quality reporting to RC protocols
4 years ago
Siddharth Purohit
503a676e44
AP_Logger: omit code that breaks build for herepro
4 years ago
Andrew Tridgell
421faa0ada
AP_Logger: fixed log creation on forced arm
...
when we force arm we need to ask the IO thread to create the log, not
create it ourselves
4 years ago
Peter Barker
dd8af14e57
AP_Logger: remove @Values from param metadata where @Bitmask exists
4 years ago
Iampete1
188cf71ee2
AP_Logger: add Wh units
4 years ago
Andrew Tridgell
ece3cf5241
AP_Logging: update EKF while waiting for log open
...
this prevents the EKF getting unhappy when we arm
4 years ago
Peter Barker
151fe6facf
AP_Logger: rearrange PrepForArming stuff
4 years ago
Andrew Tridgell
806fdd9389
AP_Logger: moved log file open to logger thread
...
this prevents a watchdog if the filesystem takes a long time to
respond to a file open
4 years ago
Andrew Tridgell
1279772d92
AP_Logger: disallow log creation in main thread when armed
...
this fixes an issue where the sd card fails in flight and then
re-mounts. When that happens the logging backend can trigger a new log
open. That causes filesystem operations in the main thread while
flying. That can cause long delays or even a watchdog.
Thanks to Giacomo for noticing this on his flying wing
4 years ago
Peter Barker
b681dc940a
AP_Logger: add support for AP_Logger into AP_Periph
4 years ago
Andrew Tridgell
50e7c81f46
AP_Logger: removed perf counters
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
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