6 import vigir_footstep_planning_msgs.msg
8 from vigir_footstep_planning_msgs.msg
import ErrorStatus, ExecuteStepPlanFeedback
13 error_status = ErrorStatus()
16 error_status.error = error
17 error_status.error_msg =
"[Error] " + error_msg
20 warning_status.warning = warning
21 warning_status.warning_msg =
"[Warning] " + warning_msg
27 if state == ExecuteStepPlanFeedback.NOT_READY:
29 elif state == ExecuteStepPlanFeedback.READY:
31 elif state == ExecuteStepPlanFeedback.ACTIVE:
33 elif state == ExecuteStepPlanFeedback.PAUSED:
35 elif state == ExecuteStepPlanFeedback.FINISHED:
37 elif state == ExecuteStepPlanFeedback.FAILED: