install_trained_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='trained_data/linemod_template.tgz',
25  url='https://drive.google.com/uc?id=1nQzjrpvLojzPrQDWElxDCTVjLzeDi70p',
26  md5='2c9bd31c6c6ddd5f36698fb36040c71c',
27  extract=True,
28  )
29 
30 
31 if __name__ == '__main__':
32  main()


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