Public Member Functions | |
def | __init__ |
Public Attributes | |
execute | |
Static Public Attributes | |
preempt = False | |
switching = False | |
Private Member Functions | |
def | _disable_ros_control |
def | _enable_ros_control |
def | _notify_skipped |
def | _preemptable_execute |
Private Attributes | |
__execute | |
_feedback_topic | |
_force_transition | |
_preempt_topic | |
_pub | |
_sub | |
Static Private Attributes | |
string | _preempted_name = 'preempted' |
A state that can be preempted. If preempted, the state will not be executed anymore and return the outcome preempted.
Definition at line 11 of file preemptable_state.py.
def flexbe_core.core.preemptable_state.PreemptableState.__init__ | ( | self, | |
args, | |||
kwargs | |||
) |
Reimplemented from flexbe_core.core.loopback_state.LoopbackState.
Reimplemented in flexbe_core.core.operatable_state.OperatableState, and flexbe_core.core.event_state.EventState.
Definition at line 21 of file preemptable_state.py.
def flexbe_core.core.preemptable_state.PreemptableState._disable_ros_control | ( | self | ) | [private] |
Reimplemented from flexbe_core.core.lockable_state.LockableState.
Reimplemented in flexbe_core.core.concurrency_container.ConcurrencyContainer, and flexbe_core.core.event_state.EventState.
Definition at line 79 of file preemptable_state.py.
def flexbe_core.core.preemptable_state.PreemptableState._enable_ros_control | ( | self | ) | [private] |
Reimplemented from flexbe_core.core.lockable_state.LockableState.
Reimplemented in flexbe_core.core.concurrency_container.ConcurrencyContainer, flexbe_core.core.operatable_state.OperatableState, and flexbe_core.core.event_state.EventState.
Definition at line 73 of file preemptable_state.py.
def flexbe_core.core.preemptable_state.PreemptableState._notify_skipped | ( | self | ) | [private] |
Reimplemented in flexbe_core.core.operatable_state.OperatableState, and flexbe_core.core.event_state.EventState.
Definition at line 65 of file preemptable_state.py.
def flexbe_core.core.preemptable_state.PreemptableState._preemptable_execute | ( | self, | |
args, | |||
kwargs | |||
) | [private] |
Definition at line 44 of file preemptable_state.py.
Reimplemented from flexbe_core.core.loopback_state.LoopbackState.
Reimplemented in flexbe_core.core.operatable_state.OperatableState, flexbe_core.core.concurrency_container.ConcurrencyContainer, and flexbe_core.core.event_state.EventState.
Definition at line 21 of file preemptable_state.py.
Reimplemented from flexbe_core.core.lockable_state.LockableState.
Reimplemented in flexbe_core.core.event_state.EventState.
Definition at line 21 of file preemptable_state.py.
Reimplemented from flexbe_core.core.manually_transitionable_state.ManuallyTransitionableState.
Reimplemented in flexbe_core.core.operatable_state.OperatableState.
Definition at line 44 of file preemptable_state.py.
Definition at line 21 of file preemptable_state.py.
string flexbe_core::core::preemptable_state.PreemptableState::_preempted_name = 'preempted' [static, private] |
Definition at line 17 of file preemptable_state.py.
Reimplemented from flexbe_core.core.lockable_state.LockableState.
Reimplemented in flexbe_core.core.operatable_state.OperatableState, and flexbe_core.core.event_state.EventState.
Definition at line 21 of file preemptable_state.py.
Reimplemented from flexbe_core.core.lockable_state.LockableState.
Reimplemented in flexbe_core.core.event_state.EventState.
Definition at line 21 of file preemptable_state.py.
Reimplemented from flexbe_core.core.loopback_state.LoopbackState.
Reimplemented in flexbe_core.core.operatable_state.OperatableState, flexbe_core.core.concurrency_container.ConcurrencyContainer, and flexbe_core.core.event_state.EventState.
Definition at line 21 of file preemptable_state.py.
flexbe_core::core::preemptable_state.PreemptableState::preempt = False [static] |
Definition at line 18 of file preemptable_state.py.
flexbe_core::core::preemptable_state.PreemptableState::switching = False [static] |
Definition at line 19 of file preemptable_state.py.