robokudo.tree_components.render_dot =================================== .. py:module:: robokudo.tree_components.render_dot Classes ------- .. autoapisummary:: robokudo.tree_components.render_dot.RenderTreeToDot robokudo.tree_components.render_dot.RenderTreeToDotDecorator Functions --------- .. autoapisummary:: robokudo.tree_components.render_dot.create_dir_if_not_exists robokudo.tree_components.render_dot.render_now Module Contents --------------- .. py:function:: create_dir_if_not_exists(path) .. py:function:: render_now(behaviour: py_trees.Behaviour) The rendering method to generate the behaviour tree snapshots on the disk. :param behaviour: A RenderTreeToDot or RenderTreeToDotDecorator instance. .. py:class:: RenderTreeToDot(path=None, suffix='') Bases: :py:obj:`py_trees.Behaviour` .. py:attribute:: path :value: None .. py:attribute:: counter :value: 0 .. py:attribute:: create_dir_for_path :value: True .. py:attribute:: executor .. py:attribute:: suffix :value: '' .. py:method:: update() .. py:class:: RenderTreeToDotDecorator(child=None, path=None, suffix='', trigger_when_status_is=None) Bases: :py:obj:`py_trees.decorators.Decorator` .. py:attribute:: trigger_when_status_is :value: None .. py:attribute:: path :value: None .. py:attribute:: counter :value: 0 .. py:attribute:: create_dir_for_path :value: True .. py:attribute:: executor .. py:attribute:: suffix :value: '' .. py:method:: update()