-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from Fingerling42/dev-3.0.0
Update main branch to 3.0.0
- Loading branch information
Showing
22 changed files
with
459 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,11 +68,11 @@ Available features include: | |
* **Launch function** — launching a device to execute any command with a specified set of parameters passed as a file. | ||
* **Datalog function** — publishing any device data in a form of hash to parachain. | ||
* **Usage of Robonomics subscription** — the ability to send transactions without a fee. | ||
* **Secure file storage** — to pack and unpack data, [InterPlanetary File System](https://ipfs.tech/) is used, which allows to access | ||
files by their unique hash; for convenient usage of IPFS, [Pinata](https://www.pinata.cloud/) support included, which | ||
allows to pin IPFS files for fast downloading. | ||
* **File encryption and decryption** — protection of files with public key encryption. | ||
|
||
To pack and unpack data, [InterPlanetary File System](https://ipfs.tech/) is used, which allows to access files | ||
by their unique hash. | ||
|
||
To learn more about Robonomics, please refer to the official documentation: | ||
[wiki.robonomics.network](https://wiki.robonomics.network/). | ||
|
||
|
@@ -169,15 +169,17 @@ Pay attention to the `account_seed` and `crypto_type` fields, as they determine | |
> **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. | ||
If you want to use a custom Robonomics node or a local one, change the `remote_node_url` parameter. | ||
If you have a Robonomics subscription that allows you to send transactions without fees, please insert the address | ||
of the subscription owner to the `rws_owner_address` field. Don't forget that your account must be added | ||
to your subscription. | ||
|
||
You may also want to change the directory where the files for IPFS will be stored. To do this, change the | ||
parameter `ipfs_dir_path`, otherwise it will use the default directory. | ||
parameter `ipfs_dir_path`, otherwise it will use the default directory. The `ipfs_gateway` parameter allows you | ||
to specify the gateway through which IPFS files will be downloaded. | ||
|
||
The fields `crypt_recipient_address` and `crypt_sender_address` are used to specify file encryption and | ||
decryption addresses. | ||
The `pinata_api_key` and `pinata_api_secret_key` parameters are needed to access Pinata API. | ||
|
||
<p align="right">(<a href="#readme-top">back to top</a>)</p> | ||
|
||
|
@@ -191,10 +193,10 @@ decryption addresses. | |
ipfs daemon | ||
``` | ||
|
||
2. Create two configuration files for two instances of Turtlesim and Robonomics pubsub. | ||
2. Create two configuration files for two pubsub instances, each for a different Turtlesim. | ||
|
||
3. Run the ROS 2 launch files for two turtle with different configuration files and namespaces (this is necessary to | ||
distinguish between identical nodes for different instances). They will launch all necessary nodes: Turtlesim itself, | ||
distinguish between identical nodes). They will launch all necessary nodes: Turtlesim itself, | ||
wrapper implementation for Turtlesim and Robonomics pubsub: | ||
|
||
```shell | ||
|
@@ -296,10 +298,9 @@ the `/robonomics_ros2_robot_handler/launch` directory. This launch file takes tw | |
- [x] Add IPFS support | ||
- [x] Add file encryption | ||
- [x] Add support for Robonomics subscription | ||
- [ ] Add support for IPFS pinning service | ||
- [ ] Add checks for IPFS file availability | ||
- [x] Add support for IPFS pinning service (Pinata) | ||
- [x] Add a selection of the IPFS gateway | ||
- [ ] Add digital twin functionality | ||
- [ ] Add a selection of the IPFS connection type | ||
- [ ] Rosbag2 integration? | ||
|
||
You can [open issue](https://github.com/Fingerling42/robonomics-ros2/issues) to request a function or ask for bug fix. | ||
|
@@ -327,14 +328,14 @@ Distributed under the Apache-2.0 License. See `LICENSE.txt` for more information | |
<!-- CONTACT --> | ||
## Contact | ||
|
||
Ivan Berman — [@berman_ivan](https://twitter.com/berman_ivan) — [email protected] | ||
Ivan Berman — [@berman_ivan](https://twitter.com/berman_ivan) — [email protected] | ||
|
||
<p align="right">(<a href="#readme-top">back to top</a>)</p> | ||
|
||
<!-- ACKNOWLEDGMENTS --> | ||
## Acknowledgments | ||
|
||
* [robonomics-interface docs](https://multi-agent-io.github.io/robonomics-interface/index.html) | ||
* [robonomics-interface docs](https://airalab.github.io/robonomics-interface) | ||
* [Best-README-Template](https://github.com/othneildrew/Best-README-Template/) | ||
|
||
<p align="right">(<a href="#readme-top">back to top</a>)</p> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>robonomics_ros2_interfaces</name> | ||
<version>2.0.0</version> | ||
<version>3.0.0</version> | ||
<description>Description of all message/services types for Robonomics wrapper for ROS 2</description> | ||
<maintainer email="[email protected]">Ivan Berman</maintainer> | ||
<license>Apache-2.0</license> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
string[] rws_users_list # List of RWS users |
1 change: 0 additions & 1 deletion
1
robonomics_ros2_interfaces/srv/RobonomicsROS2ReceiveDatalog.srv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
string sender_address # Address from which is needed to receive the datalog | ||
string datalog_file_name '' # Name for IPFS file, default will be IPFS hash | ||
bool decrypt_status False # Status if IPFS file should be decrypted, default is False | ||
--- | ||
builtin_interfaces/Time timestamp # Timestamp of datalog | ||
string datalog_content # Can be just string or file name, downloaded from IPFS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
string datalog_content # Can be just string or file name, that will be uploaded to IPFS | ||
bool ipfs_file_status True # Status if datalog is needed to sent as IPFS file, default is True | ||
bool encrypt_status False # Status if IPFS file should be encrypted, default is False | ||
string datalog_file_name # File name that need to be uploaded to IPFS | ||
string[] encrypt_recipient_addresses [] # Addresses for file encryption, if empty, encryption will not be performed | ||
--- | ||
string datalog_hash # Hash of the datalog transaction | ||
string datalog_hash # Hash of the datalog transaction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
string param_file_name # Name of file that contains parameter | ||
string target_address # Address to be triggered with launch | ||
string param_file_name # Name of file that contains parameter | ||
string target_address # Address to be triggered with launch | ||
bool encrypt_status True # Check whether the parameter file needs to be encrypted with the target address, default is True | ||
--- | ||
string launch_hash # Hash of the launch transaction | ||
string launch_hash # Hash of the launch transaction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?> | ||
<package format="3"> | ||
<name>robonomics_ros2_pubsub</name> | ||
<version>2.0.0</version> | ||
<version>3.0.0</version> | ||
<description>Package for using Robonomics functions from ROS 2</description> | ||
<maintainer email="[email protected]">Ivan Berman</maintainer> | ||
<license>Apache-2.0</license> | ||
|
Oops, something went wrong.