flexbe_core.core.state module

Basic FlexBE State.

class flexbe_core.core.state.State(*args, **kwargs)

Bases: object

Basic FlexBE State.

execute(userdata)

Execute this state.

property input_keys

Return input userdata keys.

property name

Return state name.

property outcomes

Return possible outcomes.

property output_keys

Return output userdata keys.

property parent

Get parent state.

property path

Return path from root state machine.

set_name(value)

Set the name of this state.

set_parent(value)

Set parent of this state.

property sleep_duration

Return desired sleep duration.

property state_id

Return state id (hash code).

property type

Return state type.