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

Public Member Functions

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.manually_transitionable_state.ManuallyTransitionableState
 execute
 

Private Member Functions

def _disable_ros_control (self)
 
def _enable_ros_control (self)
 
def _execute_lock (self, target)
 
def _execute_unlock (self, target)
 
def _lockable_execute (self, args, kwargs)
 

Private Attributes

 __execute
 
 _feedback_topic
 
 _lock_topic
 
 _locked
 
 _stored_outcome
 
 _unlock_topic
 

Detailed Description

A state that can be locked.
When locked, no transition can be done regardless of the resulting outcome.
However, if any outcome would be triggered, the outcome will be stored
and the state won't be executed anymore until it is unlocked and the stored outcome is set.

Definition at line 10 of file lockable_state.py.

Constructor & Destructor Documentation

def flexbe_core.core.lockable_state.LockableState.__init__ (   self,
  args,
  kwargs 
)

Definition at line 18 of file lockable_state.py.

Member Function Documentation

def flexbe_core.core.lockable_state.LockableState._disable_ros_control (   self)
private

Definition at line 104 of file lockable_state.py.

def flexbe_core.core.lockable_state.LockableState._enable_ros_control (   self)
private

Definition at line 98 of file lockable_state.py.

def flexbe_core.core.lockable_state.LockableState._execute_lock (   self,
  target 
)
private

Definition at line 68 of file lockable_state.py.

def flexbe_core.core.lockable_state.LockableState._execute_unlock (   self,
  target 
)
private

Definition at line 83 of file lockable_state.py.

def flexbe_core.core.lockable_state.LockableState._lockable_execute (   self,
  args,
  kwargs 
)
private

Definition at line 30 of file lockable_state.py.

def flexbe_core.core.lockable_state.LockableState.is_locked (   self)

Definition at line 109 of file lockable_state.py.

Member Data Documentation

flexbe_core.core.lockable_state.LockableState.__execute
private

Definition at line 20 of file lockable_state.py.

flexbe_core.core.lockable_state.LockableState._feedback_topic
private

Definition at line 26 of file lockable_state.py.

flexbe_core.core.lockable_state.LockableState._lock_topic
private

Definition at line 27 of file lockable_state.py.

flexbe_core.core.lockable_state.LockableState._locked
private

Definition at line 23 of file lockable_state.py.

flexbe_core.core.lockable_state.LockableState._stored_outcome
private

Definition at line 24 of file lockable_state.py.

flexbe_core.core.lockable_state.LockableState._unlock_topic
private

Definition at line 28 of file lockable_state.py.

flexbe_core.core.lockable_state.LockableState.execute

Definition at line 21 of file lockable_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