Commit Graph

508 Commits

Author SHA1 Message Date
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
Michael du Breuil 0743b979fa AP_Logger: Don't log AHR2 unless the quat is available
This should not be a functional change, because if the secondary
attitude is available then the secondary quat will be as well
2019-03-19 11:42:54 +11:00
Randy Mackay cf8a7fd423 AP_Logger: add values to backend-type param description 2019-03-09 14:22:28 +09:00
Peter Barker 539000df40 AP_Logger: remove more DataFlash references
Also strongly type the backend type
2019-03-02 22:28:13 +11:00
Peter Barker dfa5a423ec AP_Logger: add sanity check that trigger for bad float multipliers 2019-03-01 15:43:46 +11:00
Andrew Tridgell 5b762711fd AP_Logger: handle EEXIST for log dir create 2019-03-01 11:39:12 +11:00
Andrew Tridgell 202e6d38c4 AP_Logger: fixed race condition with multi-thread AP_Logger 2019-02-26 16:18:26 +11:00
Peter Barker b9cd3a8a39 AP_Logger: add logging of mavlink stats 2019-02-26 11:23:57 +11:00
Peter Barker 4ae64416c3 AP_Logger: add instance unit type 2019-02-26 11:23:57 +11:00
Randy Mackay e28efeceac AP_Logger: implement Write_ESC 2019-02-18 20:55:47 +09:00
Mark Whitehorn c9c802f617 AP_Logger: call wrap_360_cd on yaw in WriteAttitudeView 2019-02-15 09:17:08 +09:00
Peter Barker c4fd5ec350 AP_Logger: include stdio for some printfs 2019-02-15 08:15:45 +11:00
Peter Barker 9108eeb8f5 AP_Logger: log rally points into dataflash on upload 2019-02-12 11:48:55 +11:00
Peter Barker 9a04ae5cf7 AP_Logger: use a MessageWriter to emit rally points 2019-02-12 11:48:55 +11:00
Tom Pittenger 21db5e1a5c AP_Logger: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
Tom Pittenger 1110fad8e7 AP_Logger: move wheelEncoder logging to library 2019-02-06 10:41:59 +09:00
Peter Barker 3071372c8d AP_Logger: add Sub-specific events 2019-02-04 09:30:07 +09:00
Peter Barker 78e76b84b2 AP_Logger: move handling Write_Event into AP_Logger 2019-02-04 09:30:07 +09:00
Tom Pittenger 9b540a6380 AP_Logger: log health failure probability 2019-02-03 08:25:46 -08:00
Peter Barker 5ecb730766 AP_Logger: remove rally argument from Write_Rally - use singleton 2019-01-31 09:51:25 +09:00
Peter Barker 7525c593cb AP_Logger: stop taking mission as argument to Write_EntireMission 2019-01-29 19:07:05 -08:00
vierfuffzig 81f77f5311 AP_Logger: fix _BACKEND_TYPE parameter description 2019-01-22 07:29:01 +11:00
Andrew Tridgell 1d57385184 AP_Logger: removed f4light logging backend 2019-01-21 21:57:21 +11:00
Andrew Tridgell e3c9f10e91 AP_Logger: revived block based logging 2019-01-21 21:57:21 +11:00
Peter Barker 78be3880ee AP_Logger: remove VRBRAIN-HAL-specific code 2019-01-19 19:44:19 +11:00
Peter Barker 6fc76a32af GLOBAL: use AP::logger() and strip redundant Log_ from methods 2019-01-18 18:08:20 +11:00
Peter Barker 8e2a229e5d AP_Logger: add AP::logger() method 2019-01-18 18:08:20 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Peter Barker 6a59dd04a7 DataFlash: rename to AP_Logger 2019-01-18 18:08:20 +11:00