Functions | |
def | check_md5sum (path, md5) |
def | decompress_rosbag (path, quiet=False, chmod=True) |
def | download (client, url, output, quiet=False, chmod=True) |
def | download_data (pkg_name, path, url, md5, download_client=None, extract=False, compressed_bags=None, quiet=True, chmod=True) |
def | extract_file (path, to_directory='.', chmod=True) |
def | is_file_writable (path) |
def | is_google_drive_url (url) |
def jsk_data.download_data.check_md5sum | ( | path, | |
md5 | |||
) |
Definition at line 93 of file download_data.py.
def jsk_data.download_data.decompress_rosbag | ( | path, | |
quiet = False , |
|||
chmod = True |
|||
) |
Definition at line 61 of file download_data.py.
def jsk_data.download_data.download | ( | client, | |
url, | |||
output, | |||
quiet = False , |
|||
chmod = True |
|||
) |
Definition at line 78 of file download_data.py.
def jsk_data.download_data.download_data | ( | pkg_name, | |
path, | |||
url, | |||
md5, | |||
download_client = None , |
|||
extract = False , |
|||
compressed_bags = None , |
|||
quiet = True , |
|||
chmod = True |
|||
) |
Install test data checking md5 and rosbag decompress if needed. The downloaded data are located in cache_dir, and then linked to specified path. cache_dir is set by environment variable `JSK_DATA_CACHE_DIR` if defined, set by ROS_HOME/data otherwise.
Definition at line 110 of file download_data.py.
def jsk_data.download_data.extract_file | ( | path, | |
to_directory = '.' , |
|||
chmod = True |
|||
) |
Definition at line 28 of file download_data.py.
def jsk_data.download_data.is_file_writable | ( | path | ) |
Definition at line 19 of file download_data.py.
def jsk_data.download_data.is_google_drive_url | ( | url | ) |
Definition at line 104 of file download_data.py.