Skip to content
Snippets Groups Projects
design.md 4.14 KiB

Design

@tableofcontents

The main building block of this library are the @ref Services and the @ref Message.

@dot digraph G { rankdir=LR;

space [shape=box,label="Spacecraft"] ground [shape=box,label="Ground Station"]

space:se -> ground:sw [label="Response (TM)",color="#039be5"] ground:nw -> space:ne [label="Request (TC)",color="#f4511e"] } @enddot

Each Service is represented by a class. All Services reside inside the @ref ServicePool. Messages handle Telecommands and Telemetry in the form of @ref Message "Messages". A Message represents a Space Packet, as defined by CCSDS 133.0-B-2. Messages are managed and distributed by the @ref MessageParser class.

Reading and Writing Messages

The Message is the simplest unit of information that is transferred between space and ground. A Message contains its payload data in a binary string format, combined by some essential header information.

As the message data is in a binary format, special functions have been written to facilitate reading from and writing to the Message: