Skip to content

hsu-aut/RIVA_Decentralized_Communication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RIVA_Decentralized_Communication

Preliminaries:

  1. Install necessary requirements --> pip install requirements.txt

Using the Map Generator:

  1. Open the file "map.xlsx" and define the positions of obstacles
    • Black cells will be obstacles
    • White cells will be free of obstacles
  2. Open the folder "map_generator" in your Integrated Development Environments (IDE), i.e. VS Code
  3. Run the file "map_generator.py" --> a list with the coordinates of the obstacles will be generated --> obstacles.py
  4. Copy the file into the folder "simulation/world"

Using the Simulation:

  1. Open the folder "simulation" in your IDE
  2. Configure your individual simulation in the file constants.py
    • CYCLES: 1-10, defining how many simulation cycles shall be performed
    • NUMBER_OF_ROVERS: 2-10, defining how many rovers shall be included
    • COMM_TYPE: [No_Comm, Timing_Selective, Content_Selective, Receiver_Selective, Integrated, Full_Comm], defining the communication type for the simulation cycles
    • further configuration parameters, if necessary
  3. run the file "main.py"
  4. The simulation output data will be saved in several files in simulation/output_logger/plotted_data

Enjoy!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages