Public Member Functions | Private Member Functions | Private Attributes
rgoap_ros.common_ros.ROSTopicAction Class Reference

List of all members.

Public Member Functions

def __init__
def __str__
def check_freeform_context
def run

Private Member Functions

def _msg_cb

Private Attributes

 _msg_args
 _msg_cb
 _publisher
 _topic
 _topic_class

Detailed Description

Definition at line 76 of file common_ros.py.


Constructor & Destructor Documentation

def rgoap_ros.common_ros.ROSTopicAction.__init__ (   self,
  topic,
  topic_class,
  preconditions,
  effects,
  msg_args = None,
  msg_cb = None,
  kwargs 
)
:param topic_class: Message type, ``Class``
:param msg_args: Arguments to initialize message that is published, ``[val]``
:param msg_cb: callback to replace the default _msg_cb, useful with lambda expressions

Definition at line 78 of file common_ros.py.


Member Function Documentation

Definition at line 96 of file common_ros.py.

def rgoap_ros.common_ros.ROSTopicAction._msg_cb (   self,
  message,
  next_worldstate 
) [private]
Fill and return the given (or a created) message as desired

Must be implemented and is concerned only if neither msg_args nor msg_cb is given.

Definition at line 102 of file common_ros.py.

Definition at line 109 of file common_ros.py.

def rgoap_ros.common_ros.ROSTopicAction.run (   self,
  next_worldstate 
)

Definition at line 112 of file common_ros.py.


Member Data Documentation

Definition at line 82 of file common_ros.py.

Definition at line 82 of file common_ros.py.

Definition at line 82 of file common_ros.py.

Definition at line 82 of file common_ros.py.

Definition at line 82 of file common_ros.py.


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


rgoap_ros
Author(s): Felix Kolbe
autogenerated on Sun Oct 5 2014 23:53:07