From 134a8731be8d168ba240da329d4b9122126406eb Mon Sep 17 00:00:00 2001 From: Simon Sagmeister Date: Wed, 17 Jan 2024 17:22:32 -0800 Subject: [PATCH] FIX DIAGNOSTIC STATUS --- plotjuggler_plugins/ParserROS/ros_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plotjuggler_plugins/ParserROS/ros_parser.cpp b/plotjuggler_plugins/ParserROS/ros_parser.cpp index 124fda319..eba5198e5 100644 --- a/plotjuggler_plugins/ParserROS/ros_parser.cpp +++ b/plotjuggler_plugins/ParserROS/ros_parser.cpp @@ -26,7 +26,7 @@ ParserROS::ParserROS(const std::string& topic_name, const std::string& type_name using std::placeholders::_1; using std::placeholders::_2; - if (Msg::DiagnosticStatus::id() == type_name) + if (Msg::DiagnosticArray::id() == type_name) { _customized_parser = std::bind(&ParserROS::parseDiagnosticMsg, this, _1, _2); }