MIP SDK  0.0.1
MicroStrain Communications Library for embedded systems
Classes | Functions
(0x0C,0x39) Capture Gyro Bias [CPP]
Collaboration diagram for (0x0C,0x39) Capture Gyro Bias [CPP]:

Classes

struct  mip::commands_3dm::CaptureGyroBias
 

Functions

void mip::commands_3dm::insert (Serializer &serializer, const CaptureGyroBias &self)
 
void mip::commands_3dm::extract (Serializer &serializer, CaptureGyroBias &self)
 
void mip::commands_3dm::insert (Serializer &serializer, const CaptureGyroBias::Response &self)
 
void mip::commands_3dm::extract (Serializer &serializer, CaptureGyroBias::Response &self)
 
CmdResult mip::commands_3dm::captureGyroBias (C::mip_interface &device, uint16_t averagingTimeMs, float *biasOut)
 

Detailed Description

Samples gyro for a specified time range and writes the averaged result to the Gyro Bias vector in RAM

The device will average the gyro output for the duration of "averaging_time_ms." To store the resulting vector in non-volatile memory, use the Set Gyro Bias command. IMPORTANT: The device must be stationary and experiencing minimum vibration for the duration of "averaging_time_ms" Averaging Time range: 1000 to 30,000

Function Documentation

◆ captureGyroBias()

CmdResult mip::commands_3dm::captureGyroBias ( C::mip_interface device,
uint16_t  averagingTimeMs,
float *  biasOut 
)

◆ extract() [1/2]

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

◆ extract() [2/2]

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

◆ insert() [1/2]

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

◆ insert() [2/2]

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