Giter VIP home page Giter VIP logo

telecommands's Introduction

TeleCommands

Python code to generate TCs for LPC/RACHuTS/FLOATS on Strateole 2

This code generates ascii telecommands (TCs) to control the LASP FLOATS/RACHuTS/LPC instruments in flight. The database of available TCs is stored in the TC_Parameters.csv file. This includes the TC name, the TC code (a uint_8t) and description of the command and some rudimentry limit checking. It is GUI based and will guide the user through selecting a TC, the required parameters for that TC, and will generate a binary TC file that can be sent throught the CCMz. The beta version includes direct sending of TCs from within the app. It requires the PySimpleGuiQt package to generate the GUI.

Simulator limitations

The generated files work with the operational system. They do not work with the simulator, which expects the files to only contain the "binary" payload, without the START, CRC, etc. It's simple enough to create text files in an editor for use with the simulator.

telecommands's People

Contributors

kalnajslab avatar mistermartin avatar

telecommands's Issues

TCmessage.py generated telecommands don't get sent by the simulator

Telecommands generated by TCmessage.py appear to be rejected by the simulator.

This is a dump of a SetPHA command file generated by the script. The three parameters were 500,400,300.

od -a -t x1 LPC20240615-204529.tc
0000000    S   T   A   R   T   1   1   6   ,   5   0   0   ,   4   0   0
           53  54  41  52  54  31  31  36  2c  35  30  30  2c  34  30  30
0000020    ,   3   0   0   ;  88  ht   E   N   D                        
           2c  33  30  30  3b  88  09  45  4e  44                        
0000032

The file was copied to LV/TC_FILES/. The EXP.TC command was issued, selecting to send from the TC_FILES/. The file was picked up by the simulator and transferred to the OUTGOING_FILES/.

The following text appears in the simulator output stream:

24061602545046;1;SUPER;TC.240615205450 CRC_NOK

Nothing is transmitted to the LPC.

The same behavior was observed for a SetRS41Regen telecommand file generated by TCmessage.py.

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.