Generate XTCE for use with Yamcs
Project description
Yamcs PyMDB
[!WARNING] This software is in beta development status. Documentation is limited, and API is subject to change.
If you'd like to try it out, have a look at the examples which explain the base setup for either CCSDS or CSP-style packets. Other common formats will be added over time.
pip install yamcs-pymdb
Use this Python library to generate XTCE XML files for use with Yamcs Mission Control:
from yamcs.pymdb import *
spacecraft = System("Spacecraft")
param1 = IntegerParameter(
system=spacecraft,
name="param1",
signed=False,
encoding=uint8_t,
)
param2 = EnumeratedParameter(
system=spacecraft,
name="param2",
choices=[
(0, "SUCCESS"),
(-1, "ERROR"),
],
encoding=int8_t,
)
# Emit an XML that conforms to XTCE
print(spacecraft.dumps())
License
LGPL-3.0. See LICENSE
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
yamcs-pymdb-1.0.1.tar.gz
(30.2 kB
view hashes)
Built Distribution
Close
Hashes for yamcs_pymdb-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 063e6609458c38fb5496f4debbea32e0e2768da6acd20e3498928356556795db |
|
MD5 | 1fa96f59384cca2eb0ba05b5469cea1b |
|
BLAKE2b-256 | 76c327922db3b9c16ab74975d3735624261cd84dbbec94fc1e9e84063f3b1bc9 |