Public Member Functions | Private Member Functions | Private Attributes
flexbe_states.subscriber_state.SubscriberState Class Reference
Inheritance diagram for flexbe_states.subscriber_state.SubscriberState:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def execute
def on_enter

Private Member Functions

def _get_msg_from_path

Private Attributes

 _blocking
 _clear
 _connected
 _sub
 _topic

Detailed Description

Gets the latest message on the given topic and stores it to userdata.

-- topic 		string		The topic on which should be listened.
-- blocking 	bool 		Blocks until a message is received.
-- clear 		bool 		Drops last message on this topic on enter
                                                        in order to only handle message received since this state is active.

#> message		object		Latest message on the given topic of the respective type.

<= received 				Message has been received and stored in userdata or state is not blocking.
<= unavailable 				The topic is not available when this state becomes actives.

Definition at line 15 of file subscriber_state.py.


Constructor & Destructor Documentation

def flexbe_states.subscriber_state.SubscriberState.__init__ (   self,
  topic,
  blocking = True,
  clear = False 
)
Constructor

Definition at line 32 of file subscriber_state.py.


Member Function Documentation

Definition at line 83 of file subscriber_state.py.

Execute this state

Definition at line 54 of file subscriber_state.py.

Definition at line 68 of file subscriber_state.py.


Member Data Documentation

Definition at line 34 of file subscriber_state.py.

Definition at line 34 of file subscriber_state.py.

Definition at line 34 of file subscriber_state.py.

Definition at line 34 of file subscriber_state.py.

Definition at line 34 of file subscriber_state.py.


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


flexbe_states
Author(s): Philipp Schillinger
autogenerated on Thu Jun 6 2019 19:32:33