No version for distro foxy. Known supported distros are highlighted in the buttons above.
No version for distro eloquent. Known supported distros are highlighted in the buttons above.
No version for distro dashing. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 2.1.21
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/jsk-ros-pkg/jsk_3rdparty.git
VCS Type git
VCS Version master
Last Updated 2020-11-23
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Google drive upload and download package

Additional Links

Maintainers

  • Shingo Kitagawa

Authors

  • Shingo Kitagawa

gdrive_ros

Google Drive file uploader for ROS

Installation

Setup and build workspace

cd ~
mkdir gdrive_ws/src -p
cd gdrive_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_3rdparty.git
rosdep install --ignore-src -from-paths . -y -r
cd ~/gdrive_ws
catkin init
catkin build

Do authentication of Google Drive API

Please follow step 1-5 in here.

Create your settings yaml

Please follow here.

My settings yaml is as follows;

client_config_file: /your/client/secrets/json/path
save_credentials: True
save_credentials_backend: file
save_credentials_file: /your/credentials/json/path
get_refresh_token: True
oauth_scope:
  - https://www.googleapis.com/auth/drive.file

If you set save_credentials: True, you need to login to your Google account only for the first time.

Run server for the first time and login to Google account

Run google drive server and login to Google account for the first time.

export GOOGLE_DRIVE_SETTINGS_YAML=/your/settings/yaml/path
roslaunch gdrive_ros gdrive_server.launch

Usage

Run server

export GOOGLE_DRIVE_SETTINGS_YAML=/your/settings/yaml/path
roslaunch gdrive_ros gdrive_server.launch

Call upload service

# single upload
rosservice call /gdrive_ros/upload ...
# multiple upload
rosservice call /gdrive_ros/upload_multi ...

Parameters

  • ~settings_yaml (string, default: None)

    • PyDrive settings yaml path
  • ~share_type (string, default: anyone, candidates: user, group, domain and anyone)

    • Uploaded file share type
    • For more information, please read here.
  • ~share_value (string, default: anyone)

    • Uploaded file share value
  • ~share_role (string, default: reader)

    • Uploaded file share role
  • ~share_with_link (bool, default: true)

    • Uploaded file share with link or not

Services

gdrive_ros/Upload

This service is for uploading single file in same Google Drive folder.

Request

  • file_path (string, default: '')

    • Uploaded file path
  • file_title (string: default: file_path.split('/')[-1])

    • Uploaded file title in Google Drive
  • parents_path (string, default: '')

    • Parents path in Google Drive splitted by /
  • parents_id (string, default: '')

    • Parents id in Google Drive
    • If both parents_path and parents_id are set , parents_id will be used.
  • use_timestamp_folder (bool, default: false)

    • Use timestamp folder to upload
    • Uploaded file will be saved in file_path/timestamp folder.
  • use_timestamp_file_title (bool, default: false)

    • Use timestamp for file_title
    • Uploaded file will be save as {}_{}.format(timestamp file_title).

Response

  • success (bool)

    • Upload succeeded or not
  • file_id (string)

    • Uploaded file id in Google Drive
  • file_url (string)

    • Uploaded file url in Google Drive
  • parents_id (string)

    • Parents folder id of uploaded file in Google Drive
  • parents_url (string)

    • Parents folder url of uploaded file in Google Drive

gdrive_ros/MultipleUpload

This service is for uploading multiple files in same Google Drive folder.

Request

  • file_paths (string[], default: [])

    • Uploaded file paths
  • file_titles (string[]: default: [f for f in file_paths.split('/')[-1]])

    • Uploaded file titles in Google Drive
  • parents_path (string, default: '')

    • Parents path in Google Drive splitted by /
  • parents_id (string, default: '')

    • Parents id in Google Drive
    • If both parents_path and parents_id are set , parents_id will be used.
  • use_timestamp_folder (bool, default: false)

    • Use timestamp folder to upload
    • Uploaded file will be saved in file_path/timestamp folder.
  • use_timestamp_file_title (bool, default: false)

    • Use timestamp for file_title
    • Uploaded file will be save as {}_{}.format(timestamp file_title).

Response

  • successes (bool[])

    • Upload succeeded or not
  • file_ids (string[])

    • Uploaded file ids in Google Drive
  • file_urls (string[])

    • Uploaded file urls in Google Drive
  • parents_id (string)

    • Parents folder id of uploaded file in Google Drive
  • parents_url (string)

    • Parents folder url of uploaded file in Google Drive
CHANGELOG

Changelog for package gdrive_ros

