Skip to content

Latest commit

 

History

History
60 lines (38 loc) · 1.09 KB

README.md

File metadata and controls

60 lines (38 loc) · 1.09 KB

MRSFramework

Description

c++ Framework for MRS

  • Initiator: requests a service;
  • Participant: offers a service;
  • Watcher: stops simulation when all negotiations are completed.

Installation

Web Application

In order to execute the Web Application the Webtoolkit must be installed.

Please follow the Webtoolkit Installation for your Operational System.

git clone https://github.com/emweb/wt.git

cd wt-x.x.x
mkdir build
cd build
cmake ../

make
sudo make install

ROS Simulation

In case of Gazebo simulation, ROS also needs to be installed.

pip3 install -r requirements.txt

cd jade
make

cd ..
python3 benchmark.py

Execution

After compilation remember to add:

--docroot . --http-address 0.0.0.0 --http-port 808 --resources-dir=/usr/local/share/Wt/resources

example of execution:

./framework thor --docroot . --http-address 0.0.0.0 --http-port 808 --resources-dir=/usr/local/share/Wt/resources

css and images must be at the executable folder.