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

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

#include <MagnetometerDataMsg.h>

Inheritance diagram for MagnetometerDataMsg:
Inheritance graph
Collaboration diagram for MagnetometerDataMsg:
Collaboration graph

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
 

Detailed Description

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

Member Data Documentation

◆ mag

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


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