Peter Barker
7f0e722a33
AP_Logger: add onboard LogMessage documentation
5 years ago
Henry Wurzburg
c34c857123
AP_Logger: update logger meta-data, add to gitignore
5 years ago
Peter Barker
35ad582440
AP_Logger: correct various onboard log message documentation
5 years ago
Henry Wurzburg
7bb5d92dcc
AP_Logger: fix typos in logger message meta-data
5 years ago
Peter Barker
fa50b5f76d
AP_Logger: add more metadata for logged messages
...
LogStructure: add MAG log information
LogStructure: add MODE log information
LogStructure: add PID log information
AP_Logger: add ATT information
AP_Logger: add documentation for BAT log message
LogStructure: add RCIN and RCOU messages
AP_Logger: add VIBE message information
5 years ago
Peter Barker
de36b6a16a
AP_Logger: add LoggerMessage metadata for GPS message
5 years ago
Peter Barker
55ee3362b9
AP_Logger: add example of documentation for a log structure
5 years ago
Peter Barker
8679e95fca
AP_Logger: add comments about message_writer being leaked
...
These are really "shouldn't happen", and only happen at startup, so
impact of the memory leak is quite limited.
Fixing this requires putting in a virtual destructor on the
MessageWriter class - this and the calls add up to several hundred bytes
of flash.
5 years ago
Andrew Tridgell
ed37ebede8
AP_Logger: convert to new get_rpm() API
5 years ago
Randy Mackay
2ee5f9dcc5
AP_Logger: ARM msg logs ArmChecks as uint32_t
5 years ago
Peter Barker
10c9bc3659
AP_Logger: add flags to MAV dataflash log
...
holds various pieces of simple information about a link
5 years ago
Peter Hall
7bef426531
AP_Logger: EKF4 change flags state from uint16_t to uint32_t
5 years ago
murata
f6595a41ae
AP_Logger: Change the type of a method
5 years ago
Andrew Tridgell
71a0645a59
AP_Logger: make all semaphores recursive
...
the cost is very similar and this prevents an easy coding error which
can occur on less used code paths
5 years ago
Andrew Tridgell
56035fa5a1
AP_Logger: add a semaphore to protect creation of new log formats
5 years ago
Andrew Tridgell
25f5069b58
AP_Logger: removed old NuttX hack
5 years ago
Randy Mackay
6aff18d22d
AP_Logger: remove non-error init messages
5 years ago
Andrew Tridgell
2ebfdefc11
AP_Logger: regain some logging IDs
...
this gains a lot of logging ID slots by moving elements before LOG_FORMAT_MSG
5 years ago
Peter Barker
6b94710e4e
AP_Logger: include method and forced in armed log message
5 years ago
Andy Piper
d167dacfae
AP_Logger: fix locking issues, uninitialized read and status message length
...
account for erased partial sectors when looking at wrapped logs
5 years ago
Peter Barker
2c5e07cb09
AP_Logger: log battery and cell information using instance numbers
5 years ago
Jaaaky
1817280e01
AP_Logger: fix 'last_file' may be used uninitialized with debug build
5 years ago
Andrew Tridgell
58fcd4601a
AP_Logger: added CESC message for logging CAN ESC status
5 years ago
Andrew Tridgell
2666853100
AP_Logger: added CSRV logging for CAN servo status
5 years ago
Andy Piper
54b6e7b264
AP_Logger: mavlink backend needs to be the last backend
...
be really careful to catch aborted erases
take care to protect shared structures in io thread
if flash corruption is detected try and recover whole files
overwrite format in erase to make sure erase happens
output useful messages at critical times
a block is 64k a sector is 4k, rename internal variables appropriately
cope with log wrapping when sending log listings over mavlink
5 years ago
Randy Mackay
2e09acc2ae
AP_Logger: add error code for rtl missing rangefinder
5 years ago
Peter Barker
9d7016dca8
LogStructure: adjust for using instance numbers on NavEKF libraries
5 years ago
Peter Barker
bd8a27ff4c
AP_Logger: tidy and rearrange log structures
...
Move non-SBP stuff out of the SBP block. Remove unused split between
normal and advanced log entries
5 years ago
Peter Barker
031c97db30
AP_Logger: correct Write() containing 'a' entries
5 years ago
Peter Barker
9c17fdb851
AP_Logger: use enum class for transfer activity
...
These weren't great symbols to create...
5 years ago
Randy Mackay
94d641d3d5
AP_Logger: ESC logging includes motor temperature
5 years ago
Peter Barker
f337d011e7
AP_Logger: make LogEvent an enum class, split off LogDataID
...
We were mixing the enumeration values across different messages, which
isn't great
5 years ago
Peter Barker
daba5e26a5
AC_Logger: adjust for proximity status namespace change
5 years ago
Michael du Breuil
c369139be0
AP_Logger: Support new ModeReason
5 years ago
Peter Barker
c30873097a
AP_Logger: use ahrs singleton to log ATT, POS and AHRS2
5 years ago
Peter Barker
e84082a099
AP_Logger: canonicalize on STANDBY rather than STANDY_BY
5 years ago
Randy Mackay
dee4e867e4
AP_Logger: add vibration failsafe error subsystem
5 years ago
Leonard Hall
e8e969af62
AP_Logger: Support for Standby functions
5 years ago
Michael du Breuil
cb5bba8379
AP_Logger: Log GPS yaw accuracy
5 years ago
Michael du Breuil
05d104675e
AP_Logger: Fix logging of current on non primary instances
5 years ago
Peter Barker
083d4ac3ea
DataFlash: adjust for new vehicle base class
5 years ago
Peter Barker
4d17a7cf89
AP_Logger: tidy MessageWriter stages using enum class
5 years ago
Michel Pastor
dec5b97275
AP_Logger: fix logging on 256Mbit flash chips
5 years ago
Michel Pastor
49bf0a3057
AP_Logger: fix AP_Logger_Block::get_num_logs()
5 years ago
Peter Barker
fd0a8b72b4
AP_Logger: correct uninitialised value when logging all rally points
5 years ago
Andrew Tridgell
3ebc69320c
AP_Logger: fixed LOG_FILE_DSRMROT with delayed log stop
...
now that we persist logging for 15s after disarm we need to also delay
the log rotation if LOG_FILE_DSRMROT=1. Otherwise we will put the log
data into the next log, which defeats the purpose of the 15s
persistance
5 years ago
Andrew Tridgell
889b18022b
AP_Logger: use HAL_MEM_CLASS for logging buffer size
5 years ago
Andrew Tridgell
3bf3ebb703
AP_Logger: try harder to use close to user buffer size
...
this stops us drastically reducing buffer size when low on memory
5 years ago
Randy Mackay
3431938bce
AP_Logger: add error code to Write_OADijkstra
5 years ago
Andrew Tridgell
d7ee622edc
AP_Logger: fixed use of old irqsave() API
5 years ago