install_sample_data.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 
00003 import argparse
00004 import multiprocessing
00005 
00006 import jsk_data
00007 
00008 
00009 def main():
00010     parser = argparse.ArgumentParser()
00011     parser.add_argument('-v', '--verbose', dest='quiet', action='store_false')
00012     args = parser.parse_args()
00013     quiet = args.quiet
00014 
00015     def download_data(**kwargs):
00016         kwargs['pkg_name'] = 'jsk_pcl_ros'
00017         kwargs['quiet'] = quiet
00018         p = multiprocessing.Process(
00019             target=jsk_data.download_data,
00020             kwargs=kwargs)
00021         p.start()
00022 
00023     download_data(
00024         path='sample/data/2016-06-24-17-43-57_tabletop.bag.tgz',
00025         url='https://drive.google.com/uc?id=0B9P1L--7Wd2vUllPT3VPOHN6LVU',
00026         md5='dbc3daff4fe9812cab7328e7702e6438',
00027         extract=True,
00028     )
00029 
00030     download_data(
00031         path='sample/data/2017-06-19-19-34-18_tabletop_coffeecup.tgz',
00032         url='https://drive.google.com/uc?id=0B5DV6gwLHtyJRTJ0eGdVYk43bEU',
00033         md5='58002c60761d192322413f799368ae88',
00034         extract=True,
00035     )
00036 
00037     download_data(
00038         path='sample/data/2016-10-26-02-09-51_coffee_cup.pcd',
00039         url='https://drive.google.com/uc?id=0B5DV6gwLHtyJVVQ2TFhVSTJqZ3M',
00040         md5='27d1a39e6ea596c4e24f1347f53f2e7b',
00041         extract=False,
00042     )
00043 
00044     download_data(
00045         path='sample/data/drill.pcd',
00046         url='http://www.jsk.t.u-tokyo.ac.jp/~ueda/dataset/2015/02/drill.pcd',
00047         md5='b6ea8f7bd97fd1e88fb6af2f6cd42ac5',
00048         extract=False,
00049     )
00050 
00051     download_data(
00052         path='sample/data/2016-07-06-12-16-43-person-in-point-cloud.tgz',
00053         url='https://drive.google.com/uc?id=0B_NiLAzvehC9cHhnOFd0YUN2N1U',
00054         md5='c59067adc429fb9f1cf180d350a2da43',
00055         extract=True,
00056         compressed_bags=[
00057             'sample/data/2016-07-06-12-16-43-person-in-point-cloud/vision.compressed.bag',  # NOQA
00058         ],
00059     )
00060 
00061     download_data(
00062         path='sample/data/stereo_arc2017_objects.bag',
00063         url='https://drive.google.com/uc?id=0B9P1L--7Wd2va1ZvWHJRT3Y5dkk',
00064         md5='4d8f51d0827f66afe5b91473aeaf9c97',
00065     )
00066 
00067     download_data(
00068         path='sample/data/room73b2_table.bag',
00069         url='https://drive.google.com/uc?id=0B9P1L--7Wd2vdXdfMWNSUU9IVEU',
00070         md5='a38fee55c926152f3d65023d60322eb0',
00071     )
00072 
00073     download_data(
00074         path='sample/data/sample_add_color_from_image_20170319.bag',
00075         url='https://drive.google.com/uc?id=0B9P1L--7Wd2vN284RHBXT1duUWM',
00076         md5='d432e7eec587708849ac85fdb3c6247f',
00077         compressed_bags=[
00078             'sample/data/sample_add_color_from_image_20170319.bag',
00079         ],
00080     )
00081 
00082     download_data(
00083         path='sample/data/pr2_sink.bag.tgz',
00084         url='https://drive.google.com/uc?id=19VujodKsX7EJJwHetqFGCRYz0JBtZQ6h',
00085         md5='9bdc1500610a1a97480cae6fcf261811',
00086         extract=True,
00087         compressed_bags=[
00088             'sample/data/pr2_sink.bag',
00089         ],
00090     )
00091 
00092     download_data(
00093         path='sample/data/kettle.pcd',
00094         url='https://drive.google.com/uc?id=1MpQ3MK3D5VTlmj--r9dFPrfyLPQU7LO0',
00095         md5='87579bdbb5f87a058697ace16887e37f',
00096         extract=False,
00097     )
00098 
00099     download_data(
00100         path='sample/data/sample_door_handle_detector.bag',
00101         url='https://drive.google.com/uc?id=0B4ysRIwB7GryMGxCTUI0MHhqWFk',
00102         md5='f702e012730db7aaf01b9868280d8bca',
00103         compressed_bags=[
00104             'sample/data/sample_door_handle_detector.bag',
00105         ],
00106     )
00107 
00108     download_data(
00109         path='sample/data/octomap_contact.bag.tgz',
00110         url='https://drive.google.com/uc?id=1r7Hj4ujB8Ml5QHg7_Q6kd3rbtL6kzTbh',
00111         md5='a6f4d560830c93e0710fef0e7518a099',
00112         extract=True,
00113         compressed_bags=[
00114             'sample/data/octomap_contact.bag',
00115         ],
00116     )
00117 
00118     download_data(
00119         path='sample/data/pr2_look_around_in_room_73b2.bag',
00120         url='https://drive.google.com/uc?id=1X6S6CU6rC_c_KGlVZfvoTwsAhGS5jG27',
00121         md5='6e3dfda0ac4f23b7849f135ec9041e92',
00122     )
00123 
00124     download_data(
00125         path='sample/data/convenience_store.bag',
00126         url='https://drive.google.com/uc?id=1OyhDsoPffgX0pHiF4XfXI3wM5FK3USKY',
00127         md5='d7bc0f2e9b126c013c18964d4a1fa1be',
00128     )
00129 
00130 if __name__ == '__main__':
00131     main()


jsk_pcl_ros
Author(s): Yohei Kakiuchi
autogenerated on Tue Jul 2 2019 19:41:43