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(
19  target=jsk_data.download_data,
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=1aIOrcLu7OxpkEGdUBCC6FWGb6NjP_dkn',
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=16uMAe5y5fuqSJpCk_iH6gBBHsyI4Llob',
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=1YiO4UpRCfpskzUvCFmMyaY8mqaKavGlx',
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=10cN9sfxOPWqieqIBb6dKs3yJMsG0tH4n',
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=1TP0h-uf3A_f9SeIiUiwApDiKII3yA-9E',
64  md5='4d8f51d0827f66afe5b91473aeaf9c97',
65  )
66 
67  download_data(
68  path='sample/data/room73b2_table.bag',
69  url='https://drive.google.com/uc?id=1qKWPVGxLXaaKAeIXM-XhK7WP05I1X3-s',
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=1eZZmW4uvlkNMUzDkztrs1gtd91Y3f4QE',
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=1CTP_l4NHy7YSiPKPGt6ek-xnHOCMd9IA',
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=1gmEUanixU-3Fvsff-3e8LkXmZECJCcE2',
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://drive.google.com/uc?id=18VRHlcbHNFw6Hi5ejLPMDI2iqaEdlpTU',
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  download_data(
143  path='sample/data/baxter_realsense_l515.bag',
144  url='https://drive.google.com/uc?id=1RKZLA4J2_lzhCtvMTWxGQh4ykVVEeSAd',
145  md5='2bb80d7c31c62c944192b2dd0a75eddf',
146  )
147 
148  download_data(
149  path='sample/data/fetch_trashbin_top.bag',
150  url='https://drive.google.com/uc?id=1amwEWa2ZYL4Tbgxu0nkBQ_xfW0gryDLI',
151  md5='90e9f794ac99ac05eb0dfd74eade3d40',
152  )
153 
154 
155 if __name__ == '__main__':
156  main()
main
int main(int argc, char **argv)
Definition: bench_ransac_plane_estimation.cpp:94


jsk_pcl_ros
Author(s): Yohei Kakiuchi
autogenerated on Tue Jan 7 2025 04:05:45