Skip to content

LibermanDaniel/gyrocube-hub-simulator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hub Simulator for Gyrocube project

The script provides simple and easy-to-maintenance interface fpr Gyrocube project.

Scenarios

Hub Simulator script provides several simple scenarios that simulate communication.
They can be easily configured by passing parameters to respective functions.

Activa scenario

In active scenario, cubes dynamically join the network and can be periodically flipped.

Flipping scenario

In flipping scenario, cubes are already in the network and are periodically flipped.

Usage

Using conda:

conda env create -f environment.yml
conda activate hubsim

Using vanilla python:

pip install paho-mqtt

After that, configure MQTT server address, port and desired scenario in main.py.
python main.py to run the scenario.

About

Hub simulator for Gyrocube enviornment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%