install_sample_data.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 
3 import argparse
4 import multiprocessing
5 
6 import jsk_data
7 
8 
9 def main():
10  parser = argparse.ArgumentParser()
11  parser.add_argument('-v', '--verbose', dest='quiet', action='store_false')
12  args = parser.parse_args()
13  quiet = args.quiet
14 
15  def download_data(**kwargs):
16  kwargs['pkg_name'] = 'jsk_pcl_ros'
17  kwargs['quiet'] = quiet
18  p = multiprocessing.Process(
20  kwargs=kwargs)
21  p.start()
22 
23  download_data(
24  path='sample/data/2016-06-24-17-43-57_tabletop.bag.tgz',
25  url='https://drive.google.com/uc?id=0B9P1L--7Wd2vUllPT3VPOHN6LVU',
26  md5='dbc3daff4fe9812cab7328e7702e6438',
27  extract=True,
28  )
29 
30  download_data(
31  path='sample/data/2017-06-19-19-34-18_tabletop_coffeecup.tgz',
32  url='https://drive.google.com/uc?id=0B5DV6gwLHtyJRTJ0eGdVYk43bEU',
33  md5='58002c60761d192322413f799368ae88',
34  extract=True,
35  )
36 
37  download_data(
38  path='sample/data/2016-10-26-02-09-51_coffee_cup.pcd',
39  url='https://drive.google.com/uc?id=0B5DV6gwLHtyJVVQ2TFhVSTJqZ3M',
40  md5='27d1a39e6ea596c4e24f1347f53f2e7b',
41  extract=False,
42  )
43 
44  download_data(
45  path='sample/data/drill.pcd',
46  url='http://www.jsk.t.u-tokyo.ac.jp/~ueda/dataset/2015/02/drill.pcd',
47  md5='b6ea8f7bd97fd1e88fb6af2f6cd42ac5',
48  extract=False,
49  )
50 
51  download_data(
52  path='sample/data/2016-07-06-12-16-43-person-in-point-cloud.tgz',
53  url='https://drive.google.com/uc?id=0B_NiLAzvehC9cHhnOFd0YUN2N1U',
54  md5='c59067adc429fb9f1cf180d350a2da43',
55  extract=True,
56  compressed_bags=[
57  'sample/data/2016-07-06-12-16-43-person-in-point-cloud/vision.compressed.bag', # NOQA
58  ],
59  )
60 
61  download_data(
62  path='sample/data/stereo_arc2017_objects.bag',
63  url='https://drive.google.com/uc?id=0B9P1L--7Wd2va1ZvWHJRT3Y5dkk',
64  md5='4d8f51d0827f66afe5b91473aeaf9c97',
65  )
66 
67  download_data(
68  path='sample/data/room73b2_table.bag',
69  url='https://drive.google.com/uc?id=0B9P1L--7Wd2vdXdfMWNSUU9IVEU',
70  md5='a38fee55c926152f3d65023d60322eb0',
71  )
72 
73  download_data(
74  path='sample/data/sample_add_color_from_image_20170319.bag',
75  url='https://drive.google.com/uc?id=0B9P1L--7Wd2vN284RHBXT1duUWM',
76  md5='d432e7eec587708849ac85fdb3c6247f',
77  compressed_bags=[
78  'sample/data/sample_add_color_from_image_20170319.bag',
79  ],
80  )
81 
82  download_data(
83  path='sample/data/pr2_sink.bag.tgz',
84  url='https://drive.google.com/uc?id=19VujodKsX7EJJwHetqFGCRYz0JBtZQ6h',
85  md5='9bdc1500610a1a97480cae6fcf261811',
86  extract=True,
87  compressed_bags=[
88  'sample/data/pr2_sink.bag',
89  ],
90  )
91 
92  download_data(
93  path='sample/data/kettle.pcd',
94  url='https://drive.google.com/uc?id=1MpQ3MK3D5VTlmj--r9dFPrfyLPQU7LO0',
95  md5='87579bdbb5f87a058697ace16887e37f',
96  extract=False,
97  )
98 
99  download_data(
100  path='sample/data/sample_door_handle_detector.bag',
101  url='https://drive.google.com/uc?id=0B4ysRIwB7GryMGxCTUI0MHhqWFk',
102  md5='f702e012730db7aaf01b9868280d8bca',
103  compressed_bags=[
104  'sample/data/sample_door_handle_detector.bag',
105  ],
106  )
107 
108  download_data(
109  path='sample/data/octomap_contact.bag.tgz',
110  url='https://drive.google.com/uc?id=1r7Hj4ujB8Ml5QHg7_Q6kd3rbtL6kzTbh',
111  md5='a6f4d560830c93e0710fef0e7518a099',
112  extract=True,
113  compressed_bags=[
114  'sample/data/octomap_contact.bag',
115  ],
116  )
117 
118  download_data(
119  path='sample/data/pr2_look_around_in_room_73b2.bag',
120  url='https://drive.google.com/uc?id=1X6S6CU6rC_c_KGlVZfvoTwsAhGS5jG27',
121  md5='6e3dfda0ac4f23b7849f135ec9041e92',
122  )
123 
124  download_data(
125  path='sample/data/convenience_store.bag',
126  url='https://drive.google.com/uc?id=1OyhDsoPffgX0pHiF4XfXI3wM5FK3USKY',
127  md5='d7bc0f2e9b126c013c18964d4a1fa1be',
128  )
129 
130  download_data(
131  path='sample/data/torus.pcd',
132  url='https://blog.innovotion.co.jp/wp-content/uploads/2018/08/torus.pcd', # NOQA
133  md5='17ae9636f42403a20bf1b936c03bb35c',
134  extract=False,
135  )
136  download_data(
137  path='sample/data/plane_extraction.bag',
138  url='https://drive.google.com/uc?id=1doj3XMY0KYVAkIubmsi5-Oec4y0vvVP2',
139  md5='dddd2c6d7738ac19536a032aed8f9967',
140  )
141 
142 
143 
144 if __name__ == '__main__':
145  main()


jsk_pcl_ros
Author(s): Yohei Kakiuchi
autogenerated on Mon May 3 2021 03:03:46