Variables
wiimote.wiimoteConstants Namespace Reference

Variables

int _DEBUGLEVEL = 1
 
int _MONITOR_LEVEL = 1
 
float ACC_X_STDEV_THRESHOLD = 1.0
 
float ACC_Y_STDEV_THRESHOLD = 1.0
 
float ACC_Z_STDEV_THRESHOLD = 1.0
 
int BATTERY_PERCENTAGE = 0
 
int BATTERY_RAW = 1
 
int BTN_1 = 0x0002
 
int BTN_2 = 0x0001
 
int BTN_A = 0x0008
 
int BTN_B = 0x0004
 
int BTN_C = 0x0002
 
int BTN_DOWN = 0x0400
 
int BTN_HOME = 0x0080
 
int BTN_LEFT = 0x0100
 
int BTN_MINUS = 0x0010
 
int BTN_PLUS = 0x1000
 
int BTN_RIGHT = 0x0200
 
int BTN_UP = 0x0800
 
int BTN_Z = 0x0001
 
bool CALIBRATE_WITH_FAILED_CALIBRATION_DATA = False
 
int CLASSIC_BTN_A = 0x0010
 
int CLASSIC_BTN_B = 0x0040
 
int CLASSIC_BTN_DOWN = 0x4000
 
int CLASSIC_BTN_HOME = 0x0800
 
int CLASSIC_BTN_L = 0x2000
 
int CLASSIC_BTN_LEFT = 0x0002
 
int CLASSIC_BTN_MINUS = 0x1000
 
int CLASSIC_BTN_PLUS = 0x0400
 
int CLASSIC_BTN_R = 0x0200
 
int CLASSIC_BTN_RIGHT = 0x8000
 
int CLASSIC_BTN_UP = 0x0001
 
int CLASSIC_BTN_X = 0x0008
 
int CLASSIC_BTN_Y = 0x0020
 
int CLASSIC_BTN_ZL = 0x0080
 
int CLASSIC_BTN_ZR = 0x0004
 
float EARTH_GRAVITY = 9.80665
 
float GYRO_SCALE_FACTOR = 0.001055997
 
float GYRO_X_STDEV_THRESHOLD = 50.0
 
float GYRO_Y_STDEV_THRESHOLD = 50.0
 
float GYRO_Z_STDEV_THRESHOLD = 50.0
 
string IR1 = 'ir1'
 
string IR2 = 'ir2'
 
string IR3 = 'ir3'
 
string IR4 = 'ir4'
 
int LED = 2
 
int LED1_ON = 0x01
 
int LED2_ON = 0x02
 
int LED3_ON = 0x04
 
int LED4_ON = 0x08
 
string NORM_X = 'normX'
 
string NORM_Y = 'normY'
 
string NORM_Z = 'normZ'
 
int NUM_IR_SENSORS = 4
 
int NUM_LEDS = 4
 
int NUM_WARMUP_READINGS = 100
 
int NUM_ZEROING_READINGS = 100
 
int OUTLIER_STDEV_MULTIPLE = 3
 
int PHI = 0
 
int PSI = 2
 
int RUMBLE = 1
 
int SWITCH_OFF = 0
 
int SWITCH_ON = 1
 
int SWITCH_PULSE_PATTERN = -1
 
int THETA = 1
 
 THRESHOLDS_ARRAY
 
int WII_MSG_TYPE_ACC = 2
 
int WII_MSG_TYPE_BTN = 1
 
int WII_MSG_TYPE_CLASSIC = 5
 
int WII_MSG_TYPE_ERROR = 8
 
int WII_MSG_TYPE_IR = 3
 
int WII_MSG_TYPE_MOTIONPLUS = 7
 
int WII_MSG_TYPE_NUNCHUK = 4
 
int WII_MSG_TYPE_STATUS = 0
 
int WII_MSG_TYPE_UNKNOWN = 9
 
int X = 0
 
string X_COORD = 'x'
 
int Y = 1
 
string Y_COORD = 'y'
 
int Z = 2
 
string Z_COORD = 'z'
 

Variable Documentation

◆ _DEBUGLEVEL

int wiimote.wiimoteConstants._DEBUGLEVEL = 1
private

Definition at line 25 of file wiimoteConstants.py.

◆ _MONITOR_LEVEL

int wiimote.wiimoteConstants._MONITOR_LEVEL = 1
private

Definition at line 26 of file wiimoteConstants.py.

◆ ACC_X_STDEV_THRESHOLD

float wiimote.wiimoteConstants.ACC_X_STDEV_THRESHOLD = 1.0

Definition at line 154 of file wiimoteConstants.py.

