A general purpose 3D simulator with ROS support