Variables
wiimote.wiimoteConstants Namespace Reference

Variables

int _DEBUGLEVEL = 1
 File: wiimoteConstants.py RCS: More...
 
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

int wiimote.wiimoteConstants._DEBUGLEVEL = 1
private

File: wiimoteConstants.py RCS:

Header

Description: Constants for Wii Arm Control Author: Andreas Paepcke Created: Thu Aug 13 11:44:04 2009 (Andreas Paepcke) paepc.nosp@m.ke@a.nosp@m.nw.wi.nosp@m.llow.nosp@m.garag.nosp@m.e.co.nosp@m.m Modified: Thu Jan 13 13:44:31 2011 (Andreas Paepcke) paepc.nosp@m.ke@b.nosp@m.hb.wi.nosp@m.llow.nosp@m.garag.nosp@m.e.co.nosp@m.m Language: Python Package: N/A Status: Experimental (Do Not Distribute)

#

Revisions:

Thu Mar 18 10:56:09 2010 (David Lu) david.nosp@m.lu@w.nosp@m.ustl..nosp@m.edu Added nunchuk options Fri Oct 29 08:58:21 2010 (Miguel Angel Julian Aguilar, QBO Project) migue.nosp@m.l.an.nosp@m.gel@t.nosp@m.heco.nosp@m.rpora.nosp@m..com Added classic controller options

Definition at line 24 of file wiimoteConstants.py.

int wiimote.wiimoteConstants._MONITOR_LEVEL = 1
private

Definition at line 25 of file wiimoteConstants.py.

float wiimote.wiimoteConstants.ACC_X_STDEV_THRESHOLD = 1.0

Definition at line 181 of file wiimoteConstants.py.

float wiimote.wiimoteConstants.ACC_Y_STDEV_THRESHOLD = 1.0

Definition at line 182 of file wiimoteConstants.py.

float wiimote.wiimoteConstants.ACC_Z_STDEV_THRESHOLD = 1.0

Definition at line 183 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.BATTERY_PERCENTAGE = 0

Definition at line 140 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.BATTERY_RAW = 1

Definition at line 141 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.BTN_1 = 0x0002

Definition at line 57 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.BTN_2 = 0x0001

Definition at line 58 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.BTN_A = 0x0008

Definition at line 60 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.BTN_B = 0x0004

Definition at line 59 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.BTN_C = 0x0002

Definition at line 70 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.BTN_DOWN = 0x0400

Definition at line 65 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.BTN_HOME = 0x0080

Definition at line 67 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.BTN_LEFT = 0x0100

Definition at line 63 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.BTN_MINUS = 0x0010

Definition at line 61 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.BTN_PLUS = 0x1000

Definition at line 62 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.BTN_RIGHT = 0x0200

Definition at line 64 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.BTN_UP = 0x0800

Definition at line 66 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.BTN_Z = 0x0001

Definition at line 71 of file wiimoteConstants.py.

bool wiimote.wiimoteConstants.CALIBRATE_WITH_FAILED_CALIBRATION_DATA = False

Definition at line 43 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.CLASSIC_BTN_A = 0x0010

Definition at line 78 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.CLASSIC_BTN_B = 0x0040

Definition at line 80 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.CLASSIC_BTN_DOWN = 0x4000

Definition at line 87 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.CLASSIC_BTN_HOME = 0x0800

Definition at line 84 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.CLASSIC_BTN_L = 0x2000

Definition at line 86 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.CLASSIC_BTN_LEFT = 0x0002

Definition at line 75 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.CLASSIC_BTN_MINUS = 0x1000

Definition at line 85 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.CLASSIC_BTN_PLUS = 0x0400

Definition at line 83 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.CLASSIC_BTN_R = 0x0200

Definition at line 82 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.CLASSIC_BTN_RIGHT = 0x8000

Definition at line 88 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.CLASSIC_BTN_UP = 0x0001

Definition at line 74 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.CLASSIC_BTN_X = 0x0008

Definition at line 77 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.CLASSIC_BTN_Y = 0x0020

Definition at line 79 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.CLASSIC_BTN_ZL = 0x0080

Definition at line 81 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.CLASSIC_BTN_ZR = 0x0004