◆ ACC_Y_STDEV_THRESHOLD

float wiimote.wiimoteConstants.ACC_Y_STDEV_THRESHOLD = 1.0

Definition at line 155 of file wiimoteConstants.py.

◆ ACC_Z_STDEV_THRESHOLD

float wiimote.wiimoteConstants.ACC_Z_STDEV_THRESHOLD = 1.0

Definition at line 156 of file wiimoteConstants.py.

◆ BATTERY_PERCENTAGE

int wiimote.wiimoteConstants.BATTERY_PERCENTAGE = 0

Definition at line 118 of file wiimoteConstants.py.

◆ BATTERY_RAW

int wiimote.wiimoteConstants.BATTERY_RAW = 1

Definition at line 119 of file wiimoteConstants.py.

◆ BTN_1

int wiimote.wiimoteConstants.BTN_1 = 0x0002

Definition at line 54 of file wiimoteConstants.py.

◆ BTN_2

int wiimote.wiimoteConstants.BTN_2 = 0x0001

Definition at line 55 of file wiimoteConstants.py.

◆ BTN_A

int wiimote.wiimoteConstants.BTN_A = 0x0008

Definition at line 57 of file wiimoteConstants.py.

◆ BTN_B

int wiimote.wiimoteConstants.BTN_B = 0x0004

Definition at line 56 of file wiimoteConstants.py.

◆ BTN_C

int wiimote.wiimoteConstants.BTN_C = 0x0002

Definition at line 67 of file wiimoteConstants.py.

◆ BTN_DOWN

int wiimote.wiimoteConstants.BTN_DOWN = 0x0400

Definition at line 62 of file wiimoteConstants.py.

◆ BTN_HOME

int wiimote.wiimoteConstants.BTN_HOME = 0x0080

Definition at line 64 of file wiimoteConstants.py.

◆ BTN_LEFT

int wiimote.wiimoteConstants.BTN_LEFT = 0x0100

Definition at line 60 of file wiimoteConstants.py.

◆ BTN_MINUS

int wiimote.wiimoteConstants.BTN_MINUS = 0x0010

Definition at line 58 of file wiimoteConstants.py.

◆ BTN_PLUS

int wiimote.wiimoteConstants.BTN_PLUS = 0x1000

Definition at line 59 of file wiimoteConstants.py.

◆ BTN_RIGHT

int wiimote.wiimoteConstants.BTN_RIGHT = 0x0200

Definition at line 61 of file wiimoteConstants.py.

◆ BTN_UP

int wiimote.wiimoteConstants.BTN_UP = 0x0800

Definition at line 63 of file wiimoteConstants.py.

◆ BTN_Z

int wiimote.wiimoteConstants.BTN_Z = 0x0001

Definition at line 68 of file wiimoteConstants.py.

◆ CALIBRATE_WITH_FAILED_CALIBRATION_DATA

bool wiimote.wiimoteConstants.CALIBRATE_WITH_FAILED_CALIBRATION_DATA = False

Definition at line 42 of file wiimoteConstants.py.

◆ CLASSIC_BTN_A

int wiimote.wiimoteConstants.CLASSIC_BTN_A = 0x0010

Definition at line 75 of file wiimoteConstants.py.

◆ CLASSIC_BTN_B

int wiimote.wiimoteConstants.CLASSIC_BTN_B = 0x0040

Definition at line 77 of file wiimoteConstants.py.

◆ CLASSIC_BTN_DOWN

int wiimote.wiimoteConstants.CLASSIC_BTN_DOWN = 0x4000

Definition at line 84 of file wiimoteConstants.py.

◆ CLASSIC_BTN_HOME

int wiimote.wiimoteConstants.CLASSIC_BTN_HOME = 0x0800

Definition at line 81 of file wiimoteConstants.py.

◆ CLASSIC_BTN_L

int wiimote.wiimoteConstants.CLASSIC_BTN_L = 0x2000

Definition at line 83 of file wiimoteConstants.py.

◆ CLASSIC_BTN_LEFT

int wiimote.wiimoteConstants.CLASSIC_BTN_LEFT = 0x0002

Definition at line 72 of file wiimoteConstants.py.

◆ CLASSIC_BTN_MINUS

int wiimote.wiimoteConstants.CLASSIC_BTN_MINUS = 0x1000

Definition at line 82 of file wiimoteConstants.py.

◆ CLASSIC_BTN_PLUS

int wiimote.wiimoteConstants.CLASSIC_BTN_PLUS = 0x0400

Definition at line 80 of file wiimoteConstants.py.

◆ CLASSIC_BTN_R

