adding functions to Ros: decodeTypeDefs, getMessageDetails, getTopicType