Measurements - GSW 2020
Purpose
Any data pulled off of the rocket or any solid state value commanded will be referred to as a "measurement." It is the job of the software to de-commutate values from the rocket telemetry and store them as measurements as well as allow the ground software to alter certain measurements.
Implementation Requirements
- The ground software will allow for measurements to be accessed globally by any process that requests so.
- Only the measurement specified by the API call will be altered/read.
- The size and type of a measurement can be requested.
Implementation
Measurements will be accessed by using shared memory managed by a shared object (dynamic library). A configuration file will be created by the library that provides the shared memory key, measurement names, measurement types, and the offsets to find measurement values. Measurement sizes are implied by the offsets. This configuration file will need to be read in by each instance of the library so it can correctly access the memory. The shared memory block will only need to be created once and cleaned up once. Which measurements are loaded in is currently TBD, but will most likely be a separate configuration file for each vehicle specifying measurements. There may also be some universal GSW measurements included in a second separate configuration file.