Commit 3ccc3fd
committed
Squashed commit of the following:
commit 47f067c
Author: shaur-k <shaurkinthewater@gmail.com>
Date: Thu Jun 19 14:53:45 2025 -0600
feat: clean up old PR for new version of BTCPP
commit 8c6cfac
Author: shaur-k <shaurkinthewater@gmail.com>
Date: Thu Jun 19 13:16:13 2025 -0600
temp
commit 6a6f86e
Merge: 890396c 1b9e0e2
Author: shaur-k <shaurkinthewater@gmail.com>
Date: Thu Jun 19 12:07:36 2025 -0600
Merge branch 'master' into python-bindings
commit 890396c
Author: Kyle Cesare <kcesare@gmail.com>
Date: Tue Sep 5 23:45:06 2023 -0600
Fix setup.py package attributes.
commit fb33788
Author: Kyle Cesare <kcesare@gmail.com>
Date: Tue Sep 5 21:57:19 2023 -0600
Add useful note for ex05 on shared lib location.
commit 632eb66
Author: Kyle Cesare <kcesare@gmail.com>
Date: Tue Sep 5 21:55:52 2023 -0600
Clean up dummy node use in ex05.
commit 1a7ac0a
Author: Kyle Cesare <kcesare@gmail.com>
Date: Tue Sep 5 21:48:23 2023 -0600
Properly specify __all__ for btpy module.
commit b425c91
Author: Kyle Cesare <kcesare@gmail.com>
Date: Mon Sep 4 19:17:31 2023 -0600
Add docs for `JsonExporter::fromJson`.
commit 2584aec
Author: Kyle Cesare <kcesare@gmail.com>
Date: Mon Sep 4 19:03:16 2023 -0600
Add default impl of AsyncActionNode#on_halted
commit 04f435d
Author: Kyle Cesare <kcesare@gmail.com>
Date: Mon Sep 4 19:03:07 2023 -0600
Add `halt_tree` binding and use in demo
commit 535ea88
Author: Kyle Cesare <kcesare@gmail.com>
Date: Mon Sep 4 18:56:14 2023 -0600
Improve python example README
commit 93b58c3
Author: Kyle Cesare <kcesare@gmail.com>
Date: Mon Sep 4 18:56:08 2023 -0600
Formatting.
commit 0ee0a20
Author: Kyle Cesare <kcesare@gmail.com>
Date: Mon Sep 4 18:55:57 2023 -0600
Fix some string-embedded XML indentation.
commit 0786475
Author: Kyle Cesare <kcesare@gmail.com>
Date: Mon Sep 4 18:54:11 2023 -0600
Don't make Py_StatefulActionNode final.
commit 4ad738c
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Sep 3 19:16:29 2023 -0600
Add some docs to Python ex06.
commit 84ae12d
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Sep 3 19:04:27 2023 -0600
Add some type hints to the Python code
commit 46929a8
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Sep 3 12:31:00 2023 -0600
Move Python-related source files into subdirectory.
commit 9d8db3c
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Sep 3 11:57:13 2023 -0600
Clean up Python example XMLs.
commit ee7f464
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sat Sep 2 11:08:42 2023 -0600
Modify py::type argument to support older pybind
commit fdc2232
Author: Kyle Cesare <kcesare@gmail.com>
Date: Fri Sep 1 22:18:04 2023 -0600
Add pyproject.toml/setup.py for building wheels.
commit 2c1b18a
Author: Kyle Cesare <kcesare@gmail.com>
Date: Fri Sep 1 21:40:14 2023 -0600
Use docstring as tree node description.
commit 1a69d3a
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sat Aug 26 22:47:56 2023 -0600
Clean up Python ex06.
commit 0e35ac0
Author: Kyle Cesare <kcesare@gmail.com>
Date: Fri Sep 1 19:35:57 2023 -0600
Move some dummy_nodes definitions to cpp file to fix linker error
commit 83caef7
Author: Kyle Cesare <kcesare@gmail.com>
Date: Fri Sep 1 19:35:46 2023 -0600
Add missing pybind11 dependency to package.xml
commit c703efd
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sat Aug 19 19:49:01 2023 -0600
Implement coroutine-based Python nodes.
commit 4448376
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sat Aug 19 19:07:54 2023 -0600
Add pybind11 conan dependency.
commit 21d450e
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sat Aug 19 18:52:52 2023 -0600
Add `BehaviorTreeFactory.register_from_plugin` binding.
commit d1fe0e3
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sat Aug 19 18:52:39 2023 -0600
Implement C++ <-> Python type interop via JSON.
commit cfa553a
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sat Aug 19 12:52:01 2023 -0600
Disable zero variadic arg warning.
commit 7927e67
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sat Aug 19 12:51:44 2023 -0600
Fix onHalted override copy-paste error.
commit 712370b
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Aug 13 12:30:01 2023 -0600
Add useful command for ex04.
commit dc9e953
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Aug 13 12:28:16 2023 -0600
Fix typo in ex04.
commit ed78e84
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Aug 13 12:27:34 2023 -0600
Fix NodeStatus enum value ordering.
commit 2a22fa8
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Aug 13 12:05:05 2023 -0600
Add note about Py_getInput return value.
commit 37ae114
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Aug 13 12:01:52 2023 -0600
Add simple README.
commit adf5cef
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Aug 13 11:56:52 2023 -0600
Add ROS2 interop example.
commit 404a195
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Aug 13 11:56:38 2023 -0600
Add builder args to be passed to node ctors.
commit 9493f10
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Aug 13 11:56:23 2023 -0600
Return None if blackboard value doesn't exist.
commit 6188c21
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Aug 13 11:10:10 2023 -0600
Ignore pycache.
commit b22772e
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Aug 13 10:55:49 2023 -0600
Put generic methods on abstract base class.
commit 17da541
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Aug 13 10:54:59 2023 -0600
Clean up port handling.
commit 4ff5673
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Aug 13 10:54:37 2023 -0600
Export minimal set of identifiers to Python lib.
commit 351c33a
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Aug 13 10:54:25 2023 -0600
Use proper PYBIND11_OVERRIDE macros.
commit 1f9db33
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Aug 13 10:30:18 2023 -0600
Eliminate some code duplication.
commit f560500
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sun Aug 13 00:22:11 2023 -0600
Add stateful action bindings.
commit 9fdcda1
Author: Kyle Cesare <kcesare@gmail.com>
Date: Sat Aug 12 23:09:20 2023 -0600
Implement minimal Python bindings to SyncActionNode1 parent 1b9e0e2 commit 3ccc3fd
File tree
22 files changed
+1288
-2
lines changed- btpy
- include/behaviortree_cpp
- contrib
- python
- python_examples
- sample_nodes
- src/python
22 files changed
+1288
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
145 | 150 | | |
146 | 151 | | |
147 | 152 | | |
| |||
173 | 178 | | |
174 | 179 | | |
175 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
176 | 193 | | |
177 | 194 | | |
178 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
48 | | - | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
| |||
80 | 78 | | |
81 | 79 | | |
82 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
83 | 87 | | |
84 | 88 | | |
85 | 89 | | |
| |||
0 commit comments