wiimote::msg::_State::State Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 angular_velocity_covariance
 angular_velocity_raw
 angular_velocity_zeroed
 buttons
 errors
 header
 ir_tracking
 LEDs
 linear_acceleration_covariance
 linear_acceleration_raw
 linear_acceleration_zeroed
 nunchuk_acceleration_raw
 nunchuk_acceleration_zeroed
 nunchuk_buttons
 nunchuk_joystick_raw
 nunchuk_joystick_zeroed
 percent_battery
 raw_battery
 rumble
 zeroing_time

Static Public Attributes

int INVALID = 1
float INVALID_FLOAT = 1.0
int MSG_BTN_1 = 0
int MSG_BTN_2 = 1
int MSG_BTN_A = 2
int MSG_BTN_B = 3
int MSG_BTN_C = 1
int MSG_BTN_DOWN = 9
int MSG_BTN_HOME = 10
int MSG_BTN_LEFT = 6
int MSG_BTN_MINUS = 5
int MSG_BTN_PLUS = 4
int MSG_BTN_RIGHT = 7
int MSG_BTN_UP = 8
int MSG_BTN_Z = 0
int MSG_CLASSIC_BTN_A = 2
int MSG_CLASSIC_BTN_B = 3
int MSG_CLASSIC_BTN_DOWN = 9
int MSG_CLASSIC_BTN_HOME = 10
int MSG_CLASSIC_BTN_L = 11
int MSG_CLASSIC_BTN_LEFT = 6
int MSG_CLASSIC_BTN_MINUS = 5
int MSG_CLASSIC_BTN_PLUS = 4
int MSG_CLASSIC_BTN_R = 12
int MSG_CLASSIC_BTN_RIGHT = 7
int MSG_CLASSIC_BTN_UP = 8
int MSG_CLASSIC_BTN_X = 0
int MSG_CLASSIC_BTN_Y = 1
int MSG_CLASSIC_BTN_ZL = 13
int MSG_CLASSIC_BTN_ZR = 14

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['header','angular_velocity_zeroed','angular_velocity_raw','angular_velocity_covariance','linear_acceleration_zeroed','linear_acceleration_raw','linear_acceleration_covariance','nunchuk_acceleration_zeroed','nunchuk_acceleration_raw','nunchuk_joystick_zeroed','nunchuk_joystick_raw','buttons','nunchuk_buttons','LEDs','rumble','ir_tracking','raw_battery','percent_battery','zeroing_time','errors']
string _full_text
 _has_header = True
string _md5sum = "a69651e8129655c6ed3c5039e468362c"
list _slot_types = ['Header','geometry_msgs/Vector3','geometry_msgs/Vector3','float64[9]','geometry_msgs/Vector3','geometry_msgs/Vector3','float64[9]','geometry_msgs/Vector3','geometry_msgs/Vector3','float32[2]','float32[2]','bool[11]','bool[2]','bool[4]','bool','wiimote/IrSourceInfo[]','float32','float32','time','uint64']
string _type = "wiimote/State"

Detailed Description

Definition at line 10 of file _State.py.


Member Function Documentation

def wiimote::msg::_State::State::__init__ (   self,
  args,
  kwds 
)
Constructor. Any message fields that are implicitly/explicitly
set to None will be assigned a default value. The recommend
use is keyword arguments as this is more robust to future message
changes.  You cannot mix in-order arguments and keyword arguments.

The available fields are:
   header,angular_velocity_zeroed,angular_velocity_raw,angular_velocity_covariance,linear_acceleration_zeroed,linear_acceleration_raw,linear_acceleration_covariance,nunchuk_acceleration_zeroed,nunchuk_acceleration_raw,nunchuk_joystick_zeroed,nunchuk_joystick_raw,buttons,nunchuk_buttons,LEDs,rumble,ir_tracking,raw_battery,percent_battery,zeroing_time,errors

@param args: complete set of field values, in .msg order
@param kwds: use keyword arguments corresponding to message field names
to set specific fields. 

Definition at line 238 of file _State.py.

def wiimote::msg::_State::State::_get_types (   self  )  [private]
internal API method

Definition at line 317 of file _State.py.

