GithubHelp home page GithubHelp logo

sma-robotinhostileenv's Introduction

SMA-RobotInHostileEnv

General architecture

SMA-RobotInHostileEnv/
│
├── agents/
│   ├── robot_agents.py
│   └── object_agents.py
│
├── core/
│   ├── model.py
│   └── schedule.py
│
├── reports/
│   ├── .gitkeep
│
├── visualization/
│   └── server.py
│
├── README.md
├── requirements.txt
└── run.py

Robot Mission Simulation

This project simulates a multi-agent system where robots collaborate to collect and transform dangerous waste in a hostile environment. The environment is divided into three zones with varying levels of radioactivity, and the robots have different capabilities based on their type.

Table of Contents

Installation

  1. Clone the repository:

    git clone https://github.com/romain-mondelice/SMA-RobotInHostileEnv.git
    
  2. Navigate to the project directory:

    cd SMA-RobotInHostileEnv
    
  3. Install the required dependencies:

    pip install -r requirements.txt
    

Usage

To run the simulation, execute the following command:

python run.py

This will launch the simulation with the default configuration. You can modify the simulation parameters by editing the run.py file.

Design Choices

OOP - To elaborate and Complete

Code Structure

The project is organized into the following directories and files:

  • agents/: Contains the implementation of robot agents and object agents.

    • robot_agents.py: Defines the classes for green, yellow, and red robots, implementing their behaviors.
    • object_agents.py: Defines the classes for waste and radioactivity agents.
  • core/: Contains the core components of the simulation.

    • model.py: Defines the RobotMission model, which handles the simulation logic and environment.
    • schedule.py: Defines a custom scheduler for activating agents in a specific order.
  • visualization/: Contains the code for visualizing the simulation.

    • server.py: Sets up the visualization server using Mesa's built-in visualization tools.
  • run.py: The main entry point of the simulation. It creates an instance of the RobotMission model and runs the simulation.

Technical Choices

TODO

sma-robotinhostileenv's People

Contributors

romain-mondelice avatar

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.