diff --git a/plotjuggler_plugins/ParserROS/ros1_parser.h b/plotjuggler_plugins/ParserROS/ros1_parser.h index ba8d2f74b..df88be5be 100644 --- a/plotjuggler_plugins/ParserROS/ros1_parser.h +++ b/plotjuggler_plugins/ParserROS/ros1_parser.h @@ -27,7 +27,7 @@ class ParserFactoryROS1 : public ParserFactoryPlugin } const char* encoding() const override { - return "ros1"; + return "ros1msg"; } MessageParserPtr createParser(const std::string& topic_name, diff --git a/plotjuggler_plugins/ParserROS/ros2_parser.h b/plotjuggler_plugins/ParserROS/ros2_parser.h index f488098e3..ffc53afff 100644 --- a/plotjuggler_plugins/ParserROS/ros2_parser.h +++ b/plotjuggler_plugins/ParserROS/ros2_parser.h @@ -27,7 +27,7 @@ class ParserFactoryROS2 : public ParserFactoryPlugin } const char* encoding() const override { - return "cdr"; + return "ros2msg"; } MessageParserPtr createParser(const std::string& topic_name,