MIP SDK  0.0.1
MicroStrain Communications Library for embedded systems
Classes | Functions
(0x0C,0x3B) Mag Soft Iron Matrix [CPP]
Collaboration diagram for (0x0C,0x3B) Mag Soft Iron Matrix [CPP]:

Classes

struct  mip::commands_3dm::MagSoftIronMatrix
 

Functions

void mip::commands_3dm::insert (Serializer &serializer, const MagSoftIronMatrix &self)
 
void mip::commands_3dm::extract (Serializer &serializer, MagSoftIronMatrix &self)
 
void mip::commands_3dm::insert (Serializer &serializer, const MagSoftIronMatrix::Response &self)
 
void mip::commands_3dm::extract (Serializer &serializer, MagSoftIronMatrix::Response &self)
 
CmdResult mip::commands_3dm::writeMagSoftIronMatrix (C::mip_interface &device, const float *offset)
 
CmdResult mip::commands_3dm::readMagSoftIronMatrix (C::mip_interface &device, float *offsetOut)
 
CmdResult mip::commands_3dm::saveMagSoftIronMatrix (C::mip_interface &device)
 
CmdResult mip::commands_3dm::loadMagSoftIronMatrix (C::mip_interface &device)
 
CmdResult mip::commands_3dm::defaultMagSoftIronMatrix (C::mip_interface &device)
 

Detailed Description

Configure the user specified magnetometer soft iron offset matrix

The values for this matrix are determined empirically by external software algorithms based on calibration data taken after the device is installed in its application. These values can be obtained and set by using the LORD "MIP Iron Calibration" application. Alternatively, on some systems, the auto-mag calibration feature may be used to capture these values in-run. The matrix is applied to the scaled magnetometer vector prior to output.

The matrix is in row major order: EQSTART M = \begin{bmatrix} 0 & 1 & 2 \ 3 & 4 & 5 \ 6 & 7 & 8 \end{bmatrix} EQEND

Function Documentation

◆ defaultMagSoftIronMatrix()

CmdResult mip::commands_3dm::defaultMagSoftIronMatrix ( C::mip_interface device)

◆ extract() [1/2]

void mip::commands_3dm::extract ( Serializer serializer,
MagSoftIronMatrix self 
)

◆ extract() [2/2]

void mip::commands_3dm::extract ( Serializer serializer,
MagSoftIronMatrix::Response self 
)

◆ insert() [1/2]

void mip::commands_3dm::insert ( Serializer serializer,
const MagSoftIronMatrix self 
)

◆ insert() [2/2]

void mip::commands_3dm::insert ( Serializer serializer,
const MagSoftIronMatrix::Response self 
)

◆ loadMagSoftIronMatrix()

CmdResult mip::commands_3dm::loadMagSoftIronMatrix ( C::mip_interface device)

◆ readMagSoftIronMatrix()

CmdResult mip::commands_3dm::readMagSoftIronMatrix ( C::mip_interface device,
float *  offsetOut 
)

◆ saveMagSoftIronMatrix()

CmdResult mip::commands_3dm::saveMagSoftIronMatrix ( C::mip_interface device)

◆ writeMagSoftIronMatrix()

CmdResult mip::commands_3dm::writeMagSoftIronMatrix ( C::mip_interface device,
const float *  offset 
)