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 | |
Definition at line 76 of file common_ros.py.
| 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.
| def rgoap_ros.common_ros.ROSTopicAction.__str__ | ( | self | ) |
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.
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.