MRAS
Multi Rocket Avionics System
Loading...
Searching...
No Matches
MagnetometerDataMsg.h
1//
2// Created by Tom Danvers on 13/12/2022.
3//
4
5#ifndef MRAS_MAGNETOMETERDATAMSG_H
6#define MRAS_MAGNETOMETERDATAMSG_H
7
8
9#include "SystemMessage.h"
10#include "Vector.h"
11
18 MagnetometerDataMsg() : SystemMessage(MagnetometerDataMsg_t) {}
19
26 Vector<float, 3> mag = {0, 0, 0};
27};
28
29#endif //MRAS_MAGNETOMETERDATAMSG_H
A base class for all system messages.
Definition: SystemMessage.h:32
Message sent by the magnetometer to the system.
Definition: MagnetometerDataMsg.h:17
Vector< float, 3 > mag
The magnetic field in Gauss (1e-4 Tesla)
Definition: MagnetometerDataMsg.h:26