Useful functions for working in ROS