Coder Social home page Coder Social logo

robotsmp's Introduction

RobotsMP (Workshop in Software Models)

A system of robots, targets and obstacles on a board

Requirements:

  1. The robots should get to their targets infinitely often in every run.
  2. The robots should not collide with each other or the obstacles.
  3. The robots should move in steps of at most 1 in each direction, and only in one direction.

Simulation:

The simulation generates random goals for the robots and displays the robots movements provided by the controller. The simulation follows the environment assumptions :

  • The goals locations are unique and don’t collide with an obstacle
  • The goals only change when all robots reach their destinations

Variants:

  1. Fixed goals variant- The robots goals are pre-defined and never change.
  2. Changing goals variant- Once all the robots reach their goals, the goals change.
  3. Unlabeled variant- All robots should reach some target, and once they do, the goals change.
  4. Limited fuel variant - each robot has limited number of steps it can make before all robots reach their pre-defined goals.

Scenes:

4 obstacles, 2 robots , 5X5 board:

4 obstacles, 3 robots, 4X4 board:

“Wall” of obstacles- Unrealizable scene (Robots can't reach their targets):

Insufficient fuel- Unrealizable scene (Robots can't reach their targets):


Comments: The project includes 2 main parts:

  1. Spectra specification- Spectra is a formal specification language for reactive systems which consists of logical constraints, guarantees and assumptions, which describe temporal relations between inputs and outputs. Given a Spectra specification, construct a reactive system implementation, if one exits, that ensures satisfaction of the specification for all computations.
  2. GUI (Java Swing).

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.