Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
flexbe_core.core.preemptable_state.PreemptableState Class Reference
Inheritance diagram for flexbe_core.core.preemptable_state.PreemptableState:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, args, kwargs)
 
- Public Member Functions inherited from flexbe_core.core.lockable_state.LockableState
def __init__ (self, args, kwargs)
 
def is_locked (self)
 
- Public Member Functions inherited from flexbe_core.core.manually_transitionable_state.ManuallyTransitionableState
def __init__ (self, args, kwargs)
 
- Public Member Functions inherited from flexbe_core.core.ros_state.RosState
def __init__ (self, args, kwargs)
 
def is_breakpoint (self)
 
def set_rate (self, rate)
 
def sleep (self)
 
def sleep_duration (self)
 
- Public Member Functions inherited from flexbe_core.core.state.State
def __init__ (self, args, kwargs)
 
def execute (self, userdata)
 
def input_keys (self)
 
def name (self)
 
def outcomes (self)
 
def output_keys (self)
 
def parent (self)
 
def path (self)
 
def set_name (self, value)
 
def set_parent (self, value)
 
def sleep (self)
 
def sleep_duration (self)
 

Public Attributes

 execute
 
- Public Attributes inherited from flexbe_core.core.lockable_state.LockableState
 execute
 
- Public Attributes inherited from flexbe_core.core.manually_transitionable_state.ManuallyTransitionableState
 execute
 

Static Public Attributes

bool preempt = False
 

Private Member Functions

def _disable_ros_control (self)
 
def _enable_ros_control (self)
 
def _notify_skipped (self)
 
def _preemptable_execute (self, args, kwargs)
 

Private Attributes

 __execute
 
 _feedback_topic
 
 _force_transition
 
 _preempt_topic
 

Static Private Attributes

string _preempted_name = 'preempted'
 

Detailed Description

A state that can be preempted.
If preempted, the state will not be executed anymore and return the outcome preempted.

Definition at line 10 of file preemptable_state.py.

Constructor & Destructor Documentation

def flexbe_core.core.preemptable_state.PreemptableState.__init__ (   self,
  args,
  kwargs 
)

Definition at line 19 of file preemptable_state.py.

Member Function Documentation

def flexbe_core.core.preemptable_state.PreemptableState._disable_ros_control (   self)
private

Definition at line 57 of file preemptable_state.py.

def flexbe_core.core.preemptable_state.PreemptableState._enable_ros_control (   self)
private

Definition at line 51 of file preemptable_state.py.

def flexbe_core.core.preemptable_state.PreemptableState._notify_skipped (   self)
private

Definition at line 44 of file preemptable_state.py.

def flexbe_core.core.preemptable_state.PreemptableState._preemptable_execute (   self,
  args,
  kwargs 
)
private

Definition at line 29 of file preemptable_state.py.

Member Data Documentation

flexbe_core.core.preemptable_state.PreemptableState.__execute
private

Definition at line 21 of file preemptable_state.py.

flexbe_core.core.preemptable_state.PreemptableState._feedback_topic
private

Definition at line 26 of file preemptable_state.py.

flexbe_core.core.preemptable_state.PreemptableState._force_transition
private

Definition at line 39 of file preemptable_state.py.

flexbe_core.core.preemptable_state.PreemptableState._preempt_topic
private

Definition at line 27 of file preemptable_state.py.

string flexbe_core.core.preemptable_state.PreemptableState._preempted_name = 'preempted'
staticprivate

Definition at line 16 of file preemptable_state.py.

flexbe_core.core.preemptable_state.PreemptableState.execute

Definition at line 22 of file preemptable_state.py.

bool flexbe_core.core.preemptable_state.PreemptableState.preempt = False
static

Definition at line 17 of file preemptable_state.py.


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


flexbe_core
Author(s): Philipp Schillinger
autogenerated on Sun Dec 13 2020 04:01:39