MIP_SDK  latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
Classes | Functions
(0x0C,0x52) Sensor Range

Changes the IMU sensor gain. More...

Classes

struct  mip::commands_3dm::SensorRange
 

Functions

TypedResult< SensorRangemip::commands_3dm::writeSensorRange (C::mip_interface &device, SensorRangeType sensor, uint8_t setting)
 
TypedResult< SensorRangemip::commands_3dm::readSensorRange (C::mip_interface &device, SensorRangeType sensor, uint8_t *settingOut)
 
TypedResult< SensorRangemip::commands_3dm::saveSensorRange (C::mip_interface &device, SensorRangeType sensor)
 
TypedResult< SensorRangemip::commands_3dm::loadSensorRange (C::mip_interface &device, SensorRangeType sensor)
 
TypedResult< SensorRangemip::commands_3dm::defaultSensorRange (C::mip_interface &device, SensorRangeType sensor)
 

Detailed Description

Changes the IMU sensor gain.

This allows you to optimize the range to get the best accuracy and performance while minimizing over-range events.

Use the 3DM Get Calibrated Sensor Ranges (0x0C,0x53) command to determine the appropriate setting value for your application. Using values other than those specified may result in a NACK or inaccurate measurement data.

Function Documentation

◆ defaultSensorRange()

TypedResult< SensorRange > mip::commands_3dm::defaultSensorRange ( C::mip_interface device,
SensorRangeType  sensor 
)

◆ loadSensorRange()

TypedResult< SensorRange > mip::commands_3dm::loadSensorRange ( C::mip_interface device,
SensorRangeType  sensor 
)

◆ readSensorRange()

TypedResult< SensorRange > mip::commands_3dm::readSensorRange ( C::mip_interface device,
SensorRangeType  sensor,
uint8_t *  settingOut 
)

◆ saveSensorRange()

TypedResult< SensorRange > mip::commands_3dm::saveSensorRange ( C::mip_interface device,
SensorRangeType  sensor 
)

◆ writeSensorRange()

TypedResult< SensorRange > mip::commands_3dm::writeSensorRange ( C::mip_interface device,
SensorRangeType  sensor,
uint8_t  setting 
)