2.1.21 (2020-08-19)

2.1.20 (2020-08-07)

2.1.19 (2020-07-21)

2.1.18 (2020-07-20)

  • [gdrive_ros] Fix gdrive_ros to catch error properly (#205)
    • fix ros log format in gdrive_ros
    • add oserr when file not found in gdrive_ros
  • Contributors: Kei Okada, Shingo Kitagawa

2.1.17 (2020-04-16)

2.1.16 (2020-04-16)

2.1.15 (2019-12-12)

  • add gdrive_ros package (#182)
  • Contributors: Shingo Kitagawa

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Dependant Packages

Launch files

Messages

No message files found.

Plugins

No plugins found.

Recent questions tagged gdrive_ros at answers.ros.org

Package Summary

Tags No category tags.
Version 2.1.21
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/jsk-ros-pkg/jsk_3rdparty.git
VCS Type git
VCS Version master
Last Updated 2020-11-23
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Google drive upload and download package

Additional Links

Maintainers

  • Shingo Kitagawa

Authors

  • Shingo Kitagawa

gdrive_ros

Google Drive file uploader for ROS

Installation

Setup and build workspace

cd ~
mkdir gdrive_ws/src -p
cd gdrive_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_3rdparty.git
rosdep install --ignore-src -from-paths . -y -r
cd ~/gdrive_ws
catkin init
catkin build

Do authentication of Google Drive API

Please follow step 1-5 in here.

Create your settings yaml

Please follow here.

My settings yaml is as follows;

client_config_file: /your/client/secrets/json/path
save_credentials: True
save_credentials_backend: file
save_credentials_file: /your/credentials/json/path
get_refresh_token: True
oauth_scope:
  - https://www.googleapis.com/auth/drive.file

If you set save_credentials: True, you need to login to your Google account only for the first time.

Run server for the first time and login to Google account

Run google drive server and login to Google account for the first time.

export GOOGLE_DRIVE_SETTINGS_YAML=/your/settings/yaml/path
roslaunch gdrive_ros gdrive_server.launch

Usage

Run server

export GOOGLE_DRIVE_SETTINGS_YAML=/your/settings/yaml/path
roslaunch gdrive_ros gdrive_server.launch

Call upload service

# single upload
rosservice call /gdrive_ros/upload ...
# multiple upload
rosservice call /gdrive_ros/upload_multi ...

Parameters

  • ~settings_yaml (string, default: None)

    • PyDrive settings yaml path
  • ~share_type (string, default: anyone, candidates: user, group, domain and anyone)

    • Uploaded file share type
    • For more information, please read here.
  • ~share_value (string, default: anyone)

    • Uploaded file share value
  • ~share_role (string, default: reader)

    • Uploaded file share role
  • ~share_with_link (bool, default: true)

    • Uploaded file share with link or not

Services

gdrive_ros/Upload

This service is for uploading single file in same Google Drive folder.

Request

  • file_path (string, default: '')

    • Uploaded file path
  • file_title (string: default: file_path.split('/')[-1])

    • Uploaded file title in Google Drive
  • parents_path (string, default: '')

    • Parents path in Google Drive splitted by /
  • parents_id (string, default: '')

    • Parents id in Google Drive
    • If both parents_path and parents_id are set , parents_id will be used.
  • use_timestamp_folder (bool, default: false)

    • Use timestamp folder to upload
    • Uploaded file will be saved in file_path/timestamp folder.
  • use_timestamp_file_title (bool, default: false)

    • Use timestamp for file_title
    • Uploaded file will be save as {}_{}.format(timestamp file_title).

Response

  • success (bool)

    • Upload succeeded or not
  • file_id (string)

    • Uploaded file id in Google Drive
  • file_url (string)

    • Uploaded file url in Google Drive
  • parents_id (string)

    • Parents folder id of uploaded file in Google Drive
  • parents_url (string)

    • Parents folder url of uploaded file in Google Drive

gdrive_ros/MultipleUpload

This service is for uploading multiple files in same Google Drive folder.

Request

  • file_paths (string[], default: [])

    • Uploaded file paths
  • file_titles (string[]: default: [f for f in file_paths.split('/')[-1]])

    • Uploaded file titles in Google Drive
  • parents_path (string, default: '')

    • Parents path in Google Drive splitted by /
  • parents_id (string, default: '')

    • Parents id in Google Drive
    • If both parents_path and parents_id are set , parents_id will be used.
  • use_timestamp_folder (bool, default: false)

    • Use timestamp folder to upload
    • Uploaded file will be saved in file_path/timestamp folder.
  • use_timestamp_file_title (bool, default: false)

    • Use timestamp for file_title
    • Uploaded file will be save as {}_{}.format(timestamp file_title).

Response

  • successes (bool[])

    • Upload succeeded or not
  • file_ids (string[])

    • Uploaded file ids in Google Drive
  • file_urls (string[])

    • Uploaded file urls in Google Drive
  • parents_id (string)

    • Parents folder id of uploaded file in Google Drive
  • parents_url (string)

    • Parents folder url of uploaded file in Google Drive
CHANGELOG

Changelog for package gdrive_ros

2.1.21 (2020-08-19)

2.1.20 (2020-08-07)

2.1.19 (2020-07-21)

2.1.18 (2020-07-20)

  • [gdrive_ros] Fix gdrive_ros to catch error properly (#205)
    • fix ros log format in gdrive_ros
    • add oserr when file not found in gdrive_ros
  • Contributors: Kei Okada, Shingo Kitagawa

2.1.17 (2020-04-16)

2.1.16 (2020-04-16)

2.1.15 (2019-12-12)

  • add gdrive_ros package (#182)
  • Contributors: Shingo Kitagawa

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Dependant Packages

Launch files

Messages

No message files found.

Plugins

No plugins found.

Recent questions tagged gdrive_ros at answers.ros.org

Package Summary

Tags No category tags.
Version 2.1.21
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/jsk-ros-pkg/jsk_3rdparty.git
VCS Type git
VCS Version master
Last Updated 2020-11-23
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Google drive upload and download package

Additional Links

Maintainers

  • Shingo Kitagawa

Authors

  • Shingo Kitagawa

gdrive_ros

Google Drive file uploader for ROS

Installation

Setup and build workspace

cd ~
mkdir gdrive_ws/src -p
cd gdrive_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_3rdparty.git
rosdep install --ignore-src -from-paths . -y -r
cd ~/gdrive_ws
catkin init
catkin build

Do authentication of Google Drive API

Please follow step 1-5 in here.

Create your settings yaml

Please follow here.

My settings yaml is as follows;

client_config_file: /your/client/secrets/json/path
save_credentials: True
save_credentials_backend: file
save_credentials_file: /your/credentials/json/path
get_refresh_token: True
oauth_scope:
  - https://www.googleapis.com/auth/drive.file

If you set save_credentials: True, you need to login to your Google account only for the first time.

Run server for the first time and login to Google account

Run google drive server and login to Google account for the first time.

export GOOGLE_DRIVE_SETTINGS_YAML=/your/settings/yaml/path
roslaunch gdrive_ros gdrive_server.launch

Usage

Run server

export GOOGLE_DRIVE_SETTINGS_YAML=/your/settings/yaml/path
roslaunch gdrive_ros gdrive_server.launch

Call upload service

# single upload
rosservice call /gdrive_ros/upload ...
# multiple upload
rosservice call /gdrive_ros/upload_multi ...

Parameters

  • ~settings_yaml (string, default: None)

    • PyDrive settings yaml path
  • ~share_type (string, default: anyone, candidates: user, group, domain and anyone)

    • Uploaded file share type
    • For more information, please read here.
  • ~share_value (string, default: anyone)

    • Uploaded file share value
  • ~share_role (string, default: reader)

    • Uploaded file share role
  • ~share_with_link (bool, default: true)

    • Uploaded file share with link or not

Services

gdrive_ros/Upload

This service is for uploading single file in same Google Drive folder.

Request

  • file_path (string, default: '')

    • Uploaded file path
  • file_title (string: default: file_path.split('/')[-1])

    • Uploaded file title in Google Drive
  • parents_path (string, default: '')

    • Parents path in Google Drive splitted by /
  • parents_id (string, default: '')

    • Parents id in Google Drive
    • If both parents_path and parents_id are set , parents_id will be used.
  • use_timestamp_folder (bool, default: false)

    • Use timestamp folder to upload
    • Uploaded file will be saved in file_path/timestamp folder.
  • use_timestamp_file_title (bool, default: false)

    • Use timestamp for file_title
    • Uploaded file will be save as {}_{}.format(timestamp file_title).

Response

  • success (bool)

    • Upload succeeded or not
  • file_id (string)

    • Uploaded file id in Google Drive
  • file_url (string)

    • Uploaded file url in Google Drive
  • parents_id (string)

    • Parents folder id of uploaded file in Google Drive
  • parents_url (string)

    • Parents folder url of uploaded file in Google Drive

gdrive_ros/MultipleUpload

This service is for uploading multiple files in same Google Drive folder.

Request

  • file_paths (string[], default: [])

    • Uploaded file paths
  • file_titles (string[]: default: [f for f in file_paths.split('/')[-1]])

    • Uploaded file titles in Google Drive
  • parents_path (string, default: '')

    • Parents path in Google Drive splitted by /
  • parents_id (string, default: '')

    • Parents id in Google Drive
    • If both parents_path and parents_id are set , parents_id will be used.
  • use_timestamp_folder (bool, default: false)

    • Use timestamp folder to upload
    • Uploaded file will be saved in file_path/timestamp folder.
  • use_timestamp_file_title (bool, default: false)

    • Use timestamp for file_title
    • Uploaded file will be save as {}_{}.format(timestamp file_title).

Response

  • successes (bool[])

    • Upload succeeded or not
  • file_ids (string[])

    • Uploaded file ids in Google Drive
  • file_urls (string[])

    • Uploaded file urls in Google Drive
  • parents_id (string)

    • Parents folder id of uploaded file in Google Drive
  • parents_url (string)

    • Parents folder url of uploaded file in Google Drive
CHANGELOG

Changelog for package gdrive_ros

2.1.21 (2020-08-19)

2.1.20 (2020-08-07)

2.1.19 (2020-07-21)

2.1.18 (2020-07-20)

  • [gdrive_ros] Fix gdrive_ros to catch error properly (#205)
    • fix ros log format in gdrive_ros
    • add oserr when file not found in gdrive_ros
  • Contributors: Kei Okada, Shingo Kitagawa

2.1.17 (2020-04-16)

2.1.16 (2020-04-16)

2.1.15 (2019-12-12)

  • add gdrive_ros package (#182)
  • Contributors: Shingo Kitagawa

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Dependant Packages

Launch files

Messages

No message files found.

Plugins

No plugins found.

Recent questions tagged gdrive_ros at answers.ros.org

No version for distro ardent. Known supported distros are highlighted in the buttons above.
No version for distro bouncy. Known supported distros are highlighted in the buttons above.
No version for distro crystal. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 2.1.21
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/jsk-ros-pkg/jsk_3rdparty.git
VCS Type git
VCS Version master
Last Updated 2020-11-23
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Google drive upload and download package

Additional Links

Maintainers

  • Shingo Kitagawa

Authors

  • Shingo Kitagawa

gdrive_ros

Google Drive file uploader for ROS

Installation

Setup and build workspace

cd ~
mkdir gdrive_ws/src -p
cd gdrive_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_3rdparty.git
rosdep install --ignore-src -from-paths . -y -r
cd ~/gdrive_ws
catkin init
catkin build

Do authentication of Google Drive API

Please follow step 1-5 in here.

Create your settings yaml

Please follow here.

My settings yaml is as follows;

client_config_file: /your/client/secrets/json/path
save_credentials: True
save_credentials_backend: file
save_credentials_file: /your/credentials/json/path
get_refresh_token: True
oauth_scope:
  - https://www.googleapis.com/auth/drive.file

If you set save_credentials: True, you need to login to your Google account only for the first time.

Run server for the first time and login to Google account

Run google drive server and login to Google account for the first time.

export GOOGLE_DRIVE_SETTINGS_YAML=/your/settings/yaml/path
roslaunch gdrive_ros gdrive_server.launch

Usage

Run server

export GOOGLE_DRIVE_SETTINGS_YAML=/your/settings/yaml/path
roslaunch gdrive_ros gdrive_server.launch

Call upload service

# single upload
rosservice call /gdrive_ros/upload ...
# multiple upload
rosservice call /gdrive_ros/upload_multi ...

Parameters

  • ~settings_yaml (string, default: None)

    • PyDrive settings yaml path
  • ~share_type (string, default: anyone, candidates: user, group, domain and anyone)

    • Uploaded file share type
    • For more information, please read here.
  • ~share_value (string, default: anyone)

    • Uploaded file share value
  • ~share_role (string, default: reader)

    • Uploaded file share role
  • ~share_with_link (bool, default: true)

    • Uploaded file share with link or not

Services

gdrive_ros/Upload

This service is for uploading single file in same Google Drive folder.

Request

  • file_path (string, default: '')

    • Uploaded file path
  • file_title (string: default: file_path.split('/')[-1])

    • Uploaded file title in Google Drive
  • parents_path (string, default: '')

    • Parents path in Google Drive splitted by /
  • parents_id (string, default: '')

    • Parents id in Google Drive
    • If both parents_path and parents_id are set , parents_id will be used.
  • use_timestamp_folder (bool, default: false)

    • Use timestamp folder to upload
    • Uploaded file will be saved in file_path/timestamp folder.
  • use_timestamp_file_title (bool, default: false)

    • Use timestamp for file_title
    • Uploaded file will be save as {}_{}.format(timestamp file_title).

Response

  • success (bool)

    • Upload succeeded or not
  • file_id (string)

    • Uploaded file id in Google Drive
  • file_url (string)

    • Uploaded file url in Google Drive
  • parents_id (string)

    • Parents folder id of uploaded file in Google Drive
  • parents_url (string)

    • Parents folder url of uploaded file in Google Drive

gdrive_ros/MultipleUpload

This service is for uploading multiple files in same Google Drive folder.

Request

  • file_paths (string[], default: [])

    • Uploaded file paths
  • file_titles (string[]: default: [f for f in file_paths.split('/')[-1]])

    • Uploaded file titles in Google Drive
  • parents_path (string, default: '')

    • Parents path in Google Drive splitted by /
  • parents_id (string, default: '')

    • Parents id in Google Drive
    • If both parents_path and parents_id are set , parents_id will be used.
  • use_timestamp_folder (bool, default: false)

    • Use timestamp folder to upload
    • Uploaded file will be saved in file_path/timestamp folder.
  • use_timestamp_file_title (bool, default: false)

    • Use timestamp for file_title
    • Uploaded file will be save as {}_{}.format(timestamp file_title).

Response

  • successes (bool[])

    • Upload succeeded or not
  • file_ids (string[])

    • Uploaded file ids in Google Drive
  • file_urls (string[])

    • Uploaded file urls in Google Drive
  • parents_id (string)

    • Parents folder id of uploaded file in Google Drive
  • parents_url (string)

    • Parents folder url of uploaded file in Google Drive
CHANGELOG

Changelog for package gdrive_ros

2.1.21 (2020-08-19)

2.1.20 (2020-08-07)

2.1.19 (2020-07-21)

2.1.18 (2020-07-20)

  • [gdrive_ros] Fix gdrive_ros to catch error properly (#205)
    • fix ros log format in gdrive_ros
    • add oserr when file not found in gdrive_ros
  • Contributors: Kei Okada, Shingo Kitagawa

2.1.17 (2020-04-16)

2.1.16 (2020-04-16)

2.1.15 (2019-12-12)

  • add gdrive_ros package (#182)
  • Contributors: Shingo Kitagawa

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Dependant Packages

Launch files

Messages

No message files found.

Plugins

No plugins found.

Recent questions tagged gdrive_ros at answers.ros.org

Package Summary

Tags No category tags.
Version 2.1.21
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/jsk-ros-pkg/jsk_3rdparty.git
VCS Type git
VCS Version master
Last Updated 2020-11-23
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Google drive upload and download package

Additional Links

Maintainers

  • Shingo Kitagawa

Authors

  • Shingo Kitagawa

gdrive_ros

Google Drive file uploader for ROS

Installation

Setup and build workspace

cd ~
mkdir gdrive_ws/src -p
cd gdrive_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_3rdparty.git
rosdep install --ignore-src -from-paths . -y -r
cd ~/gdrive_ws
catkin init
catkin build

Do authentication of Google Drive API

Please follow step 1-5 in here.

Create your settings yaml

Please follow here.

My settings yaml is as follows;

client_config_file: /your/client/secrets/json/path
save_credentials: True
save_credentials_backend: file
save_credentials_file: /your/credentials/json/path
get_refresh_token: True
oauth_scope:
  - https://www.googleapis.com/auth/drive.file

If you set save_credentials: True, you need to login to your Google account only for the first time.

Run server for the first time and login to Google account

Run google drive server and login to Google account for the first time.

export GOOGLE_DRIVE_SETTINGS_YAML=/your/settings/yaml/path
roslaunch gdrive_ros gdrive_server.launch

Usage

Run server

export GOOGLE_DRIVE_SETTINGS_YAML=/your/settings/yaml/path
roslaunch gdrive_ros gdrive_server.launch

Call upload service

# single upload
rosservice call /gdrive_ros/upload ...
# multiple upload
rosservice call /gdrive_ros/upload_multi ...

Parameters

  • ~settings_yaml (string, default: None)

    • PyDrive settings yaml path
  • ~share_type (string, default: anyone, candidates: user, group, domain and anyone)

    • Uploaded file share type
    • For more information, please read here.
  • ~share_value (string, default: anyone)

    • Uploaded file share value
  • ~share_role (string, default: reader)

    • Uploaded file share role
  • ~share_with_link (bool, default: true)

    • Uploaded file share with link or not

Services

gdrive_ros/Upload

This service is for uploading single file in same Google Drive folder.

Request

  • file_path (string, default: '')

    • Uploaded file path
  • file_title (string: default: file_path.split('/')[-1])

    • Uploaded file title in Google Drive
  • parents_path (string, default: '')

    • Parents path in Google Drive splitted by /
  • parents_id (string, default: '')

    • Parents id in Google Drive
    • If both parents_path and parents_id are set , parents_id will be used.
  • use_timestamp_folder (bool, default: false)

    • Use timestamp folder to upload
    • Uploaded file will be saved in file_path/timestamp folder.
  • use_timestamp_file_title (bool, default: false)

    • Use timestamp for file_title
    • Uploaded file will be save as {}_{}.format(timestamp file_title).

Response

  • success (bool)

    • Upload succeeded or not
  • file_id (string)

    • Uploaded file id in Google Drive
  • file_url (string)

    • Uploaded file url in Google Drive
  • parents_id (string)

    • Parents folder id of uploaded file in Google Drive
  • parents_url (string)

    • Parents folder url of uploaded file in Google Drive

gdrive_ros/MultipleUpload

This service is for uploading multiple files in same Google Drive folder.

Request

  • file_paths (string[], default: [])

    • Uploaded file paths
  • file_titles (string[]: default: [f for f in file_paths.split('/')[-1]])

    • Uploaded file titles in Google Drive
  • parents_path (string, default: '')

    • Parents path in Google Drive splitted by /
  • parents_id (string, default: '')

    • Parents id in Google Drive
    • If both parents_path and parents_id are set , parents_id will be used.
  • use_timestamp_folder (bool, default: false)

    • Use timestamp folder to upload
    • Uploaded file will be saved in file_path/timestamp folder.
  • use_timestamp_file_title (bool, default: false)

    • Use timestamp for file_title
    • Uploaded file will be save as {}_{}.format(timestamp file_title).

Response

  • successes (bool[])

    • Upload succeeded or not
  • file_ids (string[])

    • Uploaded file ids in Google Drive
  • file_urls (string[])

    • Uploaded file urls in Google Drive
  • parents_id (string)

    • Parents folder id of uploaded file in Google Drive
  • parents_url (string)

    • Parents folder url of uploaded file in Google Drive
CHANGELOG

Changelog for package gdrive_ros

2.1.21 (2020-08-19)

2.1.20 (2020-08-07)

2.1.19 (2020-07-21)

2.1.18 (2020-07-20)

  • [gdrive_ros] Fix gdrive_ros to catch error properly (#205)
    • fix ros log format in gdrive_ros
    • add oserr when file not found in gdrive_ros
  • Contributors: Kei Okada, Shingo Kitagawa

2.1.17 (2020-04-16)

2.1.16 (2020-04-16)

2.1.15 (2019-12-12)

  • add gdrive_ros package (#182)
  • Contributors: Shingo Kitagawa

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Dependant Packages

Launch files

Messages

No message files found.

Plugins

No plugins found.

Recent questions tagged gdrive_ros at answers.ros.org

Package Summary

Tags No category tags.
Version 2.1.21
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/jsk-ros-pkg/jsk_3rdparty.git
VCS Type git
VCS Version master
Last Updated 2020-11-23
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Google drive upload and download package

Additional Links

Maintainers

  • Shingo Kitagawa

Authors

  • Shingo Kitagawa

gdrive_ros

Google Drive file uploader for ROS

Installation

Setup and build workspace

cd ~
mkdir gdrive_ws/src -p
cd gdrive_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_3rdparty.git
rosdep install --ignore-src -from-paths . -y -r
cd ~/gdrive_ws
catkin init
catkin build

Do authentication of Google Drive API

Please follow step 1-5 in here.

Create your settings yaml

Please follow here.

My settings yaml is as follows;

client_config_file: /your/client/secrets/json/path
save_credentials: True
save_credentials_backend: file
save_credentials_file: /your/credentials/json/path
get_refresh_token: True
oauth_scope:
  - https://www.googleapis.com/auth/drive.file

If you set save_credentials: True, you need to login to your Google account only for the first time.

Run server for the first time and login to Google account

Run google drive server and login to Google account for the first time.

export GOOGLE_DRIVE_SETTINGS_YAML=/your/settings/yaml/path
roslaunch gdrive_ros gdrive_server.launch

Usage

Run server

export GOOGLE_DRIVE_SETTINGS_YAML=/your/settings/yaml/path
roslaunch gdrive_ros gdrive_server.launch

Call upload service

# single upload
rosservice call /gdrive_ros/upload ...
# multiple upload
rosservice call /gdrive_ros/upload_multi ...

Parameters

  • ~settings_yaml (string, default: None)

    • PyDrive settings yaml path
  • ~share_type (string, default: anyone, candidates: user, group, domain and anyone)

    • Uploaded file share type
    • For more information, please read here.
  • ~share_value (string, default: anyone)

    • Uploaded file share value
  • ~share_role (string, default: reader)

    • Uploaded file share role
  • ~share_with_link (bool, default: true)

    • Uploaded file share with link or not

Services

gdrive_ros/Upload

This service is for uploading single file in same Google Drive folder.

Request

  • file_path (string, default: '')

    • Uploaded file path
  • file_title (string: default: file_path.split('/')[-1])

    • Uploaded file title in Google Drive
  • parents_path (string, default: '')

    • Parents path in Google Drive splitted by /
  • parents_id (string, default: '')

    • Parents id in Google Drive
    • If both parents_path and parents_id are set , parents_id will be used.
  • use_timestamp_folder (bool, default: false)

    • Use timestamp folder to upload
    • Uploaded file will be saved in file_path/timestamp folder.
  • use_timestamp_file_title (bool, default: false)

    • Use timestamp for file_title
    • Uploaded file will be save as {}_{}.format(timestamp file_title).

Response

  • success (bool)

    • Upload succeeded or not
  • file_id (string)

    • Uploaded file id in Google Drive
  • file_url (string)

    • Uploaded file url in Google Drive
  • parents_id (string)

    • Parents folder id of uploaded file in Google Drive
  • parents_url (string)

    • Parents folder url of uploaded file in Google Drive

gdrive_ros/MultipleUpload

This service is for uploading multiple files in same Google Drive folder.

Request

  • file_paths (string[], default: [])

    • Uploaded file paths
  • file_titles (string[]: default: [f for f in file_paths.split('/')[-1]])

    • Uploaded file titles in Google Drive
  • parents_path (string, default: '')

    • Parents path in Google Drive splitted by /
  • parents_id (string, default: '')

    • Parents id in Google Drive
    • If both parents_path and parents_id are set , parents_id will be used.
  • use_timestamp_folder (bool, default: false)

    • Use timestamp folder to upload
    • Uploaded file will be saved in file_path/timestamp folder.
  • use_timestamp_file_title (bool, default: false)

    • Use timestamp for file_title
    • Uploaded file will be save as {}_{}.format(timestamp file_title).

Response

  • successes (bool[])

    • Upload succeeded or not
  • file_ids (string[])

    • Uploaded file ids in Google Drive
  • file_urls (string[])

    • Uploaded file urls in Google Drive
  • parents_id (string)

    • Parents folder id of uploaded file in Google Drive
  • parents_url (string)

    • Parents folder url of uploaded file in Google Drive
CHANGELOG

Changelog for package gdrive_ros

2.1.21 (2020-08-19)

2.1.20 (2020-08-07)

2.1.19 (2020-07-21)

2.1.18 (2020-07-20)

  • [gdrive_ros] Fix gdrive_ros to catch error properly (#205)
    • fix ros log format in gdrive_ros
    • add oserr when file not found in gdrive_ros
  • Contributors: Kei Okada, Shingo Kitagawa

2.1.17 (2020-04-16)

2.1.16 (2020-04-16)

2.1.15 (2019-12-12)

  • add gdrive_ros package (#182)
  • Contributors: Shingo Kitagawa

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Dependant Packages

Launch files

Messages

No message files found.

Plugins

No plugins found.

Recent questions tagged gdrive_ros at answers.ros.org

Package Summary

Tags No category tags.
Version 2.1.21
License BSD
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/jsk-ros-pkg/jsk_3rdparty.git
VCS Type git
VCS Version master
Last Updated 2020-11-23
Dev Status DEVELOPED
CI status No Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

Google drive upload and download package

Additional Links

Maintainers

  • Shingo Kitagawa

Authors

  • Shingo Kitagawa

gdrive_ros

Google Drive file uploader for ROS

Installation

Setup and build workspace

cd ~
mkdir gdrive_ws/src -p
cd gdrive_ws/src
git clone https://github.com/jsk-ros-pkg/jsk_3rdparty.git
rosdep install --ignore-src -from-paths . -y -r
cd ~/gdrive_ws
catkin init
catkin build

Do authentication of Google Drive API

Please follow step 1-5 in here.

Create your settings yaml

Please follow here.

My settings yaml is as follows;

client_config_file: /your/client/secrets/json/path
save_credentials: True
save_credentials_backend: file
save_credentials_file: /your/credentials/json/path
get_refresh_token: True
oauth_scope:
  - https://www.googleapis.com/auth/drive.file

If you set save_credentials: True, you need to login to your Google account only for the first time.

Run server for the first time and login to Google account

Run google drive server and login to Google account for the first time.

export GOOGLE_DRIVE_SETTINGS_YAML=/your/settings/yaml/path
roslaunch gdrive_ros gdrive_server.launch

Usage

Run server

export GOOGLE_DRIVE_SETTINGS_YAML=/your/settings/yaml/path
roslaunch gdrive_ros gdrive_server.launch

Call upload service

# single upload
rosservice call /gdrive_ros/upload ...
# multiple upload
rosservice call /gdrive_ros/upload_multi ...

Parameters

  • ~settings_yaml (string, default: None)

    • PyDrive settings yaml path
  • ~share_type (string, default: anyone, candidates: user, group, domain and anyone)

    • Uploaded file share type
    • For more information, please read here.
  • ~share_value (string, default: anyone)

    • Uploaded file share value
  • ~share_role (string, default: reader)

    • Uploaded file share role
  • ~share_with_link (bool, default: true)

    • Uploaded file share with link or not

Services

gdrive_ros/Upload

This service is for uploading single file in same Google Drive folder.

Request

  • file_path (string, default: '')

    • Uploaded file path
  • file_title (string: default: file_path.split('/')[-1])

    • Uploaded file title in Google Drive
  • parents_path (string, default: '')

    • Parents path in Google Drive splitted by /
  • parents_id (string, default: '')

    • Parents id in Google Drive
    • If both parents_path and parents_id are set , parents_id will be used.
  • use_timestamp_folder (bool, default: false)

    • Use timestamp folder to upload
    • Uploaded file will be saved in file_path/timestamp folder.
  • use_timestamp_file_title (bool, default: false)

    • Use timestamp for file_title
    • Uploaded file will be save as {}_{}.format(timestamp file_title).

Response

  • success (bool)

    • Upload succeeded or not
  • file_id (string)

    • Uploaded file id in Google Drive
  • file_url (string)

    • Uploaded file url in Google Drive
  • parents_id (string)

    • Parents folder id of uploaded file in Google Drive
  • parents_url (string)

    • Parents folder url of uploaded file in Google Drive

gdrive_ros/MultipleUpload

This service is for uploading multiple files in same Google Drive folder.

Request

  • file_paths (string[], default: [])

    • Uploaded file paths
  • file_titles (string[]: default: [f for f in file_paths.split('/')[-1]])

    • Uploaded file titles in Google Drive
  • parents_path (string, default: '')

    • Parents path in Google Drive splitted by /
  • parents_id (string, default: '')

    • Parents id in Google Drive
    • If both parents_path and parents_id are set , parents_id will be used.
  • use_timestamp_folder (bool, default: false)

    • Use timestamp folder to upload
    • Uploaded file will be saved in file_path/timestamp folder.
  • use_timestamp_file_title (bool, default: false)

    • Use timestamp for file_title
    • Uploaded file will be save as {}_{}.format(timestamp file_title).

Response

  • successes (bool[])

    • Upload succeeded or not
  • file_ids (string[])

    • Uploaded file ids in Google Drive
  • file_urls (string[])

    • Uploaded file urls in Google Drive
  • parents_id (string)

    • Parents folder id of uploaded file in Google Drive
  • parents_url (string)

    • Parents folder url of uploaded file in Google Drive
CHANGELOG

Changelog for package gdrive_ros

2.1.21 (2020-08-19)

2.1.20 (2020-08-07)

2.1.19 (2020-07-21)

2.1.18 (2020-07-20)

  • [gdrive_ros] Fix gdrive_ros to catch error properly (#205)
    • fix ros log format in gdrive_ros
    • add oserr when file not found in gdrive_ros
  • Contributors: Kei Okada, Shingo Kitagawa

2.1.17 (2020-04-16)

2.1.16 (2020-04-16)

2.1.15 (2019-12-12)

  • add gdrive_ros package (#182)
  • Contributors: Shingo Kitagawa

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Dependant Packages

Launch files

Messages

No message files found.

Plugins

No plugins found.

Recent questions tagged gdrive_ros at answers.ros.org