foodforthought-cli 0.2.7__tar.gz → 0.2.8__tar.gz
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.
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/PKG-INFO +9 -1
- foodforthought_cli-0.2.8/ate/behaviors/__init__.py +88 -0
- foodforthought_cli-0.2.8/ate/behaviors/common.py +686 -0
- foodforthought_cli-0.2.8/ate/behaviors/tree.py +454 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/cli.py +610 -54
- foodforthought_cli-0.2.8/ate/drivers/__init__.py +27 -0
- foodforthought_cli-0.2.8/ate/drivers/mechdog.py +606 -0
- foodforthought_cli-0.2.8/ate/interfaces/__init__.py +171 -0
- foodforthought_cli-0.2.8/ate/interfaces/base.py +271 -0
- foodforthought_cli-0.2.8/ate/interfaces/body.py +267 -0
- foodforthought_cli-0.2.8/ate/interfaces/detection.py +282 -0
- foodforthought_cli-0.2.8/ate/interfaces/locomotion.py +422 -0
- foodforthought_cli-0.2.8/ate/interfaces/manipulation.py +408 -0
- foodforthought_cli-0.2.8/ate/interfaces/navigation.py +389 -0
- foodforthought_cli-0.2.8/ate/interfaces/perception.py +362 -0
- foodforthought_cli-0.2.8/ate/interfaces/types.py +371 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/mcp_server.py +387 -0
- foodforthought_cli-0.2.8/ate/recording/__init__.py +44 -0
- foodforthought_cli-0.2.8/ate/recording/demonstration.py +378 -0
- foodforthought_cli-0.2.8/ate/recording/session.py +405 -0
- foodforthought_cli-0.2.8/ate/recording/upload.py +304 -0
- foodforthought_cli-0.2.8/ate/recording/wrapper.py +95 -0
- foodforthought_cli-0.2.8/ate/robot/__init__.py +79 -0
- foodforthought_cli-0.2.8/ate/robot/calibration.py +583 -0
- foodforthought_cli-0.2.8/ate/robot/commands.py +3603 -0
- foodforthought_cli-0.2.8/ate/robot/discovery.py +339 -0
- foodforthought_cli-0.2.8/ate/robot/introspection.py +330 -0
- foodforthought_cli-0.2.8/ate/robot/manager.py +270 -0
- foodforthought_cli-0.2.8/ate/robot/profiles.py +275 -0
- foodforthought_cli-0.2.8/ate/robot/registry.py +319 -0
- foodforthought_cli-0.2.8/ate/robot/skill_upload.py +393 -0
- foodforthought_cli-0.2.8/ate/robot/visual_labeler.py +1039 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/foodforthought_cli.egg-info/PKG-INFO +9 -1
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/foodforthought_cli.egg-info/SOURCES.txt +29 -0
- foodforthought_cli-0.2.8/foodforthought_cli.egg-info/requires.txt +19 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/setup.py +11 -1
- foodforthought_cli-0.2.7/foodforthought_cli.egg-info/requires.txt +0 -9
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/README.md +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/__init__.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/bridge_server.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/compatibility.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/generator.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/generators/__init__.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/generators/docker_generator.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/generators/hardware_config.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/generators/ros2_generator.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/generators/skill_generator.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/marketplace.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/primitives.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/robot_setup.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/skill_schema.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/telemetry/__init__.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/telemetry/cli.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/telemetry/collector.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/telemetry/context.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/telemetry/fleet_agent.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/telemetry/formats/__init__.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/telemetry/formats/hdf5_serializer.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/telemetry/formats/mcap_serializer.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/ate/telemetry/types.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/foodforthought_cli.egg-info/dependency_links.txt +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/foodforthought_cli.egg-info/entry_points.txt +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/foodforthought_cli.egg-info/top_level.txt +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/mechdog_labeled/__init__.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/mechdog_labeled/primitives.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/mechdog_labeled/servo_map.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/mechdog_output/__init__.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/mechdog_output/primitives.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/mechdog_output/servo_map.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/setup.cfg +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/test_autodetect/__init__.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/test_autodetect/primitives.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/test_autodetect/servo_map.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/test_full_auto/__init__.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/test_full_auto/primitives.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/test_full_auto/servo_map.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/test_smart_detect/__init__.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/test_smart_detect/primitives.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/test_smart_detect/servo_map.py +0 -0
- {foodforthought_cli-0.2.7 → foodforthought_cli-0.2.8}/tests/test_auth.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: foodforthought-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.8
|
|
4
4
|
Summary: CLI tool for FoodforThought robotics repository platform - manage robot skills and data
|
|
5
5
|
Home-page: https://kindly.fyi/foodforthought
|
|
6
6
|
Author: Kindly Robotics
|
|
@@ -28,9 +28,17 @@ Requires-Dist: requests>=2.28.0
|
|
|
28
28
|
Provides-Extra: robot-setup
|
|
29
29
|
Requires-Dist: pyserial>=3.5; extra == "robot-setup"
|
|
30
30
|
Requires-Dist: anthropic>=0.18.0; extra == "robot-setup"
|
|
31
|
+
Provides-Extra: detection
|
|
32
|
+
Requires-Dist: Pillow>=9.0.0; extra == "detection"
|
|
33
|
+
Provides-Extra: visual-labeling
|
|
34
|
+
Requires-Dist: pyserial>=3.5; extra == "visual-labeling"
|
|
35
|
+
Requires-Dist: opencv-python>=4.5.0; extra == "visual-labeling"
|
|
36
|
+
Requires-Dist: Pillow>=9.0.0; extra == "visual-labeling"
|
|
31
37
|
Provides-Extra: all
|
|
32
38
|
Requires-Dist: pyserial>=3.5; extra == "all"
|
|
33
39
|
Requires-Dist: anthropic>=0.18.0; extra == "all"
|
|
40
|
+
Requires-Dist: Pillow>=9.0.0; extra == "all"
|
|
41
|
+
Requires-Dist: opencv-python>=4.5.0; extra == "all"
|
|
34
42
|
Dynamic: author
|
|
35
43
|
Dynamic: author-email
|
|
36
44
|
Dynamic: classifier
|
|
@@ -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
|
+
]
|