robokudo.behaviours.run_until ============================= .. py:module:: robokudo.behaviours.run_until Classes ------- .. autoapisummary:: robokudo.behaviours.run_until.RunUntil Module Contents --------------- .. py:class:: RunUntil(name='RunUntil', wait_seconds: float = 10, reset_on_done: bool = True) Bases: :py:obj:`py_trees.Behaviour` Returns py_trees.Status.RUNNING until wait_seconds is reached starting from the first call to update. If update is called after the Behaviour waited for wait_seconds or longer py_trees.Status.SUCCESS will be returned. If reset_on_done is True this will start over after returning py_trees.Status.SUCCESS once. .. py:attribute:: wait_seconds :value: 10 .. py:attribute:: reset_on_done :value: True .. py:attribute:: waited_seconds :value: 0 .. py:attribute:: last_time :value: None .. py:method:: initialise() -> None .. py:method:: update() -> py_trees.common.Status