logging: publish a message for PX4_{WARN,ERR} & store them to the ulog file

- ulog file message rate limited to 50Hz
- queuing with size 2
- this replaces the mavlink log message in the ulog
  (but the mavlink warnings & errors still go to the ulog)
This commit is contained in:
Beat Küng
2016-08-12 11:11:11 +02:00
parent eae1585e38
commit df53fb0fde
7 changed files with 74 additions and 8 deletions
+5
View File
@@ -0,0 +1,5 @@
# A logging message, output with PX4_{WARN,ERR,INFO}
uint8 severity # log level (same as in the linux kernel, starting with 0)
uint8[127] text