MRAS
Multi Rocket Avionics System
Loading...
Searching...
No Matches
BarometerDataMsg.h
1//
2// Created by Tom Danvers on 13/12/2022.
3//
4
5#ifndef MRAS_BAROMETERDATAMSG_H
6#define MRAS_BAROMETERDATAMSG_H
7
8#include "SystemMessage.h"
9
16 explicit BarometerDataMsg() : SystemMessage(BarometerDataMsg_t) {}
17
21 float pressure = 0;
22
26 float temperature = 0;
27};
28
29#endif //MRAS_BAROMETERDATAMSG_H
A base class for all system messages.
Definition: SystemMessage.h:32
Message sent by the barometer to the system.
Definition: BarometerDataMsg.h:15
float temperature
The temperature in degrees Celsius.
Definition: BarometerDataMsg.h:26
float pressure
The pressure in Pa.
Definition: BarometerDataMsg.h:21