![]()  | 
  
    ISSDK
    1.8
    
   IoT Sensing Software Development Kit 
   | 
 
#include <magnetic.h>

Data Fields | |
| int16_t | iBs [3][MAGBUFFSIZEX][MAGBUFFSIZEY] | 
| uncalibrated magnetometer readings  More... | |
| int32_t | index [MAGBUFFSIZEX][MAGBUFFSIZEY] | 
| array of time indices  More... | |
| int16_t | tanarray [MAGBUFFSIZEX - 1] | 
| array of tangents of (100 * angle)  More... | |
| int16_t | iMagBufferCount | 
| number of magnetometer readings  More... | |
The Magnetometer Measurement Buffer holds a 3-dimensional "constellation" of data points.
The constellation of points are used to compute magnetic hard/soft iron compensation terms. The contents of this buffer are updated on a continuing basis.
Definition at line 46 of file magnetic.h.
| int16_t iBs[3][MAGBUFFSIZEX][MAGBUFFSIZEY] | 
uncalibrated magnetometer readings
Definition at line 48 of file magnetic.h.
Referenced by CreateAndSendPackets(), fComputeMagCalibration10(), fComputeMagCalibration4(), fComputeMagCalibration7(), fUpdateMagCalibration10Slice(), fUpdateMagCalibration4Slice(), fUpdateMagCalibration7Slice(), and iUpdateMagBuffer().
| int16_t iMagBufferCount | 
number of magnetometer readings
Definition at line 51 of file magnetic.h.
Referenced by CreateAndSendPackets(), fComputeMagCalibration10(), fComputeMagCalibration4(), fComputeMagCalibration7(), fInitializeMagCalibration(), fRunMagCalibration(), fUpdateMagCalibration10Slice(), fUpdateMagCalibration4Slice(), fUpdateMagCalibration7Slice(), and iUpdateMagBuffer().
| int32_t index[MAGBUFFSIZEX][MAGBUFFSIZEY] | 
array of time indices
Definition at line 49 of file magnetic.h.
Referenced by CreateAndSendPackets(), fComputeMagCalibration10(), fComputeMagCalibration4(), fComputeMagCalibration7(), fInitializeMagCalibration(), fRunMagCalibration(), fUpdateMagCalibration10Slice(), fUpdateMagCalibration4Slice(), fUpdateMagCalibration7Slice(), and iUpdateMagBuffer().
| int16_t tanarray[MAGBUFFSIZEX - 1] | 
array of tangents of (100 * angle)
Definition at line 50 of file magnetic.h.
Referenced by fInitializeMagCalibration(), and iUpdateMagBuffer().