robokudo.behaviours.clear_errors ================================ .. py:module:: robokudo.behaviours.clear_errors .. autoapi-nested-parse:: Error handling behavior for RoboKudo behavior trees. This module provides a behavior that clears error states stored on the behavior tree's blackboard. It is typically used: * At the start of a pipeline to ensure a clean error state * After error recovery to reset error flags * Before starting new processing sequences The behavior integrates with RoboKudo's error handling system to manage error states across the behavior tree. Classes ------- .. autoapisummary:: robokudo.behaviours.clear_errors.ClearErrors Module Contents --------------- .. py:class:: ClearErrors(name='ClearErrors') Bases: :py:obj:`py_trees.behaviour.Behaviour` A behavior that clears error states from the blackboard. This behavior is used to reset error conditions that may have been recorded on the behavior tree's blackboard. It is commonly used: * As part of pipeline initialization * After error recovery sequences * Before starting new processing tasks The behavior always returns SUCCESS after clearing errors. .. py:method:: initialise() Initialize the behavior. This method is called when the behavior is first ticked. No initialization is needed for this behavior. .. py:method:: update() -> py_trees.common.Status Clear any error states from the blackboard. This method: * Calls the error handling utility to clear blackboard exceptions * Always returns SUCCESS since clearing errors cannot fail :return: Always returns SUCCESS :rtype: py_trees.common.Status