ISSDK  1.8
IoT Sensing Software Development Kit
Data Fields
MagBuffer Struct Reference

#include <magnetic.h>

Collaboration diagram for MagBuffer:
Collaboration graph

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...
 

Detailed Description

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.

Field Documentation

◆ iBs

int16_t iBs[3][MAGBUFFSIZEX][MAGBUFFSIZEY]

◆ iMagBufferCount

int16_t iMagBufferCount

◆ index

◆ tanarray

int16_t tanarray[MAGBUFFSIZEX - 1]

array of tangents of (100 * angle)

Definition at line 50 of file magnetic.h.

Referenced by fInitializeMagCalibration(), and iUpdateMagBuffer().


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