SetAngle

nn::hid::CTR::GyroscopeReader::SetAngle Member Function

Syntax

void SetAngle(
     f32 ax,
     f32 ay,
     f32 az
);

Parameters

Name Description
in ax Angle about the pitch axis. A value of 1.0 is taken as equal to 360 degrees.
in ay Angle about the yaw axis. A value of 1.0 is taken as equal to 360 degrees.
in az Angle about the roll axis. A value of 1.0 is taken as equal to 360 degrees.

Return Values

None.

Description

Resets to an arbitrary value the angle member of the GyroscopeStatus Structure (obtained by the Read and ReadLatest functions).

Revision History

2010/10/20
Initial version.

CONFIDENTIAL