splintered-reality / py_trees

Python implementation of behaviour trees.
Other
415 stars 139 forks source link

py_trees Parallel is not work what I expected #439

Open sudalsol opened 3 months ago

sudalsol commented 3 months ago

https://github.com/splintered-reality/py_trees/blob/devel/py_trees/composites.py#L778

        # clean up dangling (running) children
        for child in self.children:
            if child.status == common.Status.RUNNING:
                # this unfortunately knocks out it's running status for introspection
                # but logically is the correct thing to do, see #132.
                child.stop(common.Status.INVALID)
        Composite.stop(self, new_status)

"behavior.terminate() called twice in Parallel's children when Parallel decorator is stopped" is known issue?