13 stl_path = osp.expanduser(rospy.get_param(
'~stl_path'))
14 timeout = rospy.Duration(rospy.get_param(
'timeout', 30.0))
15 start = rospy.Time.now()
16 while rospy.Time.now() - start < timeout
and not osp.exists(stl_path):
18 self.assertTrue(osp.isfile(stl_path))
21 if __name__ ==
'__main__':
22 rospy.init_node(
'test_pointcloud_to_stl')
24 'jsk_pcl_ros_utils',
'test_pointcloud_to_stl', TestPointCloudToSTL)
def test_pointcloud_to_stl(self)