![]() |
MRAS
Multi Rocket Avionics System
|
Message sent by the magnetometer to the system. More...
#include <MagnetometerDataMsg.h>


Public Attributes | |
| Vector< float, 3 > | mag = {0, 0, 0} |
| The magnetic field in Gauss (1e-4 Tesla) | |
Additional Inherited Members | |
Public Member Functions inherited from SystemMessage | |
| SystemMessage (SystemMessageType type) | |
| SystemMessageType | get_type () |
| Get the type of the message. | |
Protected Attributes inherited from SystemMessage | |
| SystemMessageType | type |
Message sent by the magnetometer to the system.
The units of the magnetic field are Gauss and are stored as a Vector<float, 3>. One Gauss is equal to 1e-4 Tesla
| Vector<float, 3> MagnetometerDataMsg::mag = {0, 0, 0} |
The magnetic field in Gauss (1e-4 Tesla)
The magnetic field 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