Code Monkey home page Code Monkey logo

robot-as-a-service-using-robonomics's Introduction

Robot-as-a-service-using-Robonomics

REQUIREMENTS:

=>ROS melodic, Gazebo

=>Some extra packages: sudo apt-get install ros-melodic-gazebo-ros-control ros-melodic-effort-controllers ros-melodic-joint-state-controller

=>IPFS 0.4.22

tar -xvzf go-ipfs_v0.4.22_linux-386.tar.gz

cd go-ipfs/

sudo bash install.sh

ipfs init

=>ipfshttpclient

pip3 install ipfshttpclient

=>substrate-interface

pip3 install substrate-interface

=>Robonomics node (binary file):https://github.com/airalab/robonomics/releases

Running the model:

roslaunch manipulator_gazebo manipulator_empty_world.launch

rosrun manipulator_gazebo move_arm_server

./robonomics --dev --tmp

ipfs daemon

rosrun kuka_controller move_arm_client.py

Open robonomics parachain portal: https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fkusama.rpc.robonomics.network%2F#/explorer

and switch to local node.Screenshot from 2022-06-26 22-32-37

Then go to Accounts and create KUKA account. Save account's mnemonic key, you will need it later.

Screenshot from 2022-06-26 22-36-52

Send some units to the new account from one of default accounts.

Screenshot from 2022-06-26 22-38-43

In config directory in kuka_control package you need to create config file with this lines, where <your_mnemonic> is saved mnemonic seed:

{

"kuka_mnemonic": "<your_mnemonic>",

"node": "ws://127.0.0.1:9944"

}

In Robonomics Parachain portal go to Developer/Extrinsics, change extrinsic to launch. Chose your KUKA account in robot and change param to Yes. The press Submit Transaction

Screenshot from 2022-06-26 22-46-23

Final Result:

robotics_project.mp4

robot-as-a-service-using-robonomics's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.