MRAS
Multi Rocket Avionics System
Loading...
Searching...
No Matches
AccelerometerDataMsg.h
1//
2// Created by Tom Danvers on 13/12/2022.
3//
4
5#ifndef MRAS_ACCELEROMETERDATAMSG_H
6#define MRAS_ACCELEROMETERDATAMSG_H
7
8
9#include "SystemMessage.h"
10#include "Vector.h"
11
18 explicit AccelerometerDataMsg(SystemMessageType accel_msg_type) : SystemMessage(accel_msg_type) {}
19
26 Vector<float, 3> acceleration = {0, 0, 0};
27};
28
29#endif //MRAS_ACCELEROMETERDATAMSG_H
A base class for all system messages.
Definition: SystemMessage.h:32
Message sent by the accelerometer to the system.
Definition: AccelerometerDataMsg.h:17
Vector< float, 3 > acceleration
The acceleration in m/s^2.
Definition: AccelerometerDataMsg.h:26