Variables
extract_images Namespace Reference

Variables

list bag_name = sys.argv[1]
tuple bridge = CvBridge()
tuple cv_image = bridge.imgmsg_to_cv2(msg, desired_encoding="passthrough")
tuple dirname = os.path.dirname(sys.argv[1])
tuple experiment_name = infer_experiment_name(bag_name)
int i = 1
 Now iterate over the bag.
string img_file = "_"
list img_files = []
tuple orig_bag = rosbag.Bag(bag_name, 'r')
tuple out_dir = os.path.join(dirname, out_format, experiment_name)
string out_format = "ppm"
tuple path = os.path.join(out_dir, img_file)
list timestamps = []
list topics = ['/camera/rgb/image_rect_color', 'camera/rgb/image_rect_color']

Variable Documentation

list extract_images::bag_name = sys.argv[1]

Definition at line 38 of file extract_images.py.

tuple extract_images::bridge = CvBridge()

Definition at line 12 of file extract_images.py.

tuple extract_images::cv_image = bridge.imgmsg_to_cv2(msg, desired_encoding="passthrough")

Definition at line 66 of file extract_images.py.

tuple extract_images::dirname = os.path.dirname(sys.argv[1])

Definition at line 52 of file extract_images.py.

tuple extract_images::experiment_name = infer_experiment_name(bag_name)

Definition at line 42 of file extract_images.py.

Now iterate over the bag.

Definition at line 63 of file extract_images.py.

Definition at line 75 of file extract_images.py.

Definition at line 58 of file extract_images.py.

Definition at line 49 of file extract_images.py.

Definition at line 53 of file extract_images.py.

Definition at line 32 of file extract_images.py.

tuple extract_images::path = os.path.join(out_dir, img_file)

Definition at line 77 of file extract_images.py.

Definition at line 59 of file extract_images.py.

list extract_images::topics = ['/camera/rgb/image_rect_color', 'camera/rgb/image_rect_color']

Definition at line 20 of file extract_images.py.



shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:41:06