nn::hid::CTR::AccelerometerReader::EnableAxisRotation Member Function

Syntax

void EnableAxisRotation();

Parameters

None.

Return Values

None.

Description

Enables axial rotation of the accelerometer.

When axial rotation is enabled, the rotation matrix specified by the SetAxisRotationMatrix function is used to perform a rotational transformation on the sampling data. The resulting values are output.

This processing allows you to handle the accelerometer readings as though the accelerometer is tilted within the CTR system.

When both offset and axial rotation are enabled, the offset transform is performed before the rotation.

Revision History

2010/10/20
Initial version.

CONFIDENTIAL