Skip to content

space-software-portal/spacepython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpacePython Sample

What is the SpacePython

SpacePython is based on the Python 2.6 syntax with the addition of the SOLM extensions defined in this chapter to support spacecraft operations.

from THE SATELLITE OPERATIONS LANGUAGE METAMODEL SPECIFICATION VERSION 1.0

About this repository

This repository include bellow codes.

  • Installer for SpacePython

How to use it

Setup

pipenv --python 2
pipenv install

Run sample

$ pipenv run ConfigureFEP.py
Sending ChangeSync to GemsDevice FE1
  Directive parameters: Syncword=51012
Getting FE1 parameters: Syncword
Verify at line 29 is False
Sync pattern is 0XA5A5 instead of 0XC744
$ pipenv run PassSetup.py
Select RF string for SAT1

New value for string, or <Enter> for default (1) 1
Invoking native procedure EstablishContact
  with arguments (string=1)
$ pipenv run SetMomentumWheelSpeed.py --SpeedIncrement=200
Sending SetWheelSpeed to spaceSystem SAT1
  Command arguments: WheelSpeed=2200

License

MIT

Packages

No packages published