CarletonURocketry / fetcher

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

Message queues #30

Closed linguini1 closed 1 month ago

linguini1 commented 1 month ago

This PR implements an internal message queue between sensor collector threads and the main fetcher thread for sending collected data. I have enabled POSIX message queues in our QNX images now.

The current encoding being used is an array of bytes, where the first byte is a SensorTag to instruct how to cast the following bytes into the correct data type (float, long, etc.)