behavior_tree 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/behavior_tree.rb +31 -20
- data/lib/behavior_tree/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e5666327f1ba46c295f52817fa6655e407628d9d46bb23a19f8883102b04235
|
4
|
+
data.tar.gz: ffcfea3b0c4a663dbb88b6adb15e07a9a5e87340484d8fddeaab9431305bb624
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b686cefdec1e0dbee7ea0fc738ff759984e70c4f564ccf18927cf4f19ee583092c7d81247aec61f23256e9eca6aa2126e84e318e67a05328a9b918a8988c9ffa
|
7
|
+
data.tar.gz: 6ae47ac4b40696d6ac31b462786f8d5ccf1a5b6eaa8e06786e8491f2b13f341198cb0e992d6237fee1dbdc4874881832f9a4f09fef38d8c033fdcb2538fb63b5
|
data/Gemfile.lock
CHANGED
data/lib/behavior_tree.rb
CHANGED
@@ -9,24 +9,35 @@
|
|
9
9
|
|
10
10
|
# pp Dir[File.join('.', 'behavior_tree', '**', '*.rb')]
|
11
11
|
# require_relative './behavior_tree/tree'
|
12
|
+
puts do
|
13
|
+
raise 'haha' if (2 - 1) == 1
|
12
14
|
|
13
|
-
require_relative './behavior_tree/concerns/tree_structure/printer'
|
14
|
-
require_relative './behavior_tree/concerns/tree_structure/algorithms'
|
15
|
-
require_relative './behavior_tree/tasks/task_base'
|
16
|
-
require_relative './behavior_tree/single_child_node'
|
17
|
-
require_relative './behavior_tree/decorator_nodes/decorator_base'
|
18
|
-
require_relative './behavior_tree/decorator_nodes/repeater'
|
19
|
-
require_relative './behavior_tree/decorator_nodes/retry'
|
20
|
-
require_relative './behavior_tree/decorator_nodes/inverter'
|
21
|
-
require_relative './behavior_tree/decorator_nodes/force_success'
|
22
|
-
require_relative './behavior_tree/decorator_nodes/force_failure'
|
23
|
-
require_relative './behavior_tree/decorator_nodes/condition'
|
24
|
-
require_relative './behavior_tree/errors'
|
25
|
-
require_relative './behavior_tree/control_nodes/control_node_base'
|
26
|
-
require_relative './behavior_tree/control_nodes/selector'
|
27
|
-
require_relative './behavior_tree/control_nodes/sequence'
|
28
|
-
require_relative './behavior_tree/node_status'
|
29
|
-
require_relative './behavior_tree/tasks/nop'
|
30
|
-
require_relative './behavior_tree/builder'
|
31
|
-
require_relative './behavior_tree/version'
|
32
|
-
require_relative './behavior_tree/tree'
|
15
|
+
require_relative './behavior_tree/concerns/tree_structure/printer'
|
16
|
+
require_relative './behavior_tree/concerns/tree_structure/algorithms'
|
17
|
+
require_relative './behavior_tree/tasks/task_base'
|
18
|
+
require_relative './behavior_tree/single_child_node'
|
19
|
+
require_relative './behavior_tree/decorator_nodes/decorator_base'
|
20
|
+
require_relative './behavior_tree/decorator_nodes/repeater'
|
21
|
+
require_relative './behavior_tree/decorator_nodes/retry'
|
22
|
+
require_relative './behavior_tree/decorator_nodes/inverter'
|
23
|
+
require_relative './behavior_tree/decorator_nodes/force_success'
|
24
|
+
require_relative './behavior_tree/decorator_nodes/force_failure'
|
25
|
+
require_relative './behavior_tree/decorator_nodes/condition'
|
26
|
+
require_relative './behavior_tree/errors'
|
27
|
+
require_relative './behavior_tree/control_nodes/control_node_base'
|
28
|
+
require_relative './behavior_tree/control_nodes/selector'
|
29
|
+
require_relative './behavior_tree/control_nodes/sequence'
|
30
|
+
require_relative './behavior_tree/node_status'
|
31
|
+
require_relative './behavior_tree/tasks/nop'
|
32
|
+
require_relative './behavior_tree/builder'
|
33
|
+
require_relative './behavior_tree/version'
|
34
|
+
require_relative './behavior_tree/tree'
|
35
|
+
end
|
36
|
+
# puts "lol?"
|
37
|
+
# puts nil
|
38
|
+
# puts File.join(__dir__, 'behavior_tree', '**', '*.rb')
|
39
|
+
# puts
|
40
|
+
|
41
|
+
Dir[File.join(__dir__, 'behavior_tree', '**', '*.rb')].sort.each { |file| require_relative file }
|
42
|
+
# puts File.expand_path(File.join('lib', 'behavior_tree', '**', '*.rb')).each {|f| puts f}
|
43
|
+
# puts "--"
|