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

Public Member Functions

def __init__ (self, args, kwargs)
 
- Public Member Functions inherited from flexbe_core.core.preemptable_state.PreemptableState
def __init__ (self, args, kwargs)
 
- Public Member Functions inherited from flexbe_core.core.loopback_state.LoopbackState
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.monitoring_state.MonitoringState
def __init__ (self, args, kwargs)
 
def force_monitoring (self)
 
def monitor (self, key, outcome=None)
 

Public Attributes

 autonomy
 
 execute
 
 transitions
 
- Public Attributes inherited from flexbe_core.core.preemptable_state.PreemptableState
 execute
 
- Public Attributes inherited from flexbe_core.core.loopback_state.LoopbackState
 execute
 
- Public Attributes inherited from flexbe_core.core.lockable_state.LockableState
 execute
 
- Public Attributes inherited from flexbe_core.core.manually_transitionable_state.ManuallyTransitionableState
 execute
 
- Public Attributes inherited from flexbe_core.core.monitoring_state.MonitoringState
 execute
 
 name
 

Private Member Functions

def _build_msg (self, prefix, msg)
 
def _enable_ros_control (self)
 
def _notify_skipped (self)
 
def _operatable_execute (self, args, kwargs)
 

Private Attributes

 __execute
 
 _debug_topic
 
 _force_transition
 
 _mute
 
 _outcome_topic
 
 _pub
 
 _request_topic
 
 _sent_outcome_requests
 

Additional Inherited Members

- Static Public Attributes inherited from flexbe_core.core.preemptable_state.PreemptableState
bool preempt = False
 
bool switching = False
 

Detailed Description

A state that supports autonomy levels and silent mode.
Also, it allows being tracked by a GUI or anything else
as it reports each transition and its initial structure.
An additional method is provided to report custom status messages to the widget.

Definition at line 14 of file operatable_state.py.

Constructor & Destructor Documentation

def flexbe_core.core.operatable_state.OperatableState.__init__ (   self,
  args,
  kwargs 
)

Definition at line 22 of file operatable_state.py.

Member Function Documentation

def flexbe_core.core.operatable_state.OperatableState._build_msg (   self,
  prefix,
  msg 
)
private
Adds this state to the initial structure message.

@type prefix: string
@param prefix: A path consisting of the container hierarchy containing this state.

@type msg: ContainerStructure
@param msg: The message that will finally contain the structure message.

Definition at line 39 of file operatable_state.py.

def flexbe_core.core.operatable_state.OperatableState._enable_ros_control (   self)
private

Definition at line 106 of file operatable_state.py.

def flexbe_core.core.operatable_state.OperatableState._notify_skipped (   self)
private

Definition at line 102 of file operatable_state.py.

def flexbe_core.core.operatable_state.OperatableState._operatable_execute (   self,
  args,
  kwargs 
)
private

Definition at line 75 of file operatable_state.py.

Member Data Documentation

flexbe_core.core.operatable_state.OperatableState.__execute
private

Definition at line 35 of file operatable_state.py.

flexbe_core.core.operatable_state.OperatableState._debug_topic
private

Definition at line 32 of file operatable_state.py.

flexbe_core.core.operatable_state.OperatableState._force_transition
private

Definition at line 98 of file operatable_state.py.

flexbe_core.core.operatable_state.OperatableState._mute
private

Definition at line 27 of file operatable_state.py.

flexbe_core.core.operatable_state.OperatableState._outcome_topic
private

Definition at line 30 of file operatable_state.py.

flexbe_core.core.operatable_state.OperatableState._pub
private

Definition at line 33 of file operatable_state.py.

flexbe_core.core.operatable_state.OperatableState._request_topic
private

Definition at line 31 of file operatable_state.py.

flexbe_core.core.operatable_state.OperatableState._sent_outcome_requests
private

Definition at line 28 of file operatable_state.py.

flexbe_core.core.operatable_state.OperatableState.autonomy

Definition at line 25 of file operatable_state.py.

flexbe_core.core.operatable_state.OperatableState.execute

Definition at line 36 of file operatable_state.py.

flexbe_core.core.operatable_state.OperatableState.transitions

Definition at line 24 of file operatable_state.py.


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


flexbe_core
Author(s): Philipp Schillinger
autogenerated on Wed Jun 5 2019 21:51:59