untested version that handels offsets inside ROS.