foodforthought-cli 0.2.7__py3-none-any.whl → 0.2.8__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,88 @@
1
+ """
2
+ Behavior Tree framework for composing robot skills.
3
+
4
+ Behavior trees allow complex behaviors to be built from simple skills
5
+ using a tree structure of:
6
+ - Sequences (do A, then B, then C)
7
+ - Selectors (try A, if fails try B)
8
+ - Conditions (if X is true...)
9
+ - Actions (do X)
10
+
11
+ This is how we turn small demos into valuable composite behaviors.
12
+ """
13
+
14
+ from .tree import (
15
+ BehaviorNode,
16
+ BehaviorStatus,
17
+ Sequence,
18
+ Selector,
19
+ Parallel,
20
+ Action,
21
+ Condition,
22
+ Inverter,
23
+ Succeeder,
24
+ Repeater,
25
+ RepeatUntilFail,
26
+ BehaviorTree,
27
+ )
28
+
29
+ from .common import (
30
+ # Navigation
31
+ NavigateToPoint,
32
+ NavigateToPose,
33
+ Patrol,
34
+ ReturnHome,
35
+ # Detection
36
+ DetectObject,
37
+ IsObjectVisible,
38
+ FindNearest,
39
+ ApproachObject,
40
+ # Manipulation
41
+ PickUp,
42
+ PlaceAt,
43
+ DropInBin,
44
+ # Conditions
45
+ IsBatteryLow,
46
+ IsPathClear,
47
+ HasObject,
48
+ # Composite behaviors
49
+ PatrolAndCleanup,
50
+ SearchAndRetrieve,
51
+ )
52
+
53
+ __all__ = [
54
+ # Core tree nodes
55
+ "BehaviorNode",
56
+ "BehaviorStatus",
57
+ "Sequence",
58
+ "Selector",
59
+ "Parallel",
60
+ "Action",
61
+ "Condition",
62
+ "Inverter",
63
+ "Succeeder",
64
+ "Repeater",
65
+ "RepeatUntilFail",
66
+ "BehaviorTree",
67
+ # Navigation actions
68
+ "NavigateToPoint",
69
+ "NavigateToPose",
70
+ "Patrol",
71
+ "ReturnHome",
72
+ # Detection actions
73
+ "DetectObject",
74
+ "IsObjectVisible",
75
+ "FindNearest",
76
+ "ApproachObject",
77
+ # Manipulation actions
78
+ "PickUp",
79
+ "PlaceAt",
80
+ "DropInBin",
81
+ # Conditions
82
+ "IsBatteryLow",
83
+ "IsPathClear",
84
+ "HasObject",
85
+ # Composite behaviors
86
+ "PatrolAndCleanup",
87
+ "SearchAndRetrieve",
88
+ ]