Definition at line 76 of file wiimoteConstants.py.

float wiimote.wiimoteConstants.EARTH_GRAVITY = 9.80665

Definition at line 144 of file wiimoteConstants.py.

float wiimote.wiimoteConstants.GYRO_SCALE_FACTOR = 0.001055997

Definition at line 163 of file wiimoteConstants.py.

float wiimote.wiimoteConstants.GYRO_X_STDEV_THRESHOLD = 50.0

Definition at line 185 of file wiimoteConstants.py.

float wiimote.wiimoteConstants.GYRO_Y_STDEV_THRESHOLD = 50.0

Definition at line 186 of file wiimoteConstants.py.

float wiimote.wiimoteConstants.GYRO_Z_STDEV_THRESHOLD = 50.0

Definition at line 187 of file wiimoteConstants.py.

string wiimote.wiimoteConstants.IR1 = 'ir1'

Definition at line 124 of file wiimoteConstants.py.

string wiimote.wiimoteConstants.IR2 = 'ir2'

Definition at line 125 of file wiimoteConstants.py.

string wiimote.wiimoteConstants.IR3 = 'ir3'

Definition at line 126 of file wiimoteConstants.py.

string wiimote.wiimoteConstants.IR4 = 'ir4'

Definition at line 127 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.LED = 2

Definition at line 53 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.LED1_ON = 0x01

Definition at line 130 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.LED2_ON = 0x02

Definition at line 131 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.LED3_ON = 0x04

Definition at line 132 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.LED4_ON = 0x08

Definition at line 133 of file wiimoteConstants.py.

string wiimote.wiimoteConstants.NORM_X = 'normX'

Definition at line 119 of file wiimoteConstants.py.

string wiimote.wiimoteConstants.NORM_Y = 'normY'

Definition at line 120 of file wiimoteConstants.py.

string wiimote.wiimoteConstants.NORM_Z = 'normZ'

Definition at line 121 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.NUM_IR_SENSORS = 4

Definition at line 123 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.NUM_LEDS = 4

Definition at line 129 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.NUM_WARMUP_READINGS = 100

Definition at line 31 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.NUM_ZEROING_READINGS = 100

Definition at line 30 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.OUTLIER_STDEV_MULTIPLE = 3

Definition at line 38 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.PHI = 0

Definition at line 94 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.PSI = 2

Definition at line 96 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.RUMBLE = 1

Definition at line 52 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.SWITCH_OFF = 0

Definition at line 47 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.SWITCH_ON = 1

Definition at line 46 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.SWITCH_PULSE_PATTERN = -1

Definition at line 48 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.THETA = 1

Definition at line 95 of file wiimoteConstants.py.

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

Definition at line 189 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.WII_MSG_TYPE_ACC = 2

Definition at line 168 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.WII_MSG_TYPE_BTN = 1

Definition at line 167 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.WII_MSG_TYPE_CLASSIC = 5

Definition at line 171 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.WII_MSG_TYPE_ERROR = 8

Definition at line 174 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.WII_MSG_TYPE_IR = 3

Definition at line 169 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.WII_MSG_TYPE_MOTIONPLUS = 7

Definition at line 173 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.WII_MSG_TYPE_NUNCHUK = 4

Definition at line 170 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.WII_MSG_TYPE_STATUS = 0

Definition at line 166 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.WII_MSG_TYPE_UNKNOWN = 9

Definition at line 175 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.X = 0

Definition at line 90 of file wiimoteConstants.py.

string wiimote.wiimoteConstants.X_COORD = 'x'

Definition at line 116 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.Y = 1

Definition at line 91 of file wiimoteConstants.py.

string wiimote.wiimoteConstants.Y_COORD = 'y'

Definition at line 117 of file wiimoteConstants.py.

int wiimote.wiimoteConstants.Z = 2

Definition at line 92 of file wiimoteConstants.py.

string wiimote.wiimoteConstants.Z_COORD = 'z'

Definition at line 118 of file wiimoteConstants.py.



wiimote
Author(s): Andreas Paepcke, Melonee Wise, Mark Horn
autogenerated on Fri Jun 7 2019 22:01:33