orb status: print information about lost messages

This commit is contained in:
Beat Küng
2016-05-23 10:22:32 +02:00
committed by Lorenz Meier
parent 7280f71cef
commit b86cf2b017
6 changed files with 142 additions and 5 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ uorb_main(int argc, char *argv[])
*/
if (!strcmp(argv[1], "status")) {
if (g_dev != nullptr) {
PX4_INFO("uorb is running");
g_dev->printStatistics(true);
} else {
PX4_INFO("uorb is not running");