Public Member Functions | Private Member Functions | Private Attributes
rgoap_ros.runner.SMACHRunner Class Reference
Inheritance diagram for rgoap_ros.runner.SMACHRunner:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def execute
def execute_as_smach
def plan
def plan_and_execute_goals
def preempt_requested
def request_preempt
def service_preempt

Private Member Functions

def _setup_introspection

Private Attributes

 _current_smach
 _introspector

Detailed Description

This Runner subclass uses SMACH instead of the rgoap.PlanExecutor to
execute an RGOAP plan.

If enabled the smach viewer can be used for introspection.

Definition at line 72 of file runner.py.


Constructor & Destructor Documentation

def rgoap_ros.runner.SMACHRunner.__init__ (   self,
  args,
  kwargs 
)

Definition at line 80 of file runner.py.


Member Function Documentation

Definition at line 87 of file runner.py.

def rgoap_ros.runner.SMACHRunner.execute (   self,
  start_node,
  introspection = False 
)

Definition at line 139 of file runner.py.

def rgoap_ros.runner.SMACHRunner.execute_as_smach (   self,
  start_node,
  introspection = False 
)

Definition at line 143 of file runner.py.

def rgoap_ros.runner.SMACHRunner.plan (   self,
  goal,
  introspection = False 
)
plan for given goal and return start_node of plan or None

introspection: introspect RGOAP planning via smach.introspection

Definition at line 115 of file runner.py.

Sort goals by usability and try to plan and execute one by one until
one goal is achieved

Definition at line 132 of file runner.py.

Definition at line 104 of file runner.py.

Definition at line 99 of file runner.py.

Definition at line 109 of file runner.py.


Member Data Documentation

Definition at line 80 of file runner.py.

Definition at line 80 of file runner.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