Git Product home page Git Product logo

haydendaly / space-infra-alpha Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.84 MB

This is an initial prototype of an infrastructure for distributed space-system simulation under the New Observing Strategies-Testbed project. The newer version of the code is now on a NASA GitLab and can't be shared publicly.

Dockerfile 2.79% JavaScript 64.62% HTML 6.15% CSS 0.49% Python 21.93% Shell 1.26% SCSS 2.74%
simulation infrastructure

space-infra-alpha's Introduction

Architecture Diagram

Simulation Architecture

This repo contains an initial infrastructure for orchestrating simulation components. This was a quick prototype to demonstrate functionality and is now deprecated.

There is an example simulation which consists of the following components.

  1. The control module starts the simulation by publishing a message to all the other components to start up under the topic/control.
  2. The ground sensors act as publishers using data from CSV files taken from the USGS website publishing data to topic/sensors on an interval as determined by the control module.
  3. The satellite listens to the sensor topic and repeats the data to topic/satellite.
  4. The groundstation acts as a subscriber to topic/satellite and prints the data to the console.

To interact with the system, go to localhost in the browser and you will be presented with a dashboard.

Prerequisites

The only prerequisite is having Docker installed on your system.

Usage

To start the example simulation, run the following command.

$ docker-compose -f docker-compose.example.yml up

To start the simulation, run the following command.

$ /bin/bash init.sh
$ docker-compose up

The first command clones all the repositories listed in init.sh into the folder components. After running, it is good practice to run the following command to negate cached data.

$ docker-compose down

And this command for the same reason regarding the example simulation.

$ docker-compose -f docker-compose.example.yml down

Questions?

Direct any questions to [email protected]

space-infra-alpha's People

Contributors

haydendaly avatar

Watchers

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