int wiimote.wiimoteConstants.CLASSIC_BTN_R = 0x0200

Definition at line 79 of file wiimoteConstants.py.

◆ CLASSIC_BTN_RIGHT

int wiimote.wiimoteConstants.CLASSIC_BTN_RIGHT = 0x8000

Definition at line 85 of file wiimoteConstants.py.

◆ CLASSIC_BTN_UP

int wiimote.wiimoteConstants.CLASSIC_BTN_UP = 0x0001

Definition at line 71 of file wiimoteConstants.py.

◆ CLASSIC_BTN_X

int wiimote.wiimoteConstants.CLASSIC_BTN_X = 0x0008

Definition at line 74 of file wiimoteConstants.py.

◆ CLASSIC_BTN_Y

int wiimote.wiimoteConstants.CLASSIC_BTN_Y = 0x0020

Definition at line 76 of file wiimoteConstants.py.

◆ CLASSIC_BTN_ZL

int wiimote.wiimoteConstants.CLASSIC_BTN_ZL = 0x0080

Definition at line 78 of file wiimoteConstants.py.

◆ CLASSIC_BTN_ZR

int wiimote.wiimoteConstants.CLASSIC_BTN_ZR = 0x0004

Definition at line 73 of file wiimoteConstants.py.

◆ EARTH_GRAVITY

float wiimote.wiimoteConstants.EARTH_GRAVITY = 9.80665

Definition at line 122 of file wiimoteConstants.py.

◆ GYRO_SCALE_FACTOR

float wiimote.wiimoteConstants.GYRO_SCALE_FACTOR = 0.001055997

Definition at line 141 of file wiimoteConstants.py.

◆ GYRO_X_STDEV_THRESHOLD

float wiimote.wiimoteConstants.GYRO_X_STDEV_THRESHOLD = 50.0

Definition at line 158 of file wiimoteConstants.py.

◆ GYRO_Y_STDEV_THRESHOLD

float wiimote.wiimoteConstants.GYRO_Y_STDEV_THRESHOLD = 50.0

Definition at line 159 of file wiimoteConstants.py.

◆ GYRO_Z_STDEV_THRESHOLD

float wiimote.wiimoteConstants.GYRO_Z_STDEV_THRESHOLD = 50.0

Definition at line 160 of file wiimoteConstants.py.

◆ IR1

string wiimote.wiimoteConstants.IR1 = 'ir1'

Definition at line 103 of file wiimoteConstants.py.

◆ IR2

string wiimote.wiimoteConstants.IR2 = 'ir2'

Definition at line 104 of file wiimoteConstants.py.

◆ IR3

string wiimote.wiimoteConstants.IR3 = 'ir3'

Definition at line 105 of file wiimoteConstants.py.

◆ IR4

string wiimote.wiimoteConstants.IR4 = 'ir4'

Definition at line 106 of file wiimoteConstants.py.

◆ LED

int wiimote.wiimoteConstants.LED = 2

Definition at line 51 of file wiimoteConstants.py.

◆ LED1_ON

int wiimote.wiimoteConstants.LED1_ON = 0x01

Definition at line 109 of file wiimoteConstants.py.

◆ LED2_ON

int wiimote.wiimoteConstants.LED2_ON = 0x02

Definition at line 110 of file wiimoteConstants.py.

◆ LED3_ON

int wiimote.wiimoteConstants.LED3_ON = 0x04

Definition at line 111 of file wiimoteConstants.py.

◆ LED4_ON

int wiimote.wiimoteConstants.LED4_ON = 0x08

Definition at line 112 of file wiimoteConstants.py.

◆ NORM_X

string wiimote.wiimoteConstants.NORM_X = 'normX'

Definition at line 98 of file wiimoteConstants.py.

◆ NORM_Y

string wiimote.wiimoteConstants.NORM_Y = 'normY'

Definition at line 99 of file wiimoteConstants.py.

◆ NORM_Z

string wiimote.wiimoteConstants.NORM_Z = 'normZ'

Definition at line 100 of file wiimoteConstants.py.

◆ NUM_IR_SENSORS

int wiimote.wiimoteConstants.NUM_IR_SENSORS = 4

Definition at line 102 of file wiimoteConstants.py.

◆ NUM_LEDS

int wiimote.wiimoteConstants.NUM_LEDS = 4

Definition at line 108 of file wiimoteConstants.py.

◆ NUM_WARMUP_READINGS

int wiimote.wiimoteConstants.NUM_WARMUP_READINGS = 100

Definition at line 33 of file wiimoteConstants.py.

◆ NUM_ZEROING_READINGS

int wiimote.wiimoteConstants.NUM_ZEROING_READINGS = 100

