def main(): rospy.init_node('process_markers') if len(rospy.myargv()) != 3: print "Usage: process_markers <in.bag> <out.bag>" return infile = rospy.myargv()[1] outfile = rospy.myargv()[2] in_topics = ['/camera/camera_info', '/camera/image_raw/compressed'] in_types = [CameraInfo, CompressedImage] out_topics = ['/camera/pose_array', '/camera/visualization_marker_array'] out_types = [PoseArray, MarkerArray] timeout = 5 process_bags.process_bags(infile, in_topics, in_types, outfile, out_topics, out_types, timeout)
def main(): rospy.init_node('process_markers') if len(rospy.myargv()) != 3: print "Usage: process_markers <in.bag> <out.bag>" return infile = rospy.myargv()[1] outfile = rospy.myargv()[2] in_topics = ['/camera/camera_info','/camera/image_raw/compressed'] in_types = [CameraInfo,CompressedImage] out_topics = ['/camera/pose_array','/camera/visualization_marker_array'] out_types = [PoseArray,MarkerArray] timeout = 5 process_bags.process_bags(infile,in_topics,in_types, outfile,out_topics,out_types, timeout)
def main(): rospy.init_node('process_structure') if len(rospy.myargv()) != 3: print "Usage: process_structure <in.bag> <out.bag>" return infile = rospy.myargv()[1] outfile = rospy.myargv()[2] in_topics = ['/camera/camera_info','/camera/image_raw/compressed', '/camera/pose_array','/camera/visualization_marker_array'] in_types = [CameraInfo,CompressedImage,PoseArray,MarkerArray] out_topics = ['/track','/model','/structure_array','/object'] out_types = [TrackMsg,ModelMsg,MarkerArray,ArticulatedObjectMsg] timeout = 5 process_bags.process_bags(infile,in_topics,in_types, outfile,out_topics,out_types, timeout)
def main(): rospy.init_node('process_structure') if len(rospy.myargv()) != 3: print "Usage: process_structure <in.bag> <out.bag>" return infile = rospy.myargv()[1] outfile = rospy.myargv()[2] in_topics = [ '/camera/camera_info', '/camera/image_raw/compressed', '/camera/pose_array', '/camera/visualization_marker_array' ] in_types = [CameraInfo, CompressedImage, PoseArray, MarkerArray] out_topics = ['/track', '/model', '/structure_array', '/object'] out_types = [TrackMsg, ModelMsg, MarkerArray, ArticulatedObjectMsg] timeout = 5 process_bags.process_bags(infile, in_topics, in_types, outfile, out_topics, out_types, timeout)