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

Classes

struct  mip::commands_3dm::MagHardIronOffset
 

Functions

void mip::commands_3dm::insert (Serializer &serializer, const MagHardIronOffset &self)
 
void mip::commands_3dm::extract (Serializer &serializer, MagHardIronOffset &self)
 
void mip::commands_3dm::insert (Serializer &serializer, const MagHardIronOffset::Response &self)
 
void mip::commands_3dm::extract (Serializer &serializer, MagHardIronOffset::Response &self)
 
CmdResult mip::commands_3dm::writeMagHardIronOffset (C::mip_interface &device, const float *offset)
 
CmdResult mip::commands_3dm::readMagHardIronOffset (C::mip_interface &device, float *offsetOut)
 
CmdResult mip::commands_3dm::saveMagHardIronOffset (C::mip_interface &device)
 
CmdResult mip::commands_3dm::loadMagHardIronOffset (C::mip_interface &device)
 
CmdResult mip::commands_3dm::defaultMagHardIronOffset (C::mip_interface &device)
 

Detailed Description

Configure the user specified magnetometer hard iron offset vector

The values for this offset 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 offset is applied to the scaled magnetometer vector prior to output.

Function Documentation

◆ defaultMagHardIronOffset()

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

◆ extract() [1/2]

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

◆ extract() [2/2]

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

◆ insert() [1/2]

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

◆ insert() [2/2]

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

◆ loadMagHardIronOffset()

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

◆ readMagHardIronOffset()

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

◆ saveMagHardIronOffset()

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

◆ writeMagHardIronOffset()

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