Definition at line 30 of file wiimoteConstants.py.

◆ OUTLIER_STDEV_MULTIPLE

int wiimote.wiimoteConstants.OUTLIER_STDEV_MULTIPLE = 3

Definition at line 38 of file wiimoteConstants.py.

◆ PHI

int wiimote.wiimoteConstants.PHI = 0

Definition at line 91 of file wiimoteConstants.py.

◆ PSI

int wiimote.wiimoteConstants.PSI = 2

Definition at line 93 of file wiimoteConstants.py.

◆ RUMBLE

int wiimote.wiimoteConstants.RUMBLE = 1

Definition at line 50 of file wiimoteConstants.py.

◆ SWITCH_OFF

int wiimote.wiimoteConstants.SWITCH_OFF = 0

Definition at line 46 of file wiimoteConstants.py.

◆ SWITCH_ON

int wiimote.wiimoteConstants.SWITCH_ON = 1

Definition at line 45 of file wiimoteConstants.py.

◆ SWITCH_PULSE_PATTERN

int wiimote.wiimoteConstants.SWITCH_PULSE_PATTERN = -1

Definition at line 47 of file wiimoteConstants.py.

◆ THETA

int wiimote.wiimoteConstants.THETA = 1

Definition at line 92 of file wiimoteConstants.py.

◆ THRESHOLDS_ARRAY

wiimote.wiimoteConstants.THRESHOLDS_ARRAY
Initial value:
1 = np.array([
2  ACC_X_STDEV_THRESHOLD,
3  ACC_Y_STDEV_THRESHOLD,
4  ACC_Z_STDEV_THRESHOLD,
5  GYRO_X_STDEV_THRESHOLD,
6  GYRO_Y_STDEV_THRESHOLD,
7  GYRO_Z_STDEV_THRESHOLD
8 ])

Definition at line 162 of file wiimoteConstants.py.

◆ WII_MSG_TYPE_ACC

int wiimote.wiimoteConstants.WII_MSG_TYPE_ACC = 2

Definition at line 146 of file wiimoteConstants.py.

◆ WII_MSG_TYPE_BTN

int wiimote.wiimoteConstants.WII_MSG_TYPE_BTN = 1

Definition at line 145 of file wiimoteConstants.py.

◆ WII_MSG_TYPE_CLASSIC

int wiimote.wiimoteConstants.WII_MSG_TYPE_CLASSIC = 5

Definition at line 149 of file wiimoteConstants.py.

◆ WII_MSG_TYPE_ERROR

int wiimote.wiimoteConstants.WII_MSG_TYPE_ERROR = 8

Definition at line 151 of file wiimoteConstants.py.

◆ WII_MSG_TYPE_IR

int wiimote.wiimoteConstants.WII_MSG_TYPE_IR = 3

Definition at line 147 of file wiimoteConstants.py.

◆ WII_MSG_TYPE_MOTIONPLUS

int wiimote.wiimoteConstants.WII_MSG_TYPE_MOTIONPLUS = 7

Definition at line 150 of file wiimoteConstants.py.

◆ WII_MSG_TYPE_NUNCHUK

int wiimote.wiimoteConstants.WII_MSG_TYPE_NUNCHUK = 4

Definition at line 148 of file wiimoteConstants.py.

◆ WII_MSG_TYPE_STATUS

int wiimote.wiimoteConstants.WII_MSG_TYPE_STATUS = 0

Definition at line 144 of file wiimoteConstants.py.

◆ WII_MSG_TYPE_UNKNOWN

int wiimote.wiimoteConstants.WII_MSG_TYPE_UNKNOWN = 9

Definition at line 152 of file wiimoteConstants.py.

◆ X

int wiimote.wiimoteConstants.X = 0

Definition at line 87 of file wiimoteConstants.py.

◆ X_COORD

string wiimote.wiimoteConstants.X_COORD = 'x'

Definition at line 95 of file wiimoteConstants.py.

◆ Y

int wiimote.wiimoteConstants.Y = 1

Definition at line 88 of file wiimoteConstants.py.

◆ Y_COORD

string wiimote.wiimoteConstants.Y_COORD = 'y'

Definition at line 96 of file wiimoteConstants.py.

◆ Z

int wiimote.wiimoteConstants.Z = 2

Definition at line 89 of file wiimoteConstants.py.

◆ Z_COORD

string wiimote.wiimoteConstants.Z_COORD = 'z'

Definition at line 97 of file wiimoteConstants.py.



wiimote
Author(s): Andreas Paepcke, Melonee Wise, Mark Horn
autogenerated on Thu Dec 5 2024 03:18:13