py_trees icon indicating copy to clipboard operation
py_trees copied to clipboard

Python implementation of behaviour trees.

Results 57 py_trees issues
Sort by recently updated
recently updated
newest added

Hi, thank you for this library. I wanted to ask if I am using only the core library and not the ROS2 version, is there still a way to visualize...

Pending a decision on sequences w/o memory (see #329), it should be ok to deprecate or remove this idiom as it can easily be instantiated with: ``` [-] Sequence w/o...

type:enhancement
component:idioms

Getting old, tired and it's introducting bugs (see #356). We're on `v1.8.5`. Sphinx is on `v5.x.y`.

type:documentation
component:infra

calling `create_behaviour_from_function` like this: ``` def update(self: py_trees.behaviour.Behaviour) -> py_trees.common.Status: return py_trees.common.Status.SUCCESS return py_trees.meta.create_behaviour_from_function( update )(name='Has More To Do') ``` results in this error from my_py: ` error: Returning Any...

type:bug
component:composites

class Composite should be declared as: ``` class Composite(behaviour.Behaviour): current_child: Optional[Behaviour] ``` otherwise current_child is typed as None according to the Composite.__init__ method.

type:bug
component:composites

Selector's init is currently (2.1.6) typed as: ``` def __init__(self, name="Selector", memory=False, children=None): ``` but should match Sequence and Parallel: ``` def __init__( self, name: str="Selector", memory: bool=True, children: typing.List[behaviour.Behaviour]=None...

type:bug
component:composites

This PR enables "check_untyped_defs" which allows mypy to check functions (defs) that don't have explicit typing in their headers. This found many issues, which I resolved, mostly in good ways,...

This PR makes a few typing-related changes: * enables typing "approximately project wide" - py_trees and tests are checked, setup.py and doc/ is not * Adds Generics to ComparisonExpression (https://github.com/splintered-reality/py_trees/issues/336)...

Wrapping up for 2.2!

type:enhancement
component:infra

Should all be working. * Check classes, tests, documentation exists as desired * Check that #329 is handled satisfactorily * Flip constructor argument defaults to be consistent (maybe)

type:enhancement
component:composites