Added convert functions to ROS msgs for several types.

- added convert functions to ROS msgs for several types