Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Attributes
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 = ['std_msgs/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 12 of file _State.py.


Constructor & Destructor 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 240 of file _State.py.


Member Function Documentation

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

Definition at line 319 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, ``str``

Definition at line 363 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, ``str``
:param numpy: numpy python module

Definition at line 501 of file _State.py.

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

Definition at line 325 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, ``StringIO``
:param numpy: numpy python module

Definition at line 462 of file _State.py.


Member Data Documentation

Definition at line 237 of file _State.py.

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

Definition at line 16 of file _State.py.

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

Definition at line 15 of file _State.py.

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

Definition at line 13 of file _State.py.

list wiimote::msg::_State.State::_slot_types = ['std_msgs/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 238 of file _State.py.

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

Definition at line 14 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 206 of file _State.py.

Definition at line 207 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 208 of file _State.py.

Definition at line 209 of file _State.py.

Definition at line 210 of file _State.py.

Definition at line 211 of file _State.py.

Definition at line 220 of file _State.py.

Definition at line 217 of file _State.py.

Definition at line 218 of file _State.py.

Definition at line 214 of file _State.py.

Definition at line 213 of file _State.py.

Definition at line 212 of file _State.py.

Definition at line 215 of file _State.py.

Definition at line 216 of file _State.py.

Definition at line 219 of file _State.py.

Definition at line 223 of file _State.py.

Definition at line 224 of file _State.py.

Definition at line 230 of file _State.py.

Definition at line 231 of file _State.py.

Definition at line 232 of file _State.py.

Definition at line 227 of file _State.py.

Definition at line 226 of file _State.py.

Definition at line 225 of file _State.py.

Definition at line 233 of file _State.py.

Definition at line 228 of file _State.py.

Definition at line 229 of file _State.py.

Definition at line 221 of file _State.py.

Definition at line 222 of file _State.py.

Definition at line 234 of file _State.py.

Definition at line 235 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 252 of file _State.py.

Definition at line 252 of file _State.py.


The documentation for this class was generated from the following file:


wiimote
Author(s): Andreas Paepcke and Melonee Wise
autogenerated on Sat Dec 28 2013 17:06:51