RIT-Launch-Initiative / FSW

Firmware for Launch's flight hardware
GNU Affero General Public License v3.0
5 stars 0 forks source link

Timestamped Telemetry Structs #113

Closed AarC10 closed 2 weeks ago

AarC10 commented 3 weeks ago

Is your feature request related to a problem? Please describe. We want our backplane modules to have timestamped data so when we go back to review the data, we know when certain events occurred. Describe the solution you'd like This would involve having a new struct that takes a timestamp and a struct of some module's data. i.e

{ uint32_t timestamp; power_module_telemetry_t telemetry; }

Additional context Should also make this data packed to guarantee no padding since we want to reduce how much space we use on our flash chip. This can be done in each module's header file instead of backplane definitions since no other module should care.