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 may sometimes be made even during constant velocity motion, since the zero-point value is deemed stable even if there is a certain amount of variation in the sensor values.

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

The default mode is set to GYROSCOPE_ZERODRIFT_STANDARD.


CONFIDENTIAL