Commit Graph

78 Commits

Author SHA1 Message Date
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
Peter Barker
5f877294c9 AP_Logger: re-add lost validate_structure loop
Lost with bad rebase
2019-06-12 10:05:59 +10:00
Peter Barker
cd0265644d AP_Logger: disable float-mult-zero sanity check for the time being 2019-06-12 10:05:59 +10:00
Randy Mackay
c7b1ad3443 AP_Logger: add Write_OA 2019-06-11 13:13:22 +09:00
Andrew Tridgell
91f80613dd AP_Logger: removed internal error for logging without sem 2019-06-06 16:35:22 +10:00
Tatsuya Yamaguchi
18a43601cd RangeFinder: Add up to 10 RangeFinder logs 2019-06-04 19:11:11 +10:00
Peter Barker
be9df7f600 AP_Logger: add a README.md to help locating units/mults/fieldtypes 2019-06-04 19:00:11 +10:00
Peter Barker
b644df14d0 AP_Logger: move documentation for fieldtypes, units and mults to top 2019-06-04 19:00:11 +10:00
Peter Barker
d67e68eb03 AP_Logger: move LOG_ARM_DISARM_MSG in 2019-05-30 07:37:30 +09:00
Peter Barker
a5f5b4349c AP_Logger: add a Write_Rally method 2019-05-22 08:53:45 +10:00
Andrew Tridgell
6b1374e55c AP_Logger: log SPI and I2C counters in PM msg 2019-05-17 08:56:06 +10:00
Peter Barker
0225b6817a AP_Logger: examples: add test for Write and WriteCritical 2019-05-16 17:21:24 +10:00
Peter Barker
54eff7eafc AP_Logger: add WriteCritical method to AP::logger()
For callers who emphatically want their custom messages to be written out.
2019-05-16 17:21:24 +10:00
Andrew Tridgell
6fa69c2297 AP_Logger: rename to EXPECT_DELAY_MS() 2019-05-15 15:33:48 +10:00
Andrew Tridgell
4cdfe6bac3 AP_Logger: use EXPECT_DELAY() macro 2019-05-15 15:33:48 +10:00
Andrew Tridgell
0b20d972cd AP_Logger: prevent log erase from triggering watchdog 2019-04-22 16:53:35 +10:00
Andrew Tridgell
24c5bf42ae AP_Logger: force logging on an armed watchdog reset
and don't clear sdcard space
2019-04-22 16:53:35 +10:00
Andrew Tridgell
215c41dbb1 AP_Logger: handle long delays in opening log files 2019-04-22 16:53:35 +10:00
Peter Barker
146b0c69d6 AP_Logger: check return values from get_log_data 2019-04-19 13:34:42 +10:00
Peter Barker
540d4ae796 AP_Logger: RangeFinder library now does its own logging
Since we were poking the backends directly it should probably be over
there
2019-04-09 22:17:58 +10:00
Peter Barker
57c4cbc771 AP_Logger: use RSSI singleton for logging 2019-04-09 09:33:13 +10:00
Peter Barker
d90e554608 AP_Logger: move logging of ARSP into Airspeed library 2019-04-09 09:29:35 +10:00
Peter Barker
26d8627d18 AP_Logger: use airspeed singleton for logging
This avoids the header dependency on airspeed
2019-04-09 09:29:35 +10:00
Michael du Breuil
2e2ef27670 AP_Logger: Remove unneeded includes 2019-04-05 20:12:53 +11:00
IamPete1
ade554b3f7 AP_logger: add ADSB log 2019-03-28 14:19:01 -07:00
Tom Pittenger
027f9afcf8 AP_logger: rename dataflash to logger and refactor the filename logger.bin 2019-03-28 16:40:58 +11:00
Peter Barker
b6ee93aeef AP_Logger: change BAD_DEPTH logerror code from 0 to 3
We use 0 to mean cleared for many other subsystems, so this is a bit of
a wart.
2019-03-27 12:02:53 -04:00
Peter Barker
0d0dfd49bd AP_Logger: accomodation for Sub error subsystems and codes 2019-03-27 12:36:40 +11:00
Peter Barker
d2a683a758 AP_Logger: move Log_Write_Error into library 2019-03-27 12:36:40 +11:00
Peter Barker
bd8a27476e AP_Logger: make structure validation failure at runtime fatal 2019-03-26 10:18:05 +11:00
Michael du Breuil
3f1fbbf6c6 AP_Logger: simplify the message writers
Specifically:
  - Remove some unreachable nullptr checks
  - Remove a noop stage
  - Remove unneeded initilizers
2019-03-24 11:45:08 +11:00
Peter Barker
ee690e7ab9 AP_Logger: use AP_InternalError for tracking internal errors 2019-03-21 21:34:33 +11:00
Peter Barker
422aa8ad7e DataFlash: include internal errors in dataflash PM message 2019-03-21 21:34:33 +11:00
Peter Barker
4e151197a8 AP_Logger: log units and multipliers correctly 2019-03-21 17:44:05 +11:00