Decom - GSW 2021

Purpose

The rocket sends telemetry packets to the ground but the ground software needs to know how to interpret these packets into known measurements.

Implementation Requirements

  • The ground software must accurately interpret data packets sent from the rocket.
  • The decom process must add telemetry data to the measurements shared memory.

Implementation

Decom will be started as a process that uses the measurements dynamic library to access shared memory. The decom process will read a configuration file corresponding to the how the flight software is sending data in order to interpret the packets correctly. The decom process will need to be provided the UART device in /dev/tty* to read from and the baudrate. Currently all telemetry data is assumed to be from a /dev serial device, this could be changed in the future by specifying in the configuration file. In order to do a simulation with the decom process fake data will need to be fed to a virtual serial port. The decom process will then add the data from telemetry packets to the shared memory using the measurements API functions.

Update: data will now be sent to the ground station over ethernet. These will most likely be UDP datagram packets. TODO update implementation documentation.