Giter VIP home page Giter VIP logo

rts-project-backend's Introduction

RTS Project Backend

This is a FreeRTOS back-end project for Real-Time Railway Train Dispatching Simulation

What is this repository for?

The project is Java Spring Boot project based on Spring MVC, JSP, And Websockets.

A railway system consists of a network of tracks, set of trains, list of stations, and safety devices (signals, sensors, etc). Json-Schema is used to describe the structure of the document containing the railway network structure. The Json file is rail-map element which contains all other elements defines a railway network. The following types of railway elements are defined gate, connectionGate, segment, signal, switch and sensor Each element has a unique id. Moving trains and controlling structure states inside the network are accomplished by the simulator engine using the TrainMove and CollisionDetection modules. The simulator engine accesses the internal data and alters the state of the network through a set of function defined in the following modules: StructureQuer, DataTransformtion, SingalReceive and SignalApply. Signal is a message transmission between Simulation and Controller ( Controller is process in FreeRTOS ). When a train reach the border of the network controlled by a simulator it will calculated taking into account the following aspects: the dynamic train characteristics and the current status of the railway objects (the state of signals, semaphores and switches). The CollisionDetection implements an algorithm for detecting collision between trains which are moving on the same segment.

Version 1.0.0

How do I get set up?

  • Summary of set up
  • Configuration
  • Dependencies
  • Database configuration
  • How to run tests
  • Deployment instructions

please config the environment path

please after installing Eclipse go to Marketplace and install Spring Tools ( aka Spring IDE and Spring Tool Suite )

Run The project command line :

> mvn spring-boot:run

Run The Eclipse :

Right-click in the project > Run As > Maven Install

Right-click in the project > Run As > Spring Boot App

open your browser and go to http://localhost:8080/

rts-project-backend's People

Contributors

alabbas-ali avatar

Stargazers

 avatar  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.