.

Average: 0
Rating Count: 0

Development status: Released, Release: Release_1_2
Information status: Updated
Repository: http://svn.code.sf.net/p/tango-ds/code/DeviceClasses/InputOutput/wiimote
Contact:



Class Description


This class is a Tango interface to the Nintendo Wiimote game controller.
The Wiimote is the Nintendo Wii game system controller. You associate Tango object (command or attribute) with Wiimote button/accelerators and then, you can control them using the Wiimote

Families: InputOutput

Key words:

Language: Cpp

License:

Contact:

Class interface


Attributes:

Name Description
AButtonScalar: DevString
AButtonStepScalar: DevDouble
BButtonScalar: DevString
BButtonStepScalar: DevDouble
DownButtonScalar: DevString
DownButtonStepScalar: DevDouble
HomeButtonScalar: DevString
HomeButtonStepScalar: DevDouble
LeftButtonScalar: DevString
LeftButtonStepScalar: DevDouble
MinusButtonScalar: DevString
MinusButtonStepScalar: DevDouble
OneButtonScalar: DevString
OneButtonStepScalar: DevDouble
PlusButtonScalar: DevString
PlusButtonStepScalar: DevDouble
RightButtonScalar: DevString
RightButtonStepScalar: DevDouble
TwoButtonScalar: DevString
TwoButtonStepScalar: DevDouble
UpButtonScalar: DevString
UpButtonStepScalar: DevDouble
XAxisMinusScalar: DevString
XAxisMinusStepScalar: DevDouble
XAxisPlusScalar: DevString
XAxisPlusStepScalar: DevDouble
YAxisMinusScalar: DevString
YAxisMinusStepScalar: DevDouble
YAxisPlusScalar: DevString
YAxisPlusStepScalar: DevDouble
ZAxisMinusScalar: DevString
ZAxisMinusStepScalar: DevDouble
ZAxisPlusScalar: DevString
ZAxisPlusStepScalar: DevDouble

Commands:

Name Description
StateInput: DevVoid
Output: State
This command gets the device state (stored in its device_state data member) and returns it to the caller.
StatusInput: DevVoid
Output: DevString
This command gets the device status (stored in its device_status data member) and returns it to the caller.
ConnectInput: DevVoid
Output: DevVoid
Connect the deice and the Wiimote
DisconnectInput: DevVoid
Output: DevVoid
Disconnect a devce froma Wiimote
SwitchOnLedInput: DevShort
Output: DevVoid
Switch a Wiimote Led on. Each Wiimote LED has a number between 1 and 4. One is for the botton left LED. Four is for the botton right LED.
SwitchOffLedInput: DevShort
Output: DevVoid
Switch a Wiimote Led off. Each Wiimote LED has a number between 1 and 4. One is for the botton left LED. Four is for the botton right LED.
SwitchOnRumbleInput: DevVoid
Output: DevVoid
Switch On the Wiimote Rumble
SwitchOffRumbleInput: DevVoid
Output: DevVoid
Switch Off the Wiimote Rumble

Pipes:

Properties:

Name Description
NintendoAddrDevString Manufacturer part of the Bluetooth address for Nintendo
BluetoothAddressDevString The Wiimote bluetooth address
ErrorBipTimeDevLong Time (in mS) during which the Wiimote will rumble in case of exception received when executing the command and writing the attribuute
ContModeSleepTimeDevLong Sleep time (in mS) between two actions on Tango object i Continuous mode
PollSleepTimeDevLong Sleep time (in mS) between two polling in continuous mode when waiting for end of action
AccThresholdDevShort Acceleration threshold to fire a Tango object change


Please log in to comment.

20 Apr 2017, Piotr Goryl
Updated:
The device class has been updated.
You can see previous version here .



23 Feb 2017, Piotr Goryl
Created:
The device class has been added to catalogue.
Added by:pgoryl2 on:23 Feb 2017, 10:15 a.m.