GithubHelp home page GithubHelp logo

nasa / tvsio-demo Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 46.08 MB

A sample project for integrating TVS-IO into cFS

Makefile 1.84% C 70.53% CMake 1.59% HTML 11.99% CSS 0.30% JavaScript 0.23% TeX 0.20% Python 3.73% Shell 0.10% Perl 0.34% PLSQL 0.86% Java 8.29% C++ 0.01%
tvsio cfs sbn trick demo sample

tvsio-demo's Introduction

TVS-IO Demo

This is a sample Core Flight Software (cFS) project to demonstrate how Trick Variable Server IO can be used.

TVS-IO is included as a submodule at apps/tvs_io

Building

CFS1

TODO: Add brief CFS build directions

Trick2

This project includes two very basic Trick simulations. One is a producer the other is a consumer. TVS-IO connects to the Trick Variable Server of each sim, reading and writing values as defined by the *.tvm files. These sims are located in the trick_sims folder

  1. SIM_temp

    This sim is extremely simple. All it does is to count up and periodically reset back to 0. This value is mapped in a *.tvm file to be read by TVS-IO and sent to SIM_range

  2. SIM_range

    This sim monitors a value which is set by TVS-IO, and prints it to the console

For both, the same process will build each sim.

cd trick_sims/SIM_...
trick-CP

This command will build the executable, which will be named S_main_<platform>.exe. For example on 64bit linux it might be named S_main_Linux_4.8_x86_64.exe

Running

  1. Start cFS

    TODO: cFS steps
  2. Start each sim:

    cd trick_sims/SIM_temp
    ./S_main_Linux_4.8_x86_64.exe

Footnotes

  1. For the cFS portion of this project CFS-101 is recommended. That will teach you the basics of cFS.

  2. It is necessary to build and install Trick. Please visit Trick Github and follow the installation guide.

tvsio-demo's People

Contributors

jwpetti1 avatar prkunz avatar

Stargazers

 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.