added functionality to return the class in ROS message representation
with added functionality in my message classes, we do less manual work here