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_rviz_plugins'
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='test/data/2017-06-20-12-00-00_people_images_in_lab.bag.tgz',
25  url='https://drive.google.com/uc?id=1VYLgjccB9sCa5ht32r3FLjUC2fhFkyZI',
26  md5='0a397a2ff14c07954cc0b9178e33600d',
27  extract=True,
28  )
29 
30 
31 if __name__ == '__main__':
32  main()


jsk_rviz_plugins
Author(s): Kei Okada , Yohei Kakiuchi , Shohei Fujii , Ryohei Ueda
autogenerated on Thu Jun 1 2023 02:45:58