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._PowerSystemEvent.PowerSystemEvent Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 event

Static Public Attributes

int BATTERY_CRITICAL = 5
int BATTERY_LOW = 4
int CHARGE_COMPLETED = 3
int PLUGGED_TO_ADAPTER = 1
int PLUGGED_TO_DOCKBASE = 2
int UNPLUGGED = 0

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['event']
string _full_text
 _has_header = False
string _md5sum = "f6464657d6c911b00c7bc7b43a154bf8"
list _slot_types = ['uint8']
string _type = "kobuki_comms/PowerSystemEvent"

Detailed Description

Definition at line 8 of file _PowerSystemEvent.py.


Constructor & Destructor Documentation

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:
   event

: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 39 of file _PowerSystemEvent.py.


Member Function Documentation

internal API method

Definition at line 61 of file _PowerSystemEvent.py.

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

Definition at line 77 of file _PowerSystemEvent.py.

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 103 of file _PowerSystemEvent.py.

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

Definition at line 67 of file _PowerSystemEvent.py.

serialize message with numpy array types into buffer
:param buff: buffer, ``StringIO``
:param numpy: numpy python module

Definition at line 92 of file _PowerSystemEvent.py.


Member Data Documentation

Definition at line 36 of file _PowerSystemEvent.py.

Initial value:
"""# Power system events
# This message is generated by important changes in the power system:
#  - plug/unplug to the docking base or adapter
#  - transitions to low/critical battery levels
#  - battery charge completed

uint8 UNPLUGGED           = 0
uint8 PLUGGED_TO_ADAPTER  = 1
uint8 PLUGGED_TO_DOCKBASE = 2
uint8 CHARGE_COMPLETED    = 3
uint8 BATTERY_LOW         = 4
uint8 BATTERY_CRITICAL    = 5

uint8 event

"""

Definition at line 12 of file _PowerSystemEvent.py.

Definition at line 11 of file _PowerSystemEvent.py.

string kobuki_comms::msg::_PowerSystemEvent.PowerSystemEvent::_md5sum = "f6464657d6c911b00c7bc7b43a154bf8" [static, private]

Definition at line 9 of file _PowerSystemEvent.py.

Definition at line 37 of file _PowerSystemEvent.py.

Definition at line 10 of file _PowerSystemEvent.py.

Definition at line 34 of file _PowerSystemEvent.py.

Definition at line 33 of file _PowerSystemEvent.py.

Definition at line 32 of file _PowerSystemEvent.py.

Definition at line 51 of file _PowerSystemEvent.py.

Definition at line 30 of file _PowerSystemEvent.py.

Definition at line 31 of file _PowerSystemEvent.py.

Definition at line 29 of file _PowerSystemEvent.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