Merge pull request ‘start adding ACS subsystem’ (#266) from start-adding-acs-subsys into main
Reviewed-on: https://egit.irs.uni-stuttgart.de/rust/sat-rs/pulls/266
sat-rs 是一个用 Rust 编写的开源库,用于构建卫星等远程系统的星载软件(on-board software),提供 ECSS/CCSDS 标准相关的通信与服务原语,适合资源受限的航天嵌入式环境。
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802047560号
sat-rs
This is the repository of the sat-rs library. Its primary goal is to provide re-usable components to write on-board software for remote systems like rovers or satellites. It is specifically written for the special requirements for these systems. You can find an overview of the project and the link to the more high-level sat-rs book at the IRS software projects website.
This is early-stage software. Important features are missing. New releases with breaking changes are released regularly, with all changes documented inside respective changelog files. You should only use this library if your are willing to work in this environment.
A lot of the architecture and general design considerations are based on the FSFW C++ framework which has flight heritage through the 2 missions FLP and EIVE.
Overview
This project currently contains following crates:
satrs-book: Primary information resource in addition to the API documentation, hosted here. It can be useful to read this first before delving into the example application and the API documentation.satrs: Primary crate.satrs-example: Example of a simple example on-board software using various sat-rs components which can be run on a host computer or on any system with a standard runtime like a Raspberry Pi.satrs-minisim: Mini-Simulator based on nexosim which simulates some physical devices for thesatrs-exampleapplication device handlers.satrs-mib: Components to build a mission information base from the on-board software directly.satrs-stm32f3-disco-rtic: Example of a simple example using low-level sat-rs components on a bare-metal system with constrained resources. This example uses the RTIC framework on the STM32F3-Discovery device.satrs-stm32h-nucleo-rtic: Example of a simple example using sat-rs components on a bare-metal system with constrained resources. This example uses the RTIC framework on the STM32H743ZIT device.Each project has its own
CHANGELOG.md.Related projects
In addition to the crates in this repository, the sat-rs project also maintains other libraries.
spacepackets: Basic ECSS and CCSDS packet protocol implementations. This repository is re-exported in thesatrscrate.cfdp: CCSDS File Delivery Protocol (CFDP) high-level library components.Flight Heritage
There is an active and continuous effort to get early flight heritage for the sat-rs library. Currently this library has the following flight heritage:
Coverage
Coverage was generated using
grcov. If you have not done so already, install thellvm-tools-preview:After that, you can simply run
coverage.pyto test thesatrscrate with coverage. You can optionally supply the--openflag to open the coverage report in your webbrowser.