-
Notifications
You must be signed in to change notification settings - Fork 7
Overview
Figure 1 shows an overview of the internal structure of the ground station.

The main controller coordinates the communication between the GUI and the other USOC components. It is implemented using a Singleton Pattern which means that it can easily be accessed from anywhere in the code.
Before visualizing the data in the GUI, it can be modified in the DataModification class.
The MessageController acts as an interface between the internal data storage and the MainController and is also responsible for parsing incoming data. For doing that it requires the protocol structure which is provided through the XMLReader.
The SerialCommunication class is sending and receiving data via a serial port specified by the user. This can be used to command an experiment via the serial connection.
Data sent to an e-mail account can also be automatically integrated into the ground station. For this to work, a valid e-mail account and password need to be declared in the MailReceiver class. Once the (Re)Connect button is pressed, the MailReceiver connects to the specified mail server and regularly checks for updates.
Files can be imported into the ground station via a FileChooser. Once Files are selected they are read and pushed to the MainController. Exporting to .csv files is currently supported by USOC. This is done via an ExportController class.
All these components are described in further detail in their respective sections in this document.