diff --git a/lib/ros_message.h b/lib/ros_message.h index d91166a..0f5629f 100644 --- a/lib/ros_message.h +++ b/lib/ros_message.h @@ -48,6 +48,10 @@ class RosMessage { data_->print(); } + std::string getTypeName(){ + return msg_def_->name(); + } + std::string toString() { if (!parsed_) { hydrate();