nn::hid::CTR::GyroscopeReader::SetZeroDriftMode Member Function

Syntax

void SetZeroDriftMode(
     const ZeroDriftMode & mode
);

Arguments

Name Description
in mode Zero-Point Drift Correction Mode

Return Values

None.

Description

Sets the zero-point drift correction mode.

These settings are applied to all axes.

When the mode is set to GYROSCOPE_ZERODRIFT_LOOSE, corrections are sometimes made even during constant-velocity motion, since the sensor readings are treated as stable even if there is a certain amount of variation in the sensor values.

In such cases, handling can be improved by setting a mode with stricter conditions.

The default setting is GYROSCOPE_ZERODRIFT_STANDARD.

Revision History

2010/10/20
Initial version.

CONFIDENTIAL