BallAerospace / COSMOS

Ball Aerospace COSMOS
https://ballaerospace.github.io/cosmos-website/
Other
360 stars 129 forks source link

Create COSMOS Command Sequence Tool #258

Closed ghost closed 7 years ago

ghost commented 8 years ago

COSMOS could use a new tool that made it easy to create command sequence files.

SteveJudy commented 7 years ago

Has there been any work on this tool? I've started on a such a tool, but is specific to a CFS application (NASA-GSFC open source code base). The app reads CCSDS commands from a file and sends them on the CFE software bus. The tool I'm working on makes it easy to create command sequences. At this point it's very specific to the FCX app, but I have thought about how to make it more generic.

jmthomas commented 7 years ago

We recently talked about this during an internal COSMOS meeting. We currently have an internal tool that is closely tied to Table Manager in that it creates a table of command sequences and another table of the binary commands. Obviously this will need some work to become generic but it has a nice GUI which allow you to build up command sequences with delays. I think this tool could be modified to execute the sequences by connecting to the server. We're also thinking about how to best implement timed command execution for contact planning.

Is your tool GUI based to build the sequences or does it just read from your file?

SteveJudy commented 7 years ago

I based it on the COSMOS Command Sender, so it looks a lot like the CmdSender GUI. The tool generates binary files from the commands picked, which can be uplinked and executed by the flight software; it also reads those same files and decodes the commands in it so they can be edited, etc. The assumption is that the selected commands are executable by FSW; in particular an app called File Commander which will become part of the NASA CFE/CFS software suite.

So it sounds different then what you’re talking about.

DaniloJFMiranda commented 7 years ago

Hi guys, this new tool COMMAND SEQUENCE has some interesting operational applications! I would like to suggest some enhancements that could benefit the COSMOS users:

These enhancements would allow the resulting binary file to be uplinked and used in the flight software (similar to what TABLE MANAGER can do).

ghost commented 7 years ago

@DaniloJFMiranda thanks for the suggestions! Right now when you save a command sequence it just goes to a sample text file which you could post process into any format you want. A future enhancement would be for us to call some user defined code which could massage the sequence how ever you want. That would better integrate it with the tool. I'm thinking some sort of Export menu option.

ghost commented 7 years ago

I just opened #531 to address this.