Commit Graph

111 Commits

Author SHA1 Message Date
Peter Barker 2deea7835f AP_Logger: correct uninitialised value when logging all rally points 2020-02-05 10:10:37 +11:00
Randy Mackay 8674997a24 AP_Logger: add error code to Write_OADijkstra 2020-02-05 10:09:54 +11:00
Andrew Tridgell d85a7e4c4b AP_Logger: fixed use of old irqsave() API 2020-02-05 10:04:08 +11:00
Andrew Tridgell b60fd97f32 AP_Logger: add a semaphore to protect creation of new log formats 2020-01-18 12:26:29 +11:00
Michael du Breuil a9fabdb278 AP_Logger: Fix logging of current on non primary instances 2019-11-17 11:29:38 +11:00
Michel Pastor eb24e12666 AP_Logger: fix logging on 256Mbit flash chips 2019-10-06 10:58:07 +11:00
Michel Pastor d7033dbf0d AP_Logger: fix AP_Logger_Block::get_num_logs() 2019-10-06 10:58:07 +11:00
Andrew Tridgell d017a9a60d 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
2019-10-06 10:58:07 +11:00
Andrew Tridgell 6cd6b37826 AP_Logger: use HAL_MEM_CLASS for logging buffer size 2019-10-06 10:58:07 +11:00
Andrew Tridgell 609a2d95f8 AP_Logger: try harder to use close to user buffer size
this stops us drastically reducing buffer size when low on memory
2019-10-06 10:58:07 +11:00
Andrew Tridgell d916c31575 AP_Logger: added logging of extra loop time from the scheduler 2019-09-22 21:08:27 +10:00
Peter Barker 6d71ef5cf8 AP_Logger: move EKF timing logging out to EKF 2019-09-03 09:28:37 +10:00
Michael du Breuil fa6e43be77 AP_Logger: Forward declare AHRS
This reduces the number of places this is implicitly included, and helps
to reduce the scope of files that get rebuilt
2019-08-28 13:13:03 +10:00
Peter Barker 78af091869 AP_Logger: log parameter space used as part of log open 2019-08-28 11:51:09 +10:00
Andrew Tridgell d40835c666 AP_Logger: use AP::FS().set_mtime() 2019-08-27 15:40:43 +10:00
Andrew Tridgell df4cb00970 AP_Logger: added LOG_FILE_TIMEOUT parameter
this allows for cards to be removed and re-inserted while continuing
logging
2019-08-27 15:40:43 +10:00
Andrew Tridgell 667b4e045a AP_Logger: convert to use AP_Filesystem 2019-08-27 15:40:43 +10:00
Peter Barker 631725f817 AP_Logger: add Write_Command for writing out received mavlink commands 2019-08-27 09:32:00 +10:00
Andrew Tridgell 66dc36ef88 AP_Logger: ifdef out _need_rtc_update 2019-08-26 15:41:44 +10:00
Andrew Tridgell 4418495c99 AP_Logger: use UNUSED_RESULT
Co-Authored-By: Francisco Ferreira <OXINARF@users.noreply.github.com>
2019-08-26 15:41:44 +10:00
Andrew Tridgell 8e58cb993d AP_Logger: fix timestamp on log files opened before GPS lock 2019-08-26 15:41:44 +10:00
murata 1a8e644437 AP_Logger: GPA/GPA2 Change the unit of DELTA. 2019-08-26 14:22:47 +10:00
Andrew Tridgell 7d5c0e92ae AP_Logger: added logging of I2C ISR count 2019-08-26 09:13:39 +10:00
Peter Barker 6af3149adc AP_Logger: examples: var_info is now in GCS_MAVLINK_Parameters 2019-08-14 18:25:43 +10:00
Peter Barker 20be080325 AP_Logger: correct example to add required override keywords 2019-08-14 09:41:54 +10:00
Peter Barker e18174e4ac AP_Logger: correct use of uninitialised stack value 2019-08-13 10:43:05 +10:00
Peter Barker b2d9d7b6a0 AP_Logger: const-struct many structures, use temp for navekf object 2019-08-06 11:45:04 +10:00
Randy Mackay b666b172c4 AP_Logger: replace Write_OA with Write_OABendyRuler and Write_OADijkstra 2019-08-06 08:15:45 +09:00
Andrew Tridgell 0c314c36b6 AP_Logger: log baro health 2019-07-31 12:53:57 +10:00
Randy Mackay 95bc52de8e AP_Logger: fix PRX distance scaling
distance values logged are in meters
2019-07-26 21:51:44 -07:00
Leonard Hall 4aa74c5c53 AP_Logger: Missing label change 2019-07-26 09:16:51 +09:00
Leonard Hall 94ee2fb2fd AP_Logger: add error to PID message 2019-07-25 17:38:15 +09:00
Leonard Hall 157f786adf Global: rename desired to target in PID info 2019-07-25 17:38:15 +09:00
Peter Barker a89593856d AP_Logger: remove dangling print_mode method declaration 2019-07-24 13:35:01 +09:00
Siddharth Purohit 359dd3f71c AP_Logger: add logging for 3rd instance of EKF core 2019-07-23 12:34:38 +10:00
Pierre Kancir 781e9ae9c1 AP_Logger: pass mavlink_message_t by const reference 2019-07-16 20:51:42 +10:00
Michael du Breuil da3602b90d AP_Logger: Log unknown battery values as out of band 2019-07-14 00:28:00 -07:00
Michael du Breuil ee3511c1fa AP_Logger: Refactor battery current interface 2019-07-14 00:28:00 -07:00
Andrew Tridgell a2e75876bf AP_Logger: added logging of GPS yaw
some GPS modules can give true yaw, whether moving or not
2019-07-13 11:05:57 +10:00
Peter Barker 7c102b90fa AP_Logger: use singletons when logging camera information 2019-07-09 09:32:39 +10:00
Peter Barker e009b7aee5 AP_Logger: move logging of EKF packets out to EKF 2019-07-06 19:05:51 +10:00
Peter Barker 502f74f0d9 AP_Logger: switch to using stderr for log structure debug
The console output doesn't seem to appear anywhere now.
2019-07-05 12:05:27 +10:00
Peter Barker 288952b5a2 AP_Logger: reserve W for watts as a unit 2019-07-05 12:05:04 +10:00
Peter Barker 3d91547039 AP_Logger: add missing include for AP_RTC 2019-07-04 13:57:40 +10:00
Peter Barker d9c30f489f AP_Logger: use beacon singleton 2019-07-01 07:20:58 +09:00
Andrew Tridgell dd3eec2a38 AP_Logger: persist logging for 15s after disarm or arming failure
this will provide useful information in logs on disarms in flight or
reasons for arming failure
2019-06-21 11:40:53 +10:00
Peter Barker 7bca6d5ec0 AP_Logger: log RC protocol each time a log is opened 2019-06-18 11:35:38 +10:00
Michael du Breuil f8750a6d18 AP_Logger: Fix AP_GPS.h include 2019-06-18 10:02:05 +10:00
Michael du Breuil 23439de39a AP_Logger: Don't include AP_BattMonitor which we don't need 2019-06-18 10:02:05 +10:00
Peter Barker 733b7b7f1a AP_Logger: include internal error count in log structure 2019-06-12 10:05:59 +10:00