All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Attributes
kobuki_comms.msg._CliffEvent.CliffEvent Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 bottom
 sensor
 state

Static Public Attributes

int CENTER = 1
int CLIFF = 1
int FLOOR = 0
int LEFT = 0
int RIGHT = 2

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['state','sensor','bottom']
string _full_text
 _has_header = False
string _md5sum = "768947926ed252fd64a5711160ff3884"
list _slot_types = ['uint8','uint8','uint16']
string _type = "kobuki_comms/CliffEvent"

Detailed Description

Definition at line 8 of file _CliffEvent.py.


Constructor & Destructor Documentation

def kobuki_comms.msg._CliffEvent.CliffEvent.__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:
   state,sensor,bottom

: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 36 of file _CliffEvent.py.


Member Function Documentation

internal API method

Definition at line 64 of file _CliffEvent.py.

unpack serialized message in str into this message instance
:param str: byte array of serialized message, ``str``

Definition at line 81 of file _CliffEvent.py.

def kobuki_comms.msg._CliffEvent.CliffEvent.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 109 of file _CliffEvent.py.

serialize message into buffer
:param buff: buffer, ``StringIO``

Definition at line 70 of file _CliffEvent.py.

def kobuki_comms.msg._CliffEvent.CliffEvent.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 97 of file _CliffEvent.py.


Member Data Documentation

Definition at line 33 of file _CliffEvent.py.

Initial value:
"""# Provides a cliff sensor event
# This message is generated whenever the robot approaches or moves away from a cliff

uint8 LEFT   = 0
uint8 CENTER = 1
uint8 RIGHT  = 2

uint8 FLOOR = 0
uint8 CLIFF = 1

uint8  state
uint8  sensor
uint16 bottom
"""

Definition at line 12 of file _CliffEvent.py.

Definition at line 11 of file _CliffEvent.py.

string kobuki_comms::msg::_CliffEvent.CliffEvent::_md5sum = "768947926ed252fd64a5711160ff3884" [static, private]

Definition at line 9 of file _CliffEvent.py.

list kobuki_comms::msg::_CliffEvent.CliffEvent::_slot_types = ['uint8','uint8','uint16'] [static, private]

Definition at line 34 of file _CliffEvent.py.

string kobuki_comms::msg::_CliffEvent.CliffEvent::_type = "kobuki_comms/CliffEvent" [static, private]

Definition at line 10 of file _CliffEvent.py.

Definition at line 48 of file _CliffEvent.py.

Definition at line 28 of file _CliffEvent.py.

Definition at line 31 of file _CliffEvent.py.

Definition at line 30 of file _CliffEvent.py.

Definition at line 27 of file _CliffEvent.py.

Definition at line 29 of file _CliffEvent.py.

Definition at line 48 of file _CliffEvent.py.

Definition at line 48 of file _CliffEvent.py.


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


kobuki_comms
Author(s): Daniel Stonier, 주영훈
autogenerated on Thu Nov 15 2012 18:05:16