11 parser = argparse.ArgumentParser(
12 formatter_class=argparse.ArgumentDefaultsHelpFormatter,
15 '--pkg-path', help=
'PAKCAGE_SOURCE_DIR in cmake' 17 parser.add_argument(
'-v',
'--verbose', dest=
'quiet', action=
'store_false')
18 args = parser.parse_args()
20 pkg_path = args.pkg_path
22 def download_data(**kwargs):
23 path = kwargs.pop(
'path')
24 if pkg_path
is not None:
25 path = osp.join(pkg_path, path)
27 kwargs[
'pkg_name'] =
'jsk_pcl_ros_utils' 28 kwargs[
'quiet'] = quiet
29 p = multiprocessing.Process(
35 path=
'sample/data/2017-02-05-16-11-09_shelf_bin.bag',
36 url=
'https://drive.google.com/uc?id=0B9P1L--7Wd2vYWI2NnZrekEwSmc',
37 md5=
'44427634f57ac76111edabd7b1f4e140',
41 path=
'sample/data/2019-11-03-hsr-multi-objects-in-shelf.bag',
42 url=
'https://drive.google.com/uc?id=1RvpUWnPJogYw_n7IRfmt6ONpUD1ZETus',
43 md5=
'f719f3dfed7d9cece1557f340f088683',
46 'sample/data/2019-11-03-hsr-multi-objects-in-shelf.bag',
51 path=
'sample/data/bunny_marker_array.bag',
52 url=
'https://drive.google.com/uc?id=0B9P1L--7Wd2vdW1NMlhiRU9KZDQ',
53 md5=
'e7dc29d21bdd30c769396c361e4350fd',
57 path=
'sample/data/bunny.pcd',
58 url=
'https://raw.githubusercontent.com/PointCloudLibrary/pcl/pcl-1.8.0/test/bunny.pcd',
59 md5=
'a4e58778ba12d3f26304127f6be82897',
63 path=
'sample/data/arc2017_4objects.bag',
64 url=
'https://drive.google.com/uc?id=0B9P1L--7Wd2vakpvU0wtMFNCTkk',
65 md5=
'2c3af4482cd2e0ee95b58848ae48afaf',
69 if __name__ ==
'__main__':