MRAS
Multi Rocket Avionics System
Loading...
Searching...
No Matches
AccelerometerDataMsg Struct Reference

Message sent by the accelerometer to the system. More...

#include <AccelerometerDataMsg.h>

Inheritance diagram for AccelerometerDataMsg:
Inheritance graph
Collaboration diagram for AccelerometerDataMsg:
Collaboration graph

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
 

Detailed Description

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>

Member Data Documentation

◆ acceleration

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


The documentation for this struct was generated from the following file: