flexbe_states.log_state module
- class flexbe_states.log_state.LogState(*args: Any, **kwargs: Any)
Bases:
EventState
A state that can log a predefined message.
Can be used to precisely inform the operator about what happened to the behavior.
– text string The message to be logged to the terminal. – severity uint8 Type of logging (Logger.REPORT_INFO / WARN / HINT / ERROR)
<= done Indicates that the message has been logged.
- execute(userdata)
- on_enter(userdata)
Log upon entering the state.