MRAS
Multi Rocket Avionics System
|
Message sent by the accelerometer to the system. More...
#include <AccelerometerDataMsg.h>
Public Member Functions | |
AccelerometerDataMsg (SystemMessageType accel_msg_type) | |
Public Member Functions inherited from SystemMessage | |
SystemMessage (SystemMessageType type) | |
SystemMessageType | get_type () |
Get the type of the message. | |
Public Attributes | |
Vector< float, 3 > | acceleration = {0, 0, 0} |
The acceleration in m/s^2. | |
Additional Inherited Members | |
Protected Attributes inherited from SystemMessage | |
SystemMessageType | type |
Message sent by the accelerometer to the system.
The units of the acceleration are m/s^2 and are stored as a Vector<float, 3>
Vector<float, 3> AccelerometerDataMsg::acceleration = {0, 0, 0} |
The acceleration in m/s^2.
The acceleration is stored as a Vector<float, 3> where the first element is the x-axis, the second is the y-axis and the third is the z-axis