Public Member Functions | Public Attributes | Private Member Functions | Static Private Attributes
srs_knowledge.msg._CUAction.CUAction Class Reference

List of all members.

Public Member Functions

def __init__
def deserialize
def deserialize_numpy
def serialize
def serialize_numpy

Public Attributes

 actionType
 generic
 status

Private Member Functions

def _get_types

Static Private Attributes

list __slots__ = ['status','generic','actionType']
string _full_text
 _has_header = False
string _md5sum = "dd380bff1522657abc20274417168b83"
list _slot_types = ['int32','srs_knowledge/GenericAction','string']
string _type = "srs_knowledge/CUAction"

Detailed Description

Definition at line 9 of file _CUAction.py.


Constructor & Destructor Documentation

def srs_knowledge.msg._CUAction.CUAction.__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:
   status,generic,actionType

: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 _CUAction.py.


Member Function Documentation

internal API method

Definition at line 67 of file _CUAction.py.

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

Definition at line 95 of file _CUAction.py.

def srs_knowledge.msg._CUAction.CUAction.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 153 of file _CUAction.py.

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

Definition at line 73 of file _CUAction.py.

def srs_knowledge.msg._CUAction.CUAction.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 130 of file _CUAction.py.


Member Data Documentation

Definition at line 36 of file _CUAction.py.

Initial value:
"""# still at alpha stage. not finalised yet. 

# indicate if task finished successfully (1); no feasible solution (-1); continue executing the given actions in this message (0)
int32 status

# [ifNavigate, ifDetect, ifGrasp]. 0: yes, 1: no, 2: others (undefined)
#int32[] actionFlags

#MoveAction ma
#PerceptionAction pa
#GraspAction ga
GenericAction generic

# move, perception, grasp, or generic
string actionType
================================================================================
MSG: srs_knowledge/GenericAction
# use a list as the information container of an action
# BE CAREFUL WHEN USING IT. FOR FLEXIBILITY REASON OR TESTING NEW ADDED ACTION TYPE 
# string[] actionInfo    # to deprecate
string jsonActionInfo

"""

Definition at line 13 of file _CUAction.py.

Definition at line 12 of file _CUAction.py.

string srs_knowledge::msg::_CUAction.CUAction::_md5sum = "dd380bff1522657abc20274417168b83" [static, private]

Definition at line 10 of file _CUAction.py.

list srs_knowledge::msg::_CUAction.CUAction::_slot_types = ['int32','srs_knowledge/GenericAction','string'] [static, private]

Definition at line 37 of file _CUAction.py.

string srs_knowledge::msg::_CUAction.CUAction::_type = "srs_knowledge/CUAction" [static, private]

Definition at line 11 of file _CUAction.py.

Definition at line 51 of file _CUAction.py.

Definition at line 51 of file _CUAction.py.

Definition at line 51 of file _CUAction.py.


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


srs_knowledge
Author(s): Ze Ji
autogenerated on Sun Jan 5 2014 12:03:31