This repository holds the source code to start a basic Yamcs application that monitors a simulated spacecraft in low earth orbit.
You may find it useful as a starting point for your own project.
Here are some commands to get things started:
Compile this project:
mvn compile
Start Yamcs on localhost:
mvn yamcs:run
Same as yamcs:run, but allows a debugger to attach at port 7896:
mvn yamcs:debug
Delete all generated outputs and start over:
mvn clean
This will also delete Yamcs data. Change the dataDir
property in yamcs.yaml
to another location on your file system if you don't want that.
To start pushing CCSDS packets into Yamcs, run the included Python script:
python simulator.py
This script will send packets at 1 Hz over UDP to Yamcs. There is enough test data to run for a full calendar day.
The packets are a bit artificial and include a mixture of HK and accessory data.
(not yet included in this example)
Running through Maven is useful during development, but it is not recommended for production environments. Instead bundle up your Yamcs application in a tar.gz file:
mvn package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。