CarletonURocketry / fetcher

A QNX process for fetching data from sensors over I2C.
https://carletonurocketry.github.io/fetcher/
MIT License
1 stars 0 forks source link

Relative types #39

Closed linguini1 closed 4 months ago

linguini1 commented 4 months ago

Fetcher now supports relative types from the packet spec. It is important to know what altitude measurements are relative to for instance (i.e. sea level, or launch height?).

In addition to this change, the README now describes the message format for sensor data on fetcher's output message queue. This allows packager to instead receive sensor data from a message queue with synchronization rather than from piped text, removing the KSH shell dependency.

Fetcher can still print output using the -p command line flag. Note that this reads messages off the message queue and prints them, so it is not "safe" to use the message queue from another program while fetcher is printing (unless you don't care about missing some data).