def wiimote::msg::_State::State::deserialize (   self,
  str 
)
unpack serialized message in str into this message instance
@param str: byte array of serialized message
@type  str: str

Definition at line 359 of file _State.py.

def wiimote::msg::_State::State::deserialize_numpy (   self,
  str,
  numpy 
)
unpack serialized message in str into this message instance using numpy for array types
@param str: byte array of serialized message
@type  str: str
@param numpy: numpy python module
@type  numpy: module

Definition at line 492 of file _State.py.

def wiimote::msg::_State::State::serialize (   self,
  buff 
)
serialize message into buffer
@param buff: buffer
@type  buff: StringIO

Definition at line 323 of file _State.py.

def wiimote::msg::_State::State::serialize_numpy (   self,
  buff,
  numpy 
)
serialize message with numpy array types into buffer
@param buff: buffer
@type  buff: StringIO
@param numpy: numpy python module
@type  numpy module

Definition at line 454 of file _State.py.


Member Data Documentation

Definition at line 235 of file _State.py.

string wiimote::msg::_State::State::_full_text [static, private]

Definition at line 14 of file _State.py.

wiimote::msg::_State::State::_has_header = True [static, private]

Definition at line 13 of file _State.py.

string wiimote::msg::_State::State::_md5sum = "a69651e8129655c6ed3c5039e468362c" [static, private]

Definition at line 11 of file _State.py.

list wiimote::msg::_State::State::_slot_types = ['Header','geometry_msgs/Vector3','geometry_msgs/Vector3','float64[9]','geometry_msgs/Vector3','geometry_msgs/Vector3','float64[9]','geometry_msgs/Vector3','geometry_msgs/Vector3','float32[2]','float32[2]','bool[11]','bool[2]','bool[4]','bool','wiimote/IrSourceInfo[]','float32','float32','time','uint64'] [static, private]

Definition at line 236 of file _State.py.

string wiimote::msg::_State::State::_type = "wiimote/State" [static, private]

Definition at line 12 of file _State.py.

Definition at line 262 of file _State.py.

Definition at line 260 of file _State.py.

Definition at line 258 of file _State.py.

Definition at line 278 of file _State.py.

Definition at line 294 of file _State.py.

Definition at line 256 of file _State.py.

Definition at line 204 of file _State.py.

Definition at line 205 of file _State.py.

Definition at line 286 of file _State.py.

Definition at line 282 of file _State.py.

Definition at line 268 of file _State.py.

Definition at line 266 of file _State.py.

Definition at line 264 of file _State.py.

Definition at line 206 of file _State.py.

Definition at line 207 of file _State.py.

Definition at line 208 of file _State.py.

Definition at line 209 of file _State.py.

Definition at line 218 of file _State.py.

Definition at line 215 of file _State.py.

Definition at line 216 of file _State.py.

Definition at line 212 of file _State.py.

Definition at line 211 of file _State.py.

Definition at line 210 of file _State.py.

Definition at line 213 of file _State.py.

Definition at line 214 of file _State.py.

Definition at line 217 of file _State.py.

Definition at line 221 of file _State.py.

Definition at line 222 of file _State.py.

Definition at line 228 of file _State.py.

Definition at line 229 of file _State.py.

Definition at line 230 of file _State.py.

Definition at line 225 of file _State.py.

Definition at line 224 of file _State.py.

Definition at line 223 of file _State.py.

Definition at line 231 of file _State.py.

Definition at line 226 of file _State.py.

Definition at line 227 of file _State.py.

Definition at line 219 of file _State.py.

Definition at line 220 of file _State.py.

Definition at line 232 of file _State.py.

Definition at line 233 of file _State.py.

Definition at line 272 of file _State.py.

Definition at line 270 of file _State.py.

Definition at line 280 of file _State.py.

Definition at line 276 of file _State.py.

Definition at line 274 of file _State.py.

Definition at line 290 of file _State.py.

Definition at line 288 of file _State.py.

Definition at line 284 of file _State.py.

Definition at line 292 of file _State.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator


wiimote
Author(s): Andreas Paepcke
autogenerated on Fri Jan 11 09:15:27 2013