2 from flexbe_core
import EventState, Logger
7 A state that can log a predefined message to precisely inform the operator 8 about what happened to the behavior. 10 -- text string The message to be logged to the terminal. 11 -- severity uint8 Type of logging (Logger.REPORT_INFO / WARN / HINT / ERROR) 13 <= done Indicates that the message has been logged. 16 def __init__(self, text, severity=Logger.REPORT_HINT):
17 super(LogState, self).
__init__(outcomes=[
'done'])
26 '''Log upon entering the state.'''
def execute(self, userdata)
def on_enter(self, userdata)
def __init__(self, text, severity=Logger.REPORT_HINT)