Iampete1
1435fdcf97
AP_Logger: log structure: update airspeed heath probability feild name
3 years ago
Andrew Tridgell
e715972264
AP_Logger: reduce the stack log frequency
...
10Hz is plenty
3 years ago
Peter Barker
67b86867f2
AP_Logger: add LogMessage documentation for PIDN and PIDE
3 years ago
Andy Piper
4f785b4aaa
AP_Logger: add @SYS/timers.txt to logged files
3 years ago
Peter Barker
85b4ee289e
AP_Logger: log VER - ArduPilot version information
3 years ago
Peter Barker
189c4cc4c7
AP_Logger: add missing documentation for RCI2 message
3 years ago
Andrew Tridgell
94c117fe62
AP_Logger: log original fw string if available
3 years ago
Iampete1
cf1202ae65
AP_Logger: add MOTB message
3 years ago
Mark Whitehorn
5f7f1cff2b
AP_Logger: fix _RATEMAX parameter descriptions
3 years ago
Peter Barker
fc46fe71f0
AP_Logger: fix memory leak logging files at startup
3 years ago
Andy Piper
835e0be245
AP_Logger: support Winbond W25X32 for KakuteH7Mini
3 years ago
Pierre Kancir
a01bd33f69
AP_Logger: fix size compare warning
...
df_PageSize is uint32_t
3 years ago
Pierre Kancir
7a8cef877b
AP_Logger: fix implicit instanciation order, base class first
3 years ago
Pierre Kancir
89e5e7f5c5
AP_Logger: fix clang-tidy warning about non correct check
...
strncmp return both positive and negative value, therefore is it better to implicitly compare to 0
3 years ago
Pierre Kancir
4add35355e
AP_Logger: use nullptr
3 years ago
Iampete1
cee0503812
AP_Logger: add video stab log structure
3 years ago
Pierre Kancir
f50f8c7a2a
AP_Logger: fix memory leak
3 years ago
Lucas De Marchi
83f20ac66a
AP_Logger: fix build with mavlink debug enabled
3 years ago
Lucas De Marchi
1ab005dc99
AP_Logger: use stderr for debug
...
Make AP_Logger_MAVLink use stderr, so it's easier to follow the debug
outputs without mixing with normal output. And this is also what
AP_Logger is using.
3 years ago
Shiv Tyagi
3533e1e0ed
AP_Logger: remove AP_Logger_SITL
...
We now use jedec dataflash simulator for this purpose. Hence, we should remove these files and all references to HAL_LOGGING_SITL_ENABLED
Co-Authored-By: Divyateja Pasupuleti <divyateja2004@gmail.com>
3 years ago
Peter Barker
600b085cf3
AP_Logger: correct constraint of maximum message ID
3 years ago
Peter Barker
168f278959
AP_Logger: reallocate 32 IDs from vehicles to main message area
...
ArduPlane uses ~18 messages and the list is relatively static, so this
should be a reasonable reallocation.
We're using a lot of Log_Write(...) to create messages dynamically - but
that requires IDs and we only left space for about 18 before this patch
More space is left to ease future use of IDs in some libraries
3 years ago
Andrew Tridgell
045daaf191
AP_Logger: speed up logging of crash_dump.bin
...
dump 450k crash log in about 1 minute
3 years ago
Andrew Tridgell
6f34fa7919
AP_Logger: allow for logged files over 32k in size
...
crash_dump.bin can be large
3 years ago
Peter Barker
66d8be825f
AP_Logger: move LogOriginType into AP_AHRS
...
only used to log the origins by the AHRS library
3 years ago
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
Iampete1
09dfcdb574
AP_Logger: add scripting log structures
3 years ago
Iampete1
f32f14b19c
AP_Logger: log_file_content: copy filename
3 years ago
Peter Barker
e95aedd748
AP_Logger: tidy construction of backends
3 years ago
Andrew Tridgell
e8926f8518
AP_Logger: avoid all opens of log files in main thread
...
this fixes a problem with sdcards where file open is very slow. It can
trigger a watchdog if it is slow enough. Peter and I hit this issue on
a pixracer today with a new sd card
3 years ago
Buzz
d4e2828540
AP_Logger: esp32 takes longer to init its SD card after boot.
...
see libraries/AP_HAL_ESP32/README.md for more.
Author: Charles Villard <charlesvillard10@gmail.com>
Author: Buzz <davidbuzz@gmail.com>
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
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
4 years ago
Peter Barker
de9f8a9320
AP_Logger: specify frames on PSC fields
4 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