test08_launcher.py
Go to the documentation of this file.
00001 import csv
00002 import roslib; roslib.load_manifest('hai_sandbox')
00003 from cv_bridge.cv_bridge import CvBridge, CvBridgeError
00004 import rospy
00005 import cv
00006 import sys
00007 
00008 import hrl_lib.rutils as ru
00009 import hrl_lib.tf_utils as tfu
00010 import tf.transformations as tr
00011 import tf
00012 import hrl_camera.ros_camera as cam
00013 from sensor_msgs.msg import CameraInfo
00014 import numpy as np
00015 import hai_sandbox.features as fea
00016 import os.path as pt
00017 import hrl_lib.util as ut
00018 import scipy.cluster.vq as vq
00019 import os
00020 
00021 def csv_bag_names(fname):
00022     csv_file = open(fname)
00023     for bag_name in csv.reader(csv_file):
00024         yield bag_name
00025     csv_file.close()
00026 
00027 if __name__ == '__main__':
00028     import sys
00029     fname = sys.argv[1]
00030 
00031     for path in csv_bag_names(fname):
00032         cmd ='python test08.py %s' % path[0]
00033         print cmd
00034         os.system(cmd)


hai_sandbox
Author(s): Hai Nguyen
autogenerated on Wed Nov 27 2013 11:46:56