Sample Demos for Wii MotionPlus Features

Location

$REVOLUTION_SDK_ROOT/RVL/bin/demos/kpaddemo

Execution

From the $REVOLUTION_SDK_ROOT/RVL/bin/demos/kpaddemo/ directory, perform the following steps.

Description

Demos

There are three sample demos for Wii MotionPlus features.

WiiRemoteIn this demo, the attitude correction features of the KPAD library are not used
FlyingManThis demo uses the acceleration and DPD attitude correction features of the KPAD library
WeaponThis demo uses the acceleration and special attitude correction features of the KPAD library

Basic Operations

The basic operations for the Wii MotionPlus feature sample demos are as follows.

Up/Down ButtonsMove the menu cursor.
L/R ButtonsSwitch between menus.
A ButtonReset the orientation of the model so it points toward the back of the screen.
B ButtonStop the display of a line graph. When the Weapon demo is running, this changes the model's center of rotation.
+/- ButtonsWhen the WiiRemote or FlyingMan demo is running, these change the model's center of rotation. When the Weapon demo is running, these change the model. (There are five kinds.)

Menus

These are the menus that have been prepared for the Wii MotionPlus feature sample demos.

DemoChanges the demo. There are three demos: WiiRemote, FlyingMan, and Weapon. When you switch demos, the menus change automatically, but you can also use the cursor to change them.
UnitToggles the operating mode of the Wii MotionPlus to be either WPAD_MPLS_STD or WPAD_MPLS_FS.
DriftSwitches the setting of the KPAD library's KPADSetMplsZeroDriftMode function to be KPAD_MPLS_ZERODRIFT_LOOSE, KPAD_MPLS_ZERODRIFT_STANDARD, or KPAD_MPLS_ZERODRIFT_TIGHT.
ZeroEnables or disables the KPAD library's KPADSetMplsZeroPlayParam function. When this function is enabled, parameters keep their default values.
DirEnables or disables the KPAD library's KPADSetMplsDirReviseParam function. When this function is enabled, parameters and the standard attitude keep their default values.
AccEnables or disables the KPAD library's KPADSetMplsAccReviseParam function. When this function is enabled, parameters keep their default values.
DpdEnables or disables the KPAD library's KPADSetMplsDpdReviseParam function. When this function is enabled, parameters keep their default values.
MoveToggles whether to move the model using the acceleration sensor. This feature is not available in the library.
GraphToggles display of the line graphs for angular velocity in each direction as obtained from the Wii MotionPlus.

Other

Revision History

2009/03/19 Corrected explanation of Zero, Dir, Acc, and Dpd in the menu.
2009/03/04 Initial version.


CONFIDENTIAL