This is reference implementation of robot economics protocol.
Robonomics communication stack contains a set of ROS packages for economical communication purposes.
Installation process is similar to any ROS catkin package set.
mkdir -p ws/src && cd ws/src
git clone https://github.com/airalab/robonomics_comm
catkin_init_workspace && cd .. && catkin_make
robonomics_comm
also can be builded with Nix,nix build -f release.nix
.
Liability package implements protocol part about robot liability smart contract actions. It provide methods for robot task/result store, delivery and interpretation.
This packages implements robonomics control rules described at article.
# Launch liability
. ws/devel/setup.bash
roslaunch robonomics_liability liability.launch \
keyfile:="$WORKSPACE/keyfile" \
keyfile_password_file:="$WORKSPACE/keyfile_password_file" \
web3_http_provider:="https://mainnet.infura.io/v3/cd7368514cbd4135b06e2c5581a4fff7" \
web3_ws_provider:="wss://mainnet.infura.io/ws"
Rostest framework is used for Robonomics communication stack testing.
Run test command:
make test
Nix is requred for testing.