Public Member Functions | Static Public Attributes | Private Attributes | List of all members
flexbe_states.input_state.InputState Class Reference
Inheritance diagram for flexbe_states.input_state.InputState:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, request, message)
 
def execute (self, userdata)
 
def on_enter (self, userdata)
 

Static Public Attributes

 FOOTSTEP_PLAN_HEADER = BehaviorInputGoal.FOOTSTEP_PLAN_HEADER
 
 GHOST_JOINT_STATES = BehaviorInputGoal.GHOST_JOINT_STATES
 
 POINT_LOCATION = BehaviorInputGoal.POINT_LOCATION
 
 SELECTED_OBJECT_ID = BehaviorInputGoal.SELECTED_OBJECT_ID
 
 WAYPOINT_GOAL_POSE = BehaviorInputGoal.WAYPOINT_GOAL_POSE
 

Private Attributes

 _action_topic
 
 _client
 
 _connected
 
 _message
 
 _received
 
 _request
 

Detailed Description

Implements a state where the state machine needs an input from the operator.
Requests of different types, such as requesting a waypoint, a template, or a pose, can be specified.

-- request      uint8           One of the class constants to specify the type of request.
-- message      string          Message displayed to the operator to let him know what to do.

#> data         object          The data provided by the operator. The exact type depends on the request.

<= received                     Returned as soon as valid data is available.
<= aborted                              The operator declined to provide the requested data.
<= no_connection                No request could be sent to the operator.
<= data_error                   Data has been received, but could not be deserialized successfully.

Definition at line 17 of file input_state.py.

Constructor & Destructor Documentation

def flexbe_states.input_state.InputState.__init__ (   self,
  request,
  message 
)
Constructor

Definition at line 41 of file input_state.py.

Member Function Documentation

def flexbe_states.input_state.InputState.execute (   self,
  userdata 
)
Execute this state

Definition at line 58 of file input_state.py.

def flexbe_states.input_state.InputState.on_enter (   self,
  userdata 
)

Definition at line 90 of file input_state.py.

Member Data Documentation

flexbe_states.input_state.InputState._action_topic
private

Definition at line 48 of file input_state.py.

flexbe_states.input_state.InputState._client
private

Definition at line 50 of file input_state.py.

flexbe_states.input_state.InputState._connected
private

Definition at line 54 of file input_state.py.

flexbe_states.input_state.InputState._message
private

Definition at line 53 of file input_state.py.

flexbe_states.input_state.InputState._received
private

Definition at line 55 of file input_state.py.

flexbe_states.input_state.InputState._request
private

Definition at line 52 of file input_state.py.

flexbe_states.input_state.InputState.FOOTSTEP_PLAN_HEADER = BehaviorInputGoal.FOOTSTEP_PLAN_HEADER
static

Definition at line 38 of file input_state.py.

flexbe_states.input_state.InputState.GHOST_JOINT_STATES = BehaviorInputGoal.GHOST_JOINT_STATES
static

Definition at line 37 of file input_state.py.

flexbe_states.input_state.InputState.POINT_LOCATION = BehaviorInputGoal.POINT_LOCATION
static

Definition at line 34 of file input_state.py.

flexbe_states.input_state.InputState.SELECTED_OBJECT_ID = BehaviorInputGoal.SELECTED_OBJECT_ID
static

Definition at line 35 of file input_state.py.

flexbe_states.input_state.InputState.WAYPOINT_GOAL_POSE = BehaviorInputGoal.WAYPOINT_GOAL_POSE
static

Definition at line 36 of file input_state.py.


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


flexbe_states
Author(s): Philipp Schillinger
autogenerated on Wed Jun 5 2019 21:52:08