Public Types | Public Member Functions | Public Attributes
wiimote::State Class Reference

#include <State.h>

Inheritance diagram for wiimote::State:
Inheritance graph
[legend]

List of all members.

Public Types

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

Public Member Functions

virtual int deserialize (unsigned char *inbuffer)
const char * getMD5 ()
const char * getType ()
virtual int serialize (unsigned char *outbuffer) const

Public Attributes

float angular_velocity_covariance [9]
geometry_msgs::Vector3 angular_velocity_raw
geometry_msgs::Vector3 angular_velocity_zeroed
bool buttons [11]
uint64_t errors
std_msgs::Header header
wiimote::IrSourceInfoir_tracking
uint8_t ir_tracking_length
bool LEDs [4]
float linear_acceleration_covariance [9]
geometry_msgs::Vector3 linear_acceleration_raw
geometry_msgs::Vector3 linear_acceleration_zeroed
geometry_msgs::Vector3 nunchuk_acceleration_raw
geometry_msgs::Vector3 nunchuk_acceleration_zeroed
bool nunchuk_buttons [2]
float nunchuk_joystick_raw [2]
float nunchuk_joystick_zeroed [2]
float percent_battery
float raw_battery
bool rumble
wiimote::IrSourceInfo st_ir_tracking
ros::Time zeroing_time

Detailed Description

Definition at line 16 of file State.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
INVALID 

Definition at line 41 of file State.h.

anonymous enum
Enumerator:
INVALID_FLOAT 

Definition at line 42 of file State.h.

anonymous enum
Enumerator:
MSG_BTN_1 

Definition at line 43 of file State.h.

anonymous enum
Enumerator:
MSG_BTN_2 

Definition at line 44 of file State.h.

anonymous enum
Enumerator:
MSG_BTN_A 

Definition at line 45 of file State.h.

anonymous enum
Enumerator:
MSG_BTN_B 

Definition at line 46 of file State.h.

anonymous enum
Enumerator:
MSG_BTN_PLUS 

Definition at line 47 of file State.h.

anonymous enum
Enumerator:
MSG_BTN_MINUS 

Definition at line 48 of file State.h.

anonymous enum
Enumerator:
MSG_BTN_LEFT 

Definition at line 49 of file State.h.

anonymous enum
Enumerator:
MSG_BTN_RIGHT 

Definition at line 50 of file State.h.

anonymous enum
Enumerator:
MSG_BTN_UP 

Definition at line 51 of file State.h.

anonymous enum
Enumerator:
MSG_BTN_DOWN 

Definition at line 52 of file State.h.

anonymous enum
Enumerator:
MSG_BTN_HOME 

Definition at line 53 of file State.h.

anonymous enum
Enumerator:
MSG_BTN_Z 

Definition at line 54 of file State.h.

anonymous enum
Enumerator:
MSG_BTN_C 

Definition at line 55 of file State.h.

anonymous enum
Enumerator:
MSG_CLASSIC_BTN_X 

Definition at line 56 of file State.h.

anonymous enum
Enumerator:
MSG_CLASSIC_BTN_Y 

Definition at line 57 of file State.h.

anonymous enum
Enumerator:
MSG_CLASSIC_BTN_A 

Definition at line 58 of file State.h.

anonymous enum
Enumerator:
MSG_CLASSIC_BTN_B 

Definition at line 59 of file State.h.

anonymous enum
Enumerator:
MSG_CLASSIC_BTN_PLUS 

Definition at line 60 of file State.h.

anonymous enum
Enumerator:
MSG_CLASSIC_BTN_MINUS 

Definition at line 61 of file State.h.

anonymous enum
Enumerator:
MSG_CLASSIC_BTN_LEFT 

Definition at line 62 of file State.h.

anonymous enum
Enumerator:
MSG_CLASSIC_BTN_RIGHT 

Definition at line 63 of file State.h.

anonymous enum
Enumerator:
MSG_CLASSIC_BTN_UP 

Definition at line 64 of file State.h.

anonymous enum
Enumerator:
MSG_CLASSIC_BTN_DOWN 

Definition at line 65 of file State.h.

anonymous enum
Enumerator:
MSG_CLASSIC_BTN_HOME 

Definition at line 66 of file State.h.

anonymous enum
Enumerator:
MSG_CLASSIC_BTN_L 

Definition at line 67 of file State.h.

anonymous enum
Enumerator:
MSG_CLASSIC_BTN_R 

Definition at line 68 of file State.h.

anonymous enum
Enumerator:
MSG_CLASSIC_BTN_ZL 

Definition at line 69 of file State.h.

anonymous enum
Enumerator:
MSG_CLASSIC_BTN_ZR 

Definition at line 70 of file State.h.


Member Function Documentation

virtual int wiimote::State::deserialize ( unsigned char *  inbuffer) [inline, virtual]

Implements ros::Msg.

Definition at line 229 of file State.h.

const char* wiimote::State::getMD5 ( ) [inline, virtual]

Implements ros::Msg.

Definition at line 392 of file State.h.

const char* wiimote::State::getType ( ) [inline, virtual]

Implements ros::Msg.

Definition at line 391 of file State.h.

virtual int wiimote::State::serialize ( unsigned char *  outbuffer) const [inline, virtual]

Implements ros::Msg.

Definition at line 72 of file State.h.


Member Data Documentation

Definition at line 22 of file State.h.

Definition at line 21 of file State.h.

Definition at line 20 of file State.h.

Definition at line 30 of file State.h.

Definition at line 40 of file State.h.

Definition at line 19 of file State.h.

Definition at line 36 of file State.h.

Definition at line 34 of file State.h.

Definition at line 32 of file State.h.

Definition at line 25 of file State.h.

Definition at line 24 of file State.h.

Definition at line 23 of file State.h.

Definition at line 27 of file State.h.

Definition at line 26 of file State.h.

Definition at line 31 of file State.h.

Definition at line 29 of file State.h.

Definition at line 28 of file State.h.

Definition at line 38 of file State.h.

Definition at line 37 of file State.h.

Definition at line 33 of file State.h.

Definition at line 35 of file State.h.

Definition at line 39 of file State.h.


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


lizi_arduino
Author(s): RoboTiCan
autogenerated on Wed Aug 26 2015 12:24:24