intrinsic.solutions.behavior_tree.Not
![]() View source on GitHub |
A BT condition of type Not.
Inherits From: Condition
intrinsic.solutions.behavior_tree.Not(
condition: 'Condition'
)
Negates a condition.
Attributes | |
|---|---|
The proto representation of the node. | |
A string label of the condition type. | |
The condition to negate. | |
Methods
create_from_proto
View source
@classmethodcreate_from_proto( proto_object: behavior_tree_pb2.BehaviorTree.Condition ) -> 'Condition'
Instantiates a Condition instance from a proto.
visit
View source
visit(
containing_tree: 'BehaviorTree',
callback: Callable[['BehaviorTree', Union['BehaviorTree', 'Node', 'Condition']], None]
) -> None