13 csv_path = osp.expanduser(rospy.get_param(
'~csv_path'))
14 timeout = rospy.Duration(rospy.get_param(
'~timeout', 5.0))
15 start = rospy.Time.now()
16 while rospy.Time.now() - start < timeout
and not osp.exists(csv_path):
18 self.assertTrue(osp.isfile(csv_path))
21 if __name__ ==
'__main__':
22 rospy.init_node(
'test_plot_data_to_csv')
24 'jsk_recognition_msgs',
'test_plot_data_to_csv', TestPlotDataToCsv)
def test_plot_data_to_csv(self)