From 9eb545519ffbdc19355d94d49d4975a5632b0c21 Mon Sep 17 00:00:00 2001 From: Fingerling42 Date: Fri, 1 Mar 2024 20:01:16 +0200 Subject: [PATCH] Updated README --- README.md | 17 +++++++++++++---- requirements.txt | 3 +-- robonomics_ros2_pubsub/package.xml | 2 +- .../robonomics_ros2_sender.py | 2 -- robonomics_ros2_pubsub/setup.py | 2 +- 5 files changed, 16 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d81d4ee..e708b19 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ https://wiki.robonomics.network/docs/create-account-in-dapp cp robonomics_ros2_pubsub/config/robonomics_params_template.yaml robonomics_ros2_pubsub/config/robonomics_params.yaml ``` -4. Insert the account seed phrase and the account type into new `robonomics_params.yaml` file: +4. Insert the account seed phrase and the account type into new `robonomics_params.yaml` file. ```yaml /**: ros__parameters: @@ -154,17 +154,26 @@ https://wiki.robonomics.network/docs/create-account-in-dapp > **WARNING**: The seed phrase is sensitive information that allows anyone to use your account. Make sure you don't > upload a config file with it to GitHub or anywhere else. + +5. If you have a Robonomics subscription that allows you to send transactions without fees, please insert the address +of the subscription owner. Don't forget that your account must be added to your subscription. + + ```yaml + /**: + ros__parameters: + rws_owner_address: '' + ``` - You may also want to change the directory where the files for IPFS will be stored. To do this, change the parameter +6. You may also want to change the directory where the files for IPFS will be stored. To do this, change the parameter `ipfs_files_path`. -5. Then you can test the repository with turtlesim package or make your own robot integration. Anyway, after that +7. Then you can test the repository with turtlesim package or make your own robot integration. Anyway, after that you need to build the package. From `your_project_ws` directory run: ```shell colcon build ``` -6. Source the package to the environment (you will need it to do in every console instance): +8. Source the package to the environment (you will need it to do in every console instance): ```shell source install/setup.bash ``` diff --git a/requirements.txt b/requirements.txt index b9adf08..c6dde12 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,4 @@ IPFS-Toolkit>=0.5.19 PyYAML>=6.0.1 robonomics-interface>=1.6.1 -substrate-interface>=1.7.4 -scalecodec \ No newline at end of file +substrate-interface>=1.7.4 \ No newline at end of file diff --git a/robonomics_ros2_pubsub/package.xml b/robonomics_ros2_pubsub/package.xml index 0ca6efc..2ffbb3b 100644 --- a/robonomics_ros2_pubsub/package.xml +++ b/robonomics_ros2_pubsub/package.xml @@ -2,7 +2,7 @@ robonomics_ros2_pubsub - 0.0.3 + 0.0.4 Package for sending topic content to Robonomics datalog and getting content vise versa Ivan Berman Apache-2.0 diff --git a/robonomics_ros2_pubsub/robonomics_ros2_pubsub/robonomics_ros2_sender.py b/robonomics_ros2_pubsub/robonomics_ros2_pubsub/robonomics_ros2_sender.py index 71af68a..46b02cb 100644 --- a/robonomics_ros2_pubsub/robonomics_ros2_pubsub/robonomics_ros2_sender.py +++ b/robonomics_ros2_pubsub/robonomics_ros2_pubsub/robonomics_ros2_sender.py @@ -3,8 +3,6 @@ from rclpy.executors import MultiThreadedExecutor from rclpy.callback_groups import MutuallyExclusiveCallbackGroup -from robonomicsinterface import Launch - from robonomics_ros2_interfaces.srv import RobonomicsROS2SendDatalog, RobonomicsROS2SendLaunch from robonomics_ros2_pubsub.utils.crypto_utils import create_account, create_launch_datalog_instance diff --git a/robonomics_ros2_pubsub/setup.py b/robonomics_ros2_pubsub/setup.py index 635614f..cd093ba 100644 --- a/robonomics_ros2_pubsub/setup.py +++ b/robonomics_ros2_pubsub/setup.py @@ -6,7 +6,7 @@ setup( name=package_name, - version='0.0.3', + version='0.0.4', packages=find_packages(exclude=['test']), data_files=[ ('share/ament_index/resource_